[Bug 795424] qtdemux: Add MSE-style flush

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 24 18:53:41 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795424

Alicia Boya García <aboya at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #371183|0                           |1
        is obsolete|                            |

--- Comment #8 from Alicia Boya García <aboya at igalia.com> ---
Created attachment 371339
  --> https://bugzilla.gnome.org/attachment.cgi?id=371339&action=edit
qtdemux: Add MSE-style flush

The abort() method of SourceBuffer in Media Source Extensions is
expected to flush the demuxer and discard the current fragment,
if any. The configuration of tracks, if any, should be preserved.

Before this patch, qtdemux was only to able to handle correctly a flush
when it was a direct consequence of a byte seek that qtdemux itself sent
upstream in response to a time seek.

This patch modifies the handling of flush events in such a way that
qtdemux can differentiate between these flushes that are a consequence
of a seek and flushes coming from the application on its own (like in
MSE).

In the latter case, all unparsed buffered data is discarded, the sample
table is resetted and the demuxer prepares to read a new atom from the
beginning.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list