Closed Bug 1146733 Opened 10 years ago Closed 10 years ago

[EME] remove PlayFragmented() from eme.js

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(1 file, 1 obsolete file)

The code is similar of that of AppendTrack() and "fragments" is a special case of multiple tracks. We should remove redundant code for maintainability.
Blocks: 1142899
remove redundant code of PlayFragmented().
Assignee: nobody → jwwang
Status: NEW → ASSIGNED
Attachment #8582239 - Flags: review?(edwin)
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+
Fix nits suggested in comment 4.
Attachment #8582239 - Attachment is obsolete: true
Attachment #8582820 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: