summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/camerabin/camerabinrecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinrecorder.h')
-rw-r--r--src/plugins/gstreamer/camerabin/camerabinrecorder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/gstreamer/camerabin/camerabinrecorder.h b/src/plugins/gstreamer/camerabin/camerabinrecorder.h
index 959155520..ce0e85d40 100644
--- a/src/plugins/gstreamer/camerabin/camerabinrecorder.h
+++ b/src/plugins/gstreamer/camerabin/camerabinrecorder.h
@@ -37,7 +37,10 @@
#include <qmediarecordercontrol.h>
#include "camerabinsession.h"
+
+#ifdef HAVE_GST_ENCODING_PROFILES
#include <gst/pbutils/encoding-profile.h>
+#endif
QT_BEGIN_NAMESPACE
@@ -61,7 +64,10 @@ public:
qreal volume() const;
void applySettings();
+
+#ifdef HAVE_GST_ENCODING_PROFILES
GstEncodingContainerProfile *videoProfile();
+#endif
public slots:
void setState(QMediaRecorder::State state);