[Webkit-unassigned] [Bug 220055] New: [MSE] Fix allSamplesInTrackEnqueued() handling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 21 07:36:03 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=220055
Bug ID: 220055
Summary: [MSE] Fix allSamplesInTrackEnqueued() handling
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aboya at igalia.com
Within the changes introduced by r270612 a spurious call to
allSamplesInTrackEnqueued() was added to provideMediaData().
provideMediaData() is called every time there may be new samples that
need to be enqueued into the playback pipeline.
allSamplesInTrackEnqueued() is supposed to be called when
MediaSource.endOfStream() has been called and all pending samples have
been enqueued, therefore signaling the playback pipeline that no more
samples will be added.
Some decoders need to be notified of this condition in order to move
the last samples in their queue downstream. This is true at least of
the avdec (ffmpeg) decoders that are commonly used in desktop versions
of the GStreamer port.
Calling allSamplesInTrackEnqueued() prematurely will mess with the
playback as the code will not accept any more samples, a serious
problem. This patch fixes it by removing the spurious call and
restoring its original purpose when it was introduced in r230909.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201221/5b7d1020/attachment.htm>
More information about the webkit-unassigned
mailing list