Bug 218294 - [MSE] Handle trackId changing across Initialization Segments
Summary: [MSE] Handle trackId changing across Initialization Segments
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-28 10:48 PDT by Jer Noble
Modified: 2020-10-28 19:14 PDT (History)
12 users (show)

See Also:


Attachments
Patch (13.57 KB, patch)
2020-10-28 11:02 PDT, Jer Noble
no flags Details | Formatted Diff | Diff
Patch for landing (13.63 KB, patch)
2020-10-28 12:54 PDT, Jer Noble
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jer Noble 2020-10-28 10:48:46 PDT
[MSE] Handle trackId changing across Initialization Segments
Comment 1 Radar WebKit Bug Importer 2020-10-28 11:02:41 PDT
<rdar://problem/70771306>
Comment 2 Jer Noble 2020-10-28 11:02:53 PDT
Created attachment 412546 [details]
Patch
Comment 3 Peng Liu 2020-10-28 11:25:23 PDT
Comment on attachment 412546 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=412546&action=review

> Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1166
> +                }

Nit. There seems to be some duplicated code snippets, can we define a function for them?

> LayoutTests/media/media-source/media-source-trackid-change.html:66
> +            consoleWrite('Modify an Media Segment to have a different trackID');

Nit. s/an Media/a Media/
Comment 4 Jer Noble 2020-10-28 11:43:26 PDT
(In reply to Peng Liu from comment #3)
> Comment on attachment 412546 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=412546&action=review
> 
> > Source/WebCore/Modules/mediasource/SourceBuffer.cpp:1166
> > +                }
> 
> Nit. There seems to be some duplicated code snippets, can we define a
> function for them?

Not really as they're all different types.

> > LayoutTests/media/media-source/media-source-trackid-change.html:66
> > +            consoleWrite('Modify an Media Segment to have a different trackID');
> 
> Nit. s/an Media/a Media/

Will change.
Comment 5 Eric Carlson 2020-10-28 12:46:28 PDT
Comment on attachment 412546 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=412546&action=review

> Source/WebCore/ChangeLog:5
> +

Nit: <rdar://problem/????>
Comment 6 Jer Noble 2020-10-28 12:54:33 PDT
Created attachment 412563 [details]
Patch for landing
Comment 7 EWS 2020-10-28 13:43:12 PDT
Committed r269121: <https://trac.webkit.org/changeset/269121>

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