GNOME Bugzilla – Bug 784666
videorate: flush remaining buffers on SEGMENT_DONE
Last modified: 2017-07-21 18:25:42 UTC
Just as we do on EOS.
Created attachment 355115 [details] [review] videorate: flush remaining buffers on SEGMENT_DONE
Review of attachment 355115 [details] [review]: Make sense.
Why do that? After a segment done, shouldn't we expect more buffers from the next segment?
(In reply to Olivier Crête from comment #3) > Why do that? After a segment done, shouldn't we expect more buffers from the > next segment? There may not be a next segment :)
And I suppose his bug is about draining and not flushing ?
For all practical purposes, SEGMENT_DONE is like EOS except that you accept further buffers afterwards without having to flush first. So this change seems correct.
*** Bug 781041 has been marked as a duplicate of this bug. ***
Thanks. Attachment 355115 [details] pushed as 875af55 - videorate: flush remaining buffers on SEGMENT_DONE