Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: third_party/WebKit/LayoutTests/media/avtrack/video-track-properties.html

Issue 1735803002: Implemented passing media track info from ffmpeg into blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wolenetz@ CR feedback + better track info extraction in ffmpeg Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>VideoTrack properties read from input stream metadata</title>
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../media-file.js"></script>
8 </head>
9 <body>
10 <div id="log"></div>
11 <script>
12 async_test(function(t)
13 {
14 var e = document.createElement("video");
15 e.src = "../content/test.mp4";
16
17 e.onloadedmetadata = t.step_func_done(function()
18 {
19 assert_equals(e.videoTracks.length, 1, "videoTracks.length") ;
20 assert_true(e.videoTracks[0].selected, "videoTrack.selected" );
21 assert_equals(e.videoTracks[0].id, "2", "videoTrack.id");
22 assert_equals(e.videoTracks[0].kind, "main", "videoTrack.kin d");
23 assert_equals(e.videoTracks[0].label, "Apple Video Media Han dler", "videoTrack.label");
24 assert_equals(e.videoTracks[0].language, "eng", "videoTrack. language");
25 });
26 });
27 </script>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698