Closed
Bug 1146733
Opened 10 years ago
Closed 10 years ago
[EME] remove PlayFragmented() from eme.js
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file, 1 obsolete file)
7.36 KB,
patch
|
jwwang
:
review+
|
Details | Diff | Splinter Review |
The code is similar of that of AppendTrack() and "fragments" is a special case of multiple tracks. We should remove redundant code for maintainability.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
remove redundant code of PlayFragmented().
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8582239 [details] [diff] [review]
1146733_remove_PlayFragmented-v1.patch
Review of attachment 8582239 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/test/manifest.js
@@ -678,5 @@
> duration:1.60,
> },
> {
> name:"bipbop-cenc-videoinit.mp4",
> - type:"video/mp4; codecs=\"avc1.64000d,mp4a.40.2\"",
The type is specified in tracks. Remove this redundant one.
@@ -708,5 @@
> duration:1.60,
> },
> {
> name:"bipbop-cenc-videoinit.mp4",
> - type:"video/mp4; codecs=\"avc1.64000d,mp4a.40.2\"",
Ditto.
Comment on attachment 8582239 [details] [diff] [review]
1146733_remove_PlayFragmented-v1.patch
Review of attachment 8582239 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/test/eme.js
@@ -321,1 @@
> return PlayMultiTrack(test, elem, token);
Seems that LoadTest() is totally superfluous after this. Move the |test.tracks| guard to PlayMultiTrack(), then rename PlayMultiTrack() and remove LoadTest().
Attachment #8582239 -
Flags: review?(edwin) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Fix nits suggested in comment 4.
Attachment #8582239 -
Attachment is obsolete: true
Attachment #8582820 -
Flags: review+
Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•