GNOME Bugzilla – Bug 342734
[matroskamux] might block on state-change
Last modified: 2006-05-23 20:15:28 UTC
GstCollectPads specs/documentation require gst_collect_pads_stop to be invoked upon (e.g.) PAUSED_TO_READY before chaining up to the parent change state. That way, the collect pads releases the threads so the parent can actually stop the streaming. Currently, gst_collect_pads_stop is invoked after chaining up, which is fine in case of normal (eos) termination, but may not be in other cases.
Created attachment 66078 [details] [review] Possible patch (sigh) description (blabla) is longer than the patch :)
Indeed, nice catch! 2006-05-23 Tim-Philipp Müller <tim at centricular dot net> Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/matroska/matroska-mux.c: (gst_matroska_mux_change_state): gst_collect_pads_stop() needs to be called before chaining up to the parent class (#342734).