discoverer: Set 'processing = FALSE' when done discovering SYNC
authorThibault Saunier <tsaunier@gnome.org>
Fri, 15 Aug 2014 11:31:53 +0000 (13:31 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 15 Aug 2014 11:40:17 +0000 (13:40 +0200)
commitdcf8c3e8b0e54f753201dc60773530ba075c2eac
tree17b29a762389f690121e37d07b7abf1c0e360596
parent568ef481c5a331585b131a4fd509efd5fcd5bcba
discoverer: Set 'processing = FALSE' when done discovering SYNC

This avoids a race where we would get new tag but we are already
prerolled and analyzing results.

It is the way it is supposed to be handled as stated in comment:
"If preroll is complete, drop these tags - the collected information is
possibly already being processed and adding more tags would be racy"
gst-libs/gst/pbutils/gstdiscoverer.c