wrappercamerabinsrc: change video-source if the user requested
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 28 Sep 2012 03:06:45 +0000 (00:06 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 28 Sep 2012 03:13:32 +0000 (00:13 -0300)
commit8c8d1a0b6be84381e98ec7b216c36e0154f88300
tree549c4243a5926d0ee3a03bbba0bd49844ad132a8
parentc6fd3b070b39580d1cefdae7808d452513473a2a
wrappercamerabinsrc: change video-source if the user requested

When going from null to ready, check if the user requested to
use a new source and replace the current one.

Fixes #681562
gst/camerabin2/gstwrappercamerabinsrc.c
gst/camerabin2/gstwrappercamerabinsrc.h