GNOME Bugzilla – Bug 532807
[rmdemux] Doesn't properly aggregate flow returns
Last modified: 2008-05-13 09:33:33 UTC
Currently rmdemux doesn't properly aggregate flow return values from downstream elements. Follows a patch to fix the issue.
Created attachment 110783 [details] [review] Don't override flow returns from downstream
Looks at least more correct than before to me but shouldn't the flow return be checked after each pushed buffer to handle errors more instant instead of just pushing more and more buffers and just taking the last flow return? One case that comes to my mind where the current behaviour is, when all except one pad are linked and the last buffer that is pushed is pushed to the unlinked one. In that case we will error out with GST_FLOW_NOT_LINKED instead of just continuing. So, IMHO this patch needs some more work
Created attachment 110836 [details] [review] improved patch, should react faster/better
2008-05-13 Edward Hervey <edward.hervey@collabora.co.uk> * gst/realmedia/rmdemux.c: (gst_rmdemux_parse_video_packet): Properly aggregate GstFlowReturn from downstream in order to properly stop, and doing that as early as possible. Fixes #532807