GNOME Bugzilla – Bug 496399
[oggdemux] not erroring out when no chain can be found
Last modified: 2009-03-12 07:07:05 UTC
This is a corner case, but still a pain to handle. In gst_ogg_demux_read_chain, there is a possibility that it will not find a valid chain, but will return with GST_FLOW_OK. This patch makes sure that in those cases it returns GST_FLOW_ERROR so the streaming thread can stop properly. Else it carries on and randomly leads to crashes.
Created attachment 99016 [details] [review] fix
Created attachment 99019 [details] [review] update patch The previous patch was somewhat wrong. This one fixes the issue at the gst_ogg_demux_find_chains() level. Doesn't bring any regressions after testing it on all .ogg files in the testsuite.
*** This bug has been marked as a duplicate of 525665 ***