typefindelement: reset segment only once streaming has stopped
authorTim-Philipp Müller <tim@centricular.com>
Sun, 14 Jun 2015 19:48:29 +0000 (20:48 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 14 Jun 2015 20:25:29 +0000 (21:25 +0100)
commit7be8acbfb0e08ea8bcd6833a7e0a71d1132f6b14
tree5e49313a7806276d15d16538117ab30cfafcaf3f
parent2448a62ff441be21cbf7c3788470f14926d14916
typefindelement: reset segment only once streaming has stopped

Fixes the occasional criticals in the discoverer unit test.

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