[webkit-reviews] review granted: [Bug 197834] [MSE][GStreamer] update the readyState correctly in MediaPlayerPrivateGStreamerMSE : [Attachment 369955] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 28 00:19:54 PDT 2019
Xabier RodrÃguez Calvar <calvaris at igalia.com> has granted Yacine Bandou
<bandou.yacine at gmail.com>'s request for review:
Bug 197834: [MSE][GStreamer] update the readyState correctly in
MediaPlayerPrivateGStreamerMSE
https://bugs.webkit.org/show_bug.cgi?id=197834
Attachment 369955: Patch
https://bugs.webkit.org/attachment.cgi?id=369955&action=review
--- Comment #7 from Xabier RodrÃguez Calvar <calvaris at igalia.com> ---
Comment on attachment 369955
--> https://bugs.webkit.org/attachment.cgi?id=369955
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=369955&action=review
> Source/WebCore/ChangeLog:8
> + The buffering state and the m_downloadFinished boolean aren't
supported in MSE case.
in the MSE case
> Source/WebCore/ChangeLog:10
> + else the MediaPlayer would send a "canplay" event instead of
"canplaythrough".
else -> or else, instead of a
> LayoutTests/ChangeLog:8
> + Add a new test that check if the MediaElement receive the
"canplaythrough"
checks, receives
> LayoutTests/media/media-source/media-source-canplaythrough-event.html:18
> + waitForEventOn(video, 'canplaythrough', oncanplaythrough, false,
true);
I think we can remove oncanplaythrough if we use:
waitForEventAndEnd('canplaythrough', null);
> LayoutTests/media/media-source/media-source-canplaythrough-event.html:25
> + function oncanplaythrough() {
> + passTest("Receive canplaythrough event");
> + }
I think we could remove this.
More information about the webkit-reviews
mailing list