GNOME Bugzilla – Bug 709867
streamsplitter: Keep still meaningfull pending events on FLUSH_STOP
Last modified: 2013-10-14 22:03:16 UTC
Only EOS and segment should be deleted in that case.
Created attachment 256953 [details] [review] streamcombiner: Keep still meaningfull pending events on FLUSH_STOP
Created attachment 256959 [details] [review] streamsplitter: Keep still meaningfull pending events on FLUSH_STOP Only EOS and segment should be deleted in that case.
Comment on attachment 256959 [details] [review] streamsplitter: Keep still meaningfull pending events on FLUSH_STOP Alternatively you could just store all other events on the srcpads and free the list.
What would be the advantage of that approach?
You don't have to worry about the list anymore and don't (potentially) send multiple sticky events of the same type after flushing
Also it makes sure that you don't break event ordering. Now you remove the segment. event, and there might be tag events afterwards. So you would now in the future send tag events first from the list, and then a segment event.
I think I did not understand what you have in mind there.
*** This bug has been marked as a duplicate of bug 709868 ***