Fix incorrect/missing application of recording settings in camerabin.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Tue, 10 Dec 2013 07:20:59 +0000 (17:20 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 17 Jan 2014 12:03:49 +0000 (13:03 +0100)
commitdda1bb47163a39e07ba559d16684b9891193cc85
tree5965b1904f5a0172cd19f7681777b152a3b76bf1
parent4565cf26af8131a5c060598fd22e597f8aa9ba5d
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>
src/plugins/gstreamer/camerabin/camerabinaudioencoder.cpp
src/plugins/gstreamer/camerabin/camerabinrecorder.cpp
src/plugins/gstreamer/camerabin/camerabinsession.cpp
src/plugins/gstreamer/camerabin/camerabinsession.h
src/plugins/gstreamer/camerabin/camerabinvideoencoder.cpp