typefind: Reset segment when deactivating pull mode or not running in pull mode
authorSebastian Dröge <sebastian@centricular.com>
Thu, 12 Mar 2015 12:59:57 +0000 (12:59 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 12 Mar 2015 12:59:57 +0000 (12:59 +0000)
commit53e8e7da75e4eeaa1054eb24e50568b32d8bd6b1
tree0d5e84c4dfb2b261aa23f9dabe6adf7d31202918
parenta7797d30a857fe739f57103375608e3b999d980f
typefind: Reset segment when deactivating pull mode or not running in pull mode

We use the segment format to detect if we run the streaming thread or not.
Without resetting we might believe we do so, although we only did in the past
and are now running in e.g. push mode.

https://bugzilla.gnome.org/show_bug.cgi?id=745073
plugins/elements/gsttypefindelement.c