GNOME Bugzilla – Bug 740853
audiodecoder: Push pending events before sending EOS.
Last modified: 2014-12-12 16:05:20 UTC
Segments are added to the pending events, and pushing a segment is mandatory before sending EOS.
Created attachment 291721 [details] [review] audiodecoder: Push pending events before sending EOS.
Could you write a unit test to have added to our suite for audiodecoder? The same problem might also be happening in videodecoder. It would be good to check it there, too.
Created attachment 292115 [details] [review] audiodecoder: Push pending events before sending EOS. Segments are added to the pending events, and pushing a segment is mandatory before sending EOS. + Adds a test.
Done, note that I already checked videodecoder and it pushes the segment event sequentially. FWIW I think gst-validate now checks that a segment event is always sent before EOS. Thanks for the review :)
commit b2413d46edb7c97d1ad4e2535dd5fe737b0c04bc Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> Date: Fri Nov 28 15:06:27 2014 +0100 audiodecoder: Push pending events before sending EOS. Segments are added to the pending events, and pushing a segment is mandatory before sending EOS. + Adds a test. https://bugzilla.gnome.org/show_bug.cgi?id=740853
Review of attachment 292115 [details] [review]: commited
Cherry-picked into 1.4 branch.