summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/camerabin/camerabinsession.h
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den.exter@jollamobile.com>2013-12-10 17:20:59 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-17 13:03:49 +0100
commitdda1bb47163a39e07ba559d16684b9891193cc85 (patch)
tree5965b1904f5a0172cd19f7681777b152a3b76bf1 /src/plugins/gstreamer/camerabin/camerabinsession.h
parent4565cf26af8131a5c060598fd22e597f8aa9ba5d (diff)
Fix incorrect/missing application of recording settings in camerabin.
Don't set profiles if no settings are specified. Apply all settings before starting a pipeline as the mode can switch without being restarted and incompatible video recording settings can prevent the pipeline starting even in image capture mode. Set audio encoding settings and encoder profiles if they are supplied. Change-Id: I06febf977c2cae306383f9dbaae0f81f531b4757 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/plugins/gstreamer/camerabin/camerabinsession.h')
-rw-r--r--src/plugins/gstreamer/camerabin/camerabinsession.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gstreamer/camerabin/camerabinsession.h b/src/plugins/gstreamer/camerabin/camerabinsession.h
index fe419c120..3332f4c78 100644
--- a/src/plugins/gstreamer/camerabin/camerabinsession.h
+++ b/src/plugins/gstreamer/camerabin/camerabinsession.h
@@ -193,6 +193,7 @@ private slots:
private:
bool setupCameraBin();
void setupCaptureResolution();
+ void setAudioCaptureCaps();
static void updateBusyStatus(GObject *o, GParamSpec *p, gpointer d);
QUrl m_sink;