cheese-camera: fix switching video resolutions
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Thu, 4 Aug 2011 22:24:14 +0000 (00:24 +0200)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Thu, 4 Aug 2011 22:24:14 +0000 (00:24 +0200)
commit46c5c585e4092e77371590f1f8bc95d1926fe185
treed22e9d40890b727fc0a61e2821a74c9a1dedb84b
parentb189f99e014b9029393ee9566be3ec3507c862aa
cheese-camera: fix switching video resolutions

gst_encoding_profile_set_restriction doesn't update encodebin, so only the first
call (before the internal encodebin pipeline is constructed) has effect.

With omx_camera the video resolution is slaved to the viewfinder resolution
anyway, so just setting a new resolution on the viewfinder works.
libcheese/cheese-camera.c