Ralph Giles
592158938a
Bug 778050 - Support Opus tag metadata. r=derf
...
Remember parsed comments from the OpusTags header in
an array member variable. Add a method to generate
the nsHTMLMediaElement::MetadataTags hash table from
those entries, performing the same validatation we
do for Vorbis.
This feature is tested by adding the existing opus
test file to gMetadataTests.
IsValidVorbisTagName is moved to a static method
on nsOggCodecState so it can be shared among the
subclasses and easily called externally.
MetadataTags generation for Vorbis streams is moved
to the same method name on nsVorbisState to allow
sharing of the parsing and validation code as much
as possible, since both formats use the same scheme.
It's arguable whether contrustuction better belongs to
nsOggReader or to the nsCodecState subclasses, since in
theory the various multiplexed streams interact in
determining the canonical tag list, but it is the
per-codec streams which contain the metadata in Ogg.
2012-09-17 18:42:36 -04:00
Ralph Giles
9526e122c1
Bug 789617 - Test vorbis comment validation. r=cpearce
...
Add a new test file with some invalid comments and verify
they are filtered out of the mozGetMetadata() output.
The new file includes the following valid edge cases:
- empty tag name
- empty tag value
- punctuation in the tag name
and the following invalid cases:
- non-ascii tag name
- invalid characters in tag name
- non-utf-8 tag value
- no tag=value separator
Also updates the mochitest messages to be less confusing.
2012-09-10 15:39:23 -07:00
Paul Adenot
7ab1a757ed
Bug 789077 - Remove sniffing for mp3 without ID3 because of false positives. r=cpearce
2012-09-07 16:14:05 -07:00
Paul Adenot
8370333187
Bug 567077 - Tests for sniffing the types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:24:34 -07:00
Ryan VanderMeulen
12c1c8ace2
Backout bug 567077 for bustage.
2012-09-05 18:36:38 -04:00
Paul Adenot
02155af3db
Bug 567077 - Tests for sniffing the types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:24:34 -07:00
Chris Double
af9559fd5b
Bug 759945 - Part 3: Android OS headers and stub files for software decoding using libstagefright on Android - r=cpearce
...
--HG--
extra : rebase_source : 0f5b9fed7dac3040a98af6dcc324407c4f8a9772
2012-08-10 20:15:20 +12:00
Bobby Holley
1895527d8c
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Ed Morley
2c3082317d
Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141
2012-08-08 13:11:34 +01:00
Paul Adenot
886438d841
Bug 567077 - Sniff types of media files that are served with no Content-Type -- Tests r=cpearce
2012-08-07 15:56:25 -07:00
Robert O'Callahan
cc1037deb4
Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce
2012-08-03 15:22:24 +12:00
Ralph Giles
cc925b4965
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
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Benoit Jacob
63b249863c
Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher
2012-06-08 13:41:38 -04:00
Matt Brubeck
9ff37e55e1
Back out bug 759221 and bug 761326 because of media test failures
2012-06-08 12:20:14 -07:00
Benoit Jacob
b4efaa609d
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
ed660ec50d
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
b6f1345f82
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
47bc5ed443
Bug 462960 - Add tests for the played member. r=cpearce
2012-04-30 20:29:29 -04:00
Paul ADENOT
7315f8263d
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
1e73b1f546
Bug 646331. Fix duration of big.wav. r=cpearce
2012-03-19 12:36:06 +13:00
Chris Pearce
d696c122f9
Bug 713381 - Queue media decode thread creation when limit reached. r=roc
2012-01-20 07:30:29 +13:00
Chris Pearce
7894822b60
Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout
2012-01-19 11:56:54 +13:00
Chris Pearce
af5662affd
Bug 713381 - Queue media decode thread creation when limit reached. r=roc
2012-01-19 09:15:57 +13:00
Chris Pearce
410d27044f
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
cc0f868b9b
Bug 687972 - Add some verification to MediaTestManager. r=roc
2011-11-29 12:17:09 +13:00
Robert O'Callahan
5215c01596
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
84c543bfb3
Backing out part of bug 703379 to fix build failure of nsRawReader
2011-11-24 12:30:03 +13:00
Robert O'Callahan
1c6682c9c8
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
774c08666b
Bug 683421 - Make MediaTestManager less 'batchy'. r=kinetik
2011-08-31 15:38:10 +12:00
Chris Double
cc675370ca
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
f582e1c46c
Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce
2011-08-09 12:10:48 +02:00
Chris Pearce
f288cf29c0
Bug 675747 - Handle multiple bos pages in a single ogg bitstream. r=doublec
2011-08-05 08:44:24 +12:00
Marco Bonardo
698a0be832
Backout changesets e0aab5011b70, 0040f406ea6d (Bug 462959) due to intermittent crashes in its own test.
2011-08-02 23:36:14 +02:00
Paul ADENOT
4d002d256c
Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik
2011-07-03 11:53:39 +02:00
Chris Pearce
73f0b3659e
Bug 592833 - Move seeking to the decode thread. r=roc
2011-07-12 15:39:25 +12:00
Chris Pearce
db70e38a67
Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik
2011-04-14 10:12:23 +12:00
Chris Double
7ee1f56a07
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
bed980d822
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
4854b37ebb
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
5273d0a8c0
Backed out changeset 2e49069ac1ad
2011-02-14 21:25:20 -08:00
Wes Johnston
42e0194fd9
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
ba2c53afe2
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
7ccc3a7d9d
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
ba5cd52aca
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
7e2cd80c98
Bug 604067 Backed out changeset 3a1bc45d5a54 a=backout
2010-10-17 09:59:29 +13:00
Chris Pearce
4af0668cb5
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
9b7b34eac2
Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0
2010-10-07 11:58:36 +13:00
Chris Double
6a69d85950
Bug 588312 - Set video.currentTime to seek time when seek starts - r=kinetik a=blocking2.0
2010-09-10 14:48:36 +12:00