wrappercamerabinsrc: Put source to null when resetting caps
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 16 Feb 2012 19:30:02 +0000 (16:30 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 17 Feb 2012 11:59:45 +0000 (11:59 +0000)
commit6de148a742ddf54cd3c1ff9a5853db13164115df
treea0dc35323201b0c69b2cbc4cbce422942bd6e146
parent13227245ab9c88aecdf173bcb98ca6835050688e
wrappercamerabinsrc: Put source to null when resetting caps

It seems that v4l2src isn't happy when switching formats on ready
state, it works when putting it to NULL. Keep this workaround in
wrappercamerabinsrc while v4l2src isn't fixed.

Fixes #849832
gst/camerabin2/gstwrappercamerabinsrc.c