pbutils: discoverer: Always set the pipeline back to NULL after an error
authorThibault Saunier <tsaunier@gnome.org>
Wed, 30 Jul 2014 13:23:39 +0000 (15:23 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Wed, 30 Jul 2014 13:28:21 +0000 (15:28 +0200)
commit235e46207743bb487538081c5ed2746f96955f73
tree7248f5dfb2fe0bb877ed8b6d1c956d5c3efabf01
parentcf50b45ff63718cb9918c91f778b3e48a4bcb345
pbutils: discoverer: Always set the pipeline back to NULL after an error

Otherwize the pipeline would be in an wrong state and on the next
iteration any kind of error could happen

Everytime an error happens in a pipeline the application has to set the
pipeline back to NULL instead of READY.

https://bugzilla.gnome.org/show_bug.cgi?id=733976
gst-libs/gst/pbutils/gstdiscoverer.c