discoverer: Drop new stream tags once preroll is done
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 17 Jan 2011 19:39:53 +0000 (01:09 +0530)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 17 Jan 2011 23:50:45 +0000 (23:50 +0000)
commit6ac2e5d3846b2038113ed2dda7c298e296faa938
treea1cc55a5f80f837cbcaf577ca2aa86e45ff688ed
parent65a298fdeee5b9214f83878a6d757e90d45562cb
discoverer: Drop new stream tags once preroll is done

This makes sure we do not touch the stream taglist once the pipeline has
been prerolled. Adding of stream tags happens in the pad event probe
which runs in a different thread from discoverer stream processing, so
modifying the tag list while discoverer might be processing it can
sometimes cause a crash.

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