WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
220055
[MSE] Fix allSamplesInTrackEnqueued() handling
https://bugs.webkit.org/show_bug.cgi?id=220055
Summary
[MSE] Fix allSamplesInTrackEnqueued() handling
Alicia Boya García
Reported
2020-12-21 07:36:03 PST
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
.
Attachments
Patch
(18.03 KB, patch)
2020-12-21 07:47 PST
,
Alicia Boya García
no flags
Details
Formatted Diff
Diff
Patch
(17.39 KB, patch)
2020-12-21 08:46 PST
,
Alicia Boya García
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alicia Boya García
Comment 1
2020-12-21 07:47:09 PST
Created
attachment 416601
[details]
Patch
Philippe Normand
Comment 2
2020-12-21 07:51:07 PST
Comment on
attachment 416601
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=416601&action=review
> Source/WebKit/ChangeLog:19 > +2020-12-21 Alicia Boya GarcÃa <
aboya@igalia.com
>
Duplicate ChangeLog here
Alicia Boya García
Comment 3
2020-12-21 08:46:35 PST
Created
attachment 416604
[details]
Patch
EWS
Comment 4
2020-12-21 10:14:34 PST
Committed
r271024
: <
https://trac.webkit.org/changeset/271024
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 416604
[details]
.
Radar WebKit Bug Importer
Comment 5
2020-12-21 10:15:52 PST
<
rdar://problem/72553924
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug