Bug 189869 - [MSE][GStreamer] Don't update duration when it was not previously NaN
Summary: [MSE][GStreamer] Don't update duration when it was not previously NaN
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alicia Boya García
Depends on:
Reported: 2018-09-21 17:19 PDT by Alicia Boya García
Modified: 2018-09-24 03:16 PDT (History)
4 users (show)

See Also:

Patch (1.90 KB, patch)
2018-09-21 17:22 PDT, Alicia Boya García
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.