wrappercamerabinsrc: Put source in NULL when it fails changing state
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 16 Feb 2012 04:12:58 +0000 (01:12 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 16 Feb 2012 04:30:23 +0000 (01:30 -0300)
commit2ce709cf4a4d46b058218a965885cecfa1568b1f
treeb2fd2c5b81c4276cef2ee1fe0856a7544934d543
parentb3592ebda868fd183304789d8448c21abe517fe9
wrappercamerabinsrc: Put source in NULL when it fails changing state

When source is being reset to change caps, check the return of
the state syncing function to avoid leaving the source in an
unconsistent state.
gst/camerabin2/gstwrappercamerabinsrc.c