summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2012-07-16 10:55:20 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-16 07:18:12 +0200
commitb6a8c713bcc0b0cc032fdbf909143f3ba8ca15a6 (patch)
tree8538a615fa11b5119199fdd77e31296fcf466b25 /src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp
parentfdc197d61402837b23ce5c1cfe3a56cf0fa9aafe (diff)
Updated the camerabin2 based camera with QtMultimedia changes
Moved it to the separate plugin as the rest of gstreamer based services; Updated with libqgsttools_p changes; Implemented QMediaRecorder::status property; Made gst_photography dependency optional, it's not always available on desktop; Added video recording case to auto integration test; Moved backend implementation into qt namespace Task-number: QTBUG-26046 Change-Id: Iacfc1a6e263a4c0201d5eb28d04c960b87a230c0 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp')
-rw-r--r--src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp b/src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp
index c7bb47c55..085b9a13c 100644
--- a/src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp
+++ b/src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp
@@ -45,6 +45,8 @@
#include <QtCore/qdebug.h>
+QT_BEGIN_NAMESPACE
+
CameraBinVideoEncoder::CameraBinVideoEncoder(CameraBinSession *session)
:QVideoEncoderSettingsControl(session),
m_session(session),
@@ -164,3 +166,5 @@ GstEncodingProfile *CameraBinVideoEncoder::createProfile()
NULL, //restriction
0); //presence
}
+
+QT_END_NAMESPACE