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)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 17 Feb 2012 01:51:21 +0000 (22:51 -0300)
commit39bad1d6ca2600eb9d2ad46e3842b8a564cf6c43
treeb647dccc4c33fd290d06e4af50347c7deeeddd12
parent2ce709cf4a4d46b058218a965885cecfa1568b1f
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