Bug 214128 - [MSE][GStreamer] Don't cache duration in MediaSourceClientGStreamerMSE
Summary: [MSE][GStreamer] Don't cache duration in MediaSourceClientGStreamerMSE
Status: RESOLVED FIXED
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-09 04:45 PDT by Alicia Boya García
Modified: 2020-07-09 05:30 PDT (History)
13 users (show)

See Also:


Attachments
Patch (3.72 KB, patch)
2020-07-09 04:46 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 2020-07-09 04:45:17 PDT
MediaSource should be the single source of truth for the duration of
the MediaSource, and querying it to MediaSource is efficient enough
(trivial getter). There is no reason for MediaSourceClientGStreamerMSE
to store a separate m_duration field.

This patch introduces no behavior changes.
Comment 1 Alicia Boya García 2020-07-09 04:46:22 PDT
Created attachment 403855 [details]
Patch
Comment 2 EWS 2020-07-09 05:30:26 PDT
Committed r264166: <https://trac.webkit.org/changeset/264166>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 403855 [details].