GStreamer: some improvements with the camerabin's capture settings.
authorYoann Lopes <yoann.lopes@theqtcompany.com>
Thu, 5 Feb 2015 15:37:58 +0000 (16:37 +0100)
committerYoann Lopes <yoann.lopes@theqtcompany.com>
Wed, 18 Feb 2015 13:15:45 +0000 (13:15 +0000)
commit178c0401685a56541995ca1ac9b5f6a4b543626d
tree701b9c4c0691930fcce98981e4d71194cdfc872c
parent656da3d4d60f21914e7f5ea004e8ec924f79ef03
GStreamer: some improvements with the camerabin's capture settings.

- Don't pretend we support changing the image or video capture
  settings while the camera is active. The pipeline needs to be
  restarted in order to renegotiate caps.
- Improved retrieving the supported capture resolutions and frame
  rates when using wrappercamerabinsrc. We now always get the
  supported values directly from the video source.

Change-Id: I107193288e370af105a25d16568a8f5a76022ada
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
src/plugins/gstreamer/camerabin/camerabincontrol.cpp
src/plugins/gstreamer/camerabin/camerabinsession.cpp
src/plugins/gstreamer/camerabin/camerabinsession.h