Bug 189869

Summary: [MSE][GStreamer] Don't update duration when it was not previously NaN
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Alicia Boya García <aboya>
Severity: Normal CC: bugs-noreply, calvaris, commit-queue, eocanha
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Alicia Boya García 2018-09-21 17:19:58 PDT
This is what the spec mandates. The spec doesn't say anything about
updating duration when it had been previously set, even if the new
init segment says that the duration is growing.
This fixes MSE YTTV 2018 69.MediaSourceDurationVP9.

Original patch by Enrique Ocaña González.
Comment 1 Alicia Boya García 2018-09-21 17:22:08 PDT
Created attachment 350462 [details]
Comment 2 Alicia Boya García 2018-09-21 17:22:17 PDT
Link to the spec: https://www.w3.org/TR/media-source/#sourcebuffer-init-segment-received
Comment 3 WebKit Commit Bot 2018-09-24 03:16:16 PDT
Comment on attachment 350462 [details]

Clearing flags on attachment: 350462

Committed r236395: <https://trac.webkit.org/changeset/236395>
Comment 4 WebKit Commit Bot 2018-09-24 03:16:18 PDT
All reviewed patches have been landed.  Closing bug.