diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-11-21 10:44:47 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2017-02-27 10:30:55 +0000 |
commit | 95de9e6154d75688e81a3b79007dfe6c56d3b65b (patch) | |
tree | a9effd19086e8b29651414fd657d963e8de47cba /src/plugins/gstreamer/camerabin/camerabinrecorder.h | |
parent | 8d0e08e96ffd8cd78fbb4a01f250dfb46117c636 (diff) |
Use QT_CONFIG macro to check for features
And remove many custom defines.
Change-Id: I658cc8430d1d99ed3c0aafe03a77adce76621a29
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinrecorder.h')
-rw-r--r-- | src/plugins/gstreamer/camerabin/camerabinrecorder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/gstreamer/camerabin/camerabinrecorder.h b/src/plugins/gstreamer/camerabin/camerabinrecorder.h index c5280ebd7..86aa2fb94 100644 --- a/src/plugins/gstreamer/camerabin/camerabinrecorder.h +++ b/src/plugins/gstreamer/camerabin/camerabinrecorder.h @@ -41,10 +41,11 @@ #ifndef CAMERABINRECORDERCONTROL_H #define CAMERABINRECORDERCONTROL_H +#include <QtMultimedia/private/qtmultimediaglobal_p.h> #include <qmediarecordercontrol.h> #include "camerabinsession.h" -#ifdef HAVE_GST_ENCODING_PROFILES +#if QT_CONFIG(gstreamer_encodingprofiles) #include <gst/pbutils/encoding-profile.h> #endif @@ -71,7 +72,7 @@ public: void applySettings(); -#ifdef HAVE_GST_ENCODING_PROFILES +#if QT_CONFIG(gstreamer_encodingprofiles) GstEncodingContainerProfile *videoProfile(); #endif |