Only acquire resources as required in gstreamer backend.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Wed, 11 Dec 2013 04:29:57 +0000 (14:29 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 13 Jan 2014 05:06:33 +0000 (06:06 +0100)
commit15025088eac53d97705191d06b13868d62977155
tree8c3f403b235a97bd610eb83a6c78a14f43f061e7
parentb27913b76d5a1820470b411d2193e4388b047c9d
Only acquire resources as required in gstreamer backend.

Make resources required for capture optional and disable just the
capture features if they are not available, so the camera viewfinder
can be displayed and images captured without blocking the music
playback and the other way around.

Change-Id: Ic9692195156d994ccd4a911ae41d2242a00d575b
Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
12 files changed:
src/plugins/gstreamer/camerabin/camerabincontrol.cpp
src/plugins/gstreamer/camerabin/camerabincontrol.h
src/plugins/gstreamer/camerabin/camerabinimagecapture.cpp
src/plugins/gstreamer/camerabin/camerabinrecorder.cpp
src/plugins/gstreamer/camerabin/camerabinrecorder.h
src/plugins/gstreamer/camerabin/camerabinresourcepolicy.cpp
src/plugins/gstreamer/camerabin/camerabinresourcepolicy.h
src/plugins/gstreamer/camerabin/camerabinservice.cpp
src/plugins/gstreamer/camerabin/camerabinservice.h
src/plugins/gstreamer/camerabin/camerabinsession.cpp
src/plugins/gstreamer/camerabin/camerabinsession.h
src/plugins/resourcepolicy/resourcepolicyimpl.cpp