GNOME Bugzilla – Bug 394075
ffdemux disregards FlowReturn result of downstream pushing
Last modified: 2007-01-10 19:55:54 UTC
ffdemux loop performs gst_pad_push without considering or reacting to any possible errors downstream, e.g. unlinked pads, etc
Created attachment 79692 [details] [review] patch for checking downstream pushing result [separated from patch in bug #392534] - Make the ffdemux loop check the result of gst_pad_push and act accordingly (e.g. ignore some unlinked pad, but give up when all unlinked)
Thanks, commited. 2007-01-10 Edward Hervey <edward@fluendo.com> Patch by: Mark Nauwelaerts <manauw@skynet.be> * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek), (gst_ffmpegdemux_aggregated_flow), (gst_ffmpegdemux_get_stream), (gst_ffmpegdemux_loop): Check the aggregated return value of pushes downstream to figure out if we really need to stop the task or not.