Commit Graph

89 Commits

Author SHA1 Message Date
Robert O'Callahan
84ab035abb Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce 2012-08-03 15:22:24 +12:00
Ralph Giles
3947d0428b Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.

Add a file with no comments to test {} output as well.

Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Benoit Jacob
dcfba92e05 Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher 2012-06-08 13:41:38 -04:00
Matt Brubeck
d1bcdbae1a Back out bug 759221 and bug 761326 because of media test failures 2012-06-08 12:20:14 -07:00
Benoit Jacob
67e7c62df8 Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher 2012-06-08 13:41:38 -04:00
Christopher De Cairos
a51913e89c Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce 2012-05-11 20:32:15 +12:00
Ralph Giles
72bc05e1a8 Bug 674225 - Add basic mochitests for Opus. r=cpearce
Add a short Ogg Opus file to the content/media/test
directory and add it to the gSeekTests, gSmallTests,
and gPlayTests in manifest.js. This file is crafted
to end on a packet boundary, so trimming to duration
is not verified.
Set the media.opus.enabled pref to true in manifest.js
so the various tests using the opus file succeed.

Add a stanza to can_play_type_ogg.js to test the
behaviour of canPlayType with an opus-specific
media type for both values of the pref.

Add support for the .opus filename extension to
the mochitest http server.
2012-05-01 17:29:42 -07:00
Paul ADENOT
883f155841 Bug 462960 - Add tests for the played member. r=cpearce 2012-04-30 20:29:29 -04:00
Paul ADENOT
c3d69642e4 Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Robert O'Callahan
159f4c1c21 Bug 646331. Fix duration of big.wav. r=cpearce 2012-03-19 12:36:06 +13:00
Chris Pearce
0fa5e90cfa Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-20 07:30:29 +13:00
Chris Pearce
841966d0b2 Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout 2012-01-19 11:56:54 +13:00
Chris Pearce
b748373b98 Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-19 09:15:57 +13:00
Chris Pearce
c464511c47 Bug 705994 - Ensure test_preload_actions doesn't try to finish test cases multiple times. r=roc 2011-11-30 11:01:14 +13:00
Chris Pearce
c77ce3044c Bug 687972 - Add some verification to MediaTestManager. r=roc 2011-11-29 12:17:09 +13:00
Robert O'Callahan
5755e41c5c Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-25 15:06:22 +13:00
Robert O'Callahan
1a60edba9a Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
58e9a065d6 Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec 2011-11-24 12:05:13 +13:00
Chris Pearce
20ce360676 Bug 683421 - Make MediaTestManager less 'batchy'. r=kinetik 2011-08-31 15:38:10 +12:00
Chris Double
4bb2da9957 Bug 648595 - Part 2/2: Tests for temporal media fragments support - r=cpearce
--HG--
extra : rebase_source : 45e62dc05dff2660a07b43989cdb179e91ac31a5
2011-08-25 11:42:27 +12:00
Paul ADENOT
36cf6a91a7 Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Chris Pearce
e9746ae18e Bug 675747 - Handle multiple bos pages in a single ogg bitstream. r=doublec 2011-08-05 08:44:24 +12:00
Marco Bonardo
e54d67ac13 Backout changesets e0aab5011b70, 0040f406ea6d (Bug 462959) due to intermittent crashes in its own test. 2011-08-02 23:36:14 +02:00
Paul ADENOT
6c67043066 Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik 2011-07-03 11:53:39 +02:00
Chris Pearce
1e2942a0a5 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-12 15:39:25 +12:00
Chris Pearce
3fa5bf6b10 Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Double
143856bc77 Bug 556821 - Use Ogg Skeleton presentation time for start of videos - r=cpearce
--HG--
extra : rebase_source : 83020ac5028e9f94cabe6a3c959cf84eeb25449f
2011-03-24 14:16:30 +13:00
Matthew Gregan
a2f5d89538 Bug 634787 - Fix frame wait calculation and early return from Wait(). r=cpearce a=roc 2011-02-18 15:30:33 +13:00
Wes Johnston
a97733eea4 Bug 631058 - Part 1 - Allow specifying default preload behavior through a pref. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Doug Turner
1be89d99f3 Backed out changeset 2e49069ac1ad 2011-02-14 21:25:20 -08:00
Wes Johnston
e3b4a4aee5 Bug 631058 - Part 1 - Allow specifying default preload behavior through a pref. r=cpearce, a=blocking-fennec
--HG--
extra : rebase_source : bfee19717d59bdeed864e02293c3f5ffd4718724
2011-02-14 17:01:04 -08:00
Chris Pearce
88768d9890 Bug 620326 - Add code to MediaTestManager to enable looping on a media mochitest to help fixing random orange. r=test-change a=test-change. 2011-01-13 14:06:16 +13:00
Chris Pearce
b1b833ee64 Bug 616800 - Ensure AudioLoop() doesn't sleep, and can still drain, if we've pushed less than the start threshold of audio to hardware. r=kinetik a=blocking2.0 2010-12-20 08:05:40 +13:00
Chris Pearce
7070c1834b Bug 604067 - Handle error codes from libvorbis in WebM reader. r=kinetik a=blocking2.0 2010-10-17 08:57:45 +13:00
Chris Pearce
65a0ef7191 Bug 604067 Backed out changeset 3a1bc45d5a54 a=backout 2010-10-17 09:59:29 +13:00
Chris Pearce
6fe46aca53 Bug 604067 - Handle error codes from libvorbis in WebM reader. r=kinetik a=blocking2.0 2010-10-17 08:57:45 +13:00
Chris Pearce
9e4234dc37 Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Double
67ab1fd425 Bug 588312 - Set video.currentTime to seek time when seek starts - r=kinetik a=blocking2.0 2010-09-10 14:48:36 +12:00
Chris Pearce
c98596fdf2 Bug 557432 - Reduce parallelism of media mochitests. r=test-fix a=roc 2010-08-27 14:11:46 +12:00
Chris Pearce
b07055071f Bug 519897 - Supported indexed Ogg files. r=doublec 2010-08-20 10:50:37 +12:00
Chris Pearce
14ae2bcedd Backed out changeset 7eee00899270 2010-08-18 13:48:34 +12:00
Chris Pearce
1e4886416f Bug 519897 - Supported indexed Ogg files. r=doublec a=roc 2010-08-18 10:49:14 +12:00
Chris Pearce
114d346757 Bug 576539 - Inject silence when decoder encounters missing audio in WebM and Ogg media. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00
Matthew Gregan
27487c2512 Bug 580982 - Remove workarounds for old YouTube WebM encodings. Don't treat "matroska" doctype as valid WebM file. r=doublec
--HG--
rename : media/libnestegg/include/_stdint.h => media/libnestegg/include/nestegg-stdint.h
2010-08-05 15:49:27 +12:00
Kyle Huey
c83653fee9 Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec 2010-07-26 12:35:16 -07:00
Matthew Gregan
f92805c547 Bug 577871. Enable more WebM tests. r=doublec 2010-07-20 13:29:28 +12:00
Chris Double
5d40555e31 Bug 566245 - Add WebM test file for content/media tests. r=kinetik 2010-06-09 11:31:27 +12:00
Chris Pearce
c7317b404d Bug 564720 - Refactor media tests to be backend independent were possible. r=roc
--HG--
rename : content/media/test/test_play.html => content/media/test/test_play_events.html
rename : content/media/test/test_progress2.html => content/media/test/test_progress.html
rename : content/media/test/test_onloadedmetadata.html => content/media/test/test_replay_metadata.html
rename : content/media/test/test_wav_trunc_seek.html => content/media/test/test_seek_out_of_range.html
rename : content/media/test/test_bug495319.html => content/media/test/test_timeupdate_small_files.html
rename : content/media/test/test_bug486646.html => content/media/test/test_video_to_canvas.html
2010-05-31 10:02:06 +12:00