Commit Graph

543 Commits

Author SHA1 Message Date
Chris Pearce
5c3547d9d9 Bug 485288 - Ensure video context menu doesn't show when video's source children don't contain a resource. r=dolske a=blocking2.0 2010-09-03 12:03:03 +12:00
Chris Pearce
6a92a3da34 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
Dan Witte
191bf49d47 Merge e10s -> m-c. 2010-08-30 15:35:24 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Chris Pearce
235e5f8ab9 Bug 586924 - Disable test_progress's often failing test. a=test-fix 2010-08-30 15:19:53 +12:00
Chris Pearce
5ee22d4049 Bug 591847 - Don't test audio write API when the audio hardware is disabled. a=test-fix 2010-08-30 15:19:48 +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
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Chris Pearce
22258c3785 Bug 589467 - Shutdown idle media state machine threads. r=kinetik a=sicking 2010-08-25 20:45:45 +12:00
Matthew Gregan
a0e62bf5cd Bug 589071 - Avoid shutting down nsAudioStream when another thread may be using it. r=doublec a=roc 2010-08-24 14:06:14 +12:00
Chris Pearce
b1b1746c37 Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc
--HG--
rename : content/html/content/src/nsHTMLMediaError.cpp => content/html/content/src/nsMediaError.cpp
rename : content/html/content/src/nsHTMLMediaError.h => content/html/content/src/nsMediaError.h
rename : content/html/content/src/nsHTMLTimeRanges.cpp => content/html/content/src/nsTimeRanges.cpp
rename : content/html/content/src/nsHTMLTimeRanges.h => content/html/content/src/nsTimeRanges.h
rename : dom/interfaces/html/nsIDOMHTMLMediaError.idl => dom/interfaces/html/nsIDOMMediaError.idl
rename : dom/interfaces/html/nsIDOMHTMLTimeRanges.idl => dom/interfaces/html/nsIDOMTimeRanges.idl
2010-08-25 20:43:00 +12:00
Dan Witte
f2000be3eb Merge. 2010-08-23 17:30:33 -07:00
Dan Witte
72137223d8 Merge. 2010-08-21 13:51:54 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Matthew Gregan
db5495b891 Bug 589069 - Take decoder lock earlier in MetadataLoaded to protect mDecoderPosition access. r=doublec, a=roc 2010-08-23 14:31:14 +12:00
Matthew Gregan
188c77ba33 Bug 589048 - Destroy vpx_codec_ctx when destroying nsWebMReader. r=doublec, a=roc 2010-08-23 14:50:43 +12:00
Karl Tomlinson
9262413ddf backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12:00
Phil Ringnalda
69f34402f7 Bug 567954 - disable test_mixed_principals.html for constant orange, a=test-only
--HG--
extra : rebase_source : d94eea2b4b539db58be101b15774171ce5a85f66
2010-08-20 18:46:19 -07:00
Chris Pearce
340b0f35a6 Bug 548523 - Disable test_preload_actions.html case 9 until bug 568402 is fixed. a=test-fix 2010-08-20 10:50:37 +12:00
Rich Dougherty ext:(%2C%20Chris%20Pearce%20%3Cchris%40pearce.org.nz%3E)
eccf17ee01 Bug 548523 - Replace HTMLMediaElement.autobuffer attribute with 'preload'. r=roc a=blocking2.0
--HG--
rename : content/media/test/test_autobuffer.html => content/media/test/test_preload_attribute.html
rename : content/media/test/test_autobuffer2.html => content/media/test/test_preload_suspend.html
2010-08-20 10:50:37 +12:00
Chris Pearce
b07055071f Bug 519897 - Supported indexed Ogg files. r=doublec 2010-08-20 10:50:37 +12:00
Ted Mielczarek
be942c946d Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures. 2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-17 09:40:00 -04:00
Chris Pearce
f4cb763eeb Replaces some \c\r with \n. a=bustage-fix 2010-08-18 14:17:50 +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
Markus Stange
438fa8a236 Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc 2010-08-13 15:36:13 +02:00
Matthew Gregan
fde29262a3 Bug 585864 - Increase media cache block size from 4kB to 32kB. r=roc a=roc 2010-08-13 12:41:47 +12:00
Matthew Gregan
e5fbf40ca5 Bug 586535 - Reduce delay in volume changes on OS X by using sydneyaudio volume control. r=doublec a=blocking2.0 2010-08-12 13:52:36 +12:00
Chris Pearce
4f879008f2 Bug 576539 - Only reset playback when seeking to a new position. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00
Chris Pearce
024df6be76 Bug 576539 - Factor out decoding to target time after seek, to enable seeking into WebM regions with no audio samples. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +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
Chris Pearce
0166bdadc4 Bug 576539 - Move integer overflow code in video decoders into VideoUtils.cpp/h. r=kinetik a=blocking2.0 2010-08-13 14:28:15 +12:00
Matthew Gregan
ffcc5cc81a Bug 569301 - Add on* event handler property support for media events. r=smaug 2010-08-02 17:53:45 +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
Chris Pearce
ec5a28e946 Bug 462957 - HTMLTimeRanges out of bounds check should not be off by 1. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
1ff7ef5cbf Bug 462957 - Stubs for buffered for WebM and raw video. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
fe0c15afe6 Bug 462957 - Test case for HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
3a5db791b8 Bug 462957 - Pin media stream while seeking. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
6c349be715 Bug 462957 - Ogg support for HTMLMediaElement.buffered. r=doublec a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
5b3f95c50c Bug 462957 - WAV support for HTMLMediaElement.buffered. r=kinetik a=blocking2.0 2010-08-05 19:40:35 +12:00
Chris Pearce
fb117ca2e7 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Chris Double
9c9fb70b28 Bug 489071 - Send correct Accept header when requesting <video> and <audio> resources - r=roc
--HG--
extra : rebase_source : fefb3792e2c69919fb7fcb87ef04df80f2766364
2010-07-29 16:58:07 +12:00
Kyle Huey
6c1df0af47 Bug 573050: Properly initialize variables to avoid mallocing on bad data in the raw decoder. r=doublec 2010-07-26 12:36:20 -07: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
Chris Pearce
86e38ce4c9 Bug 534571 - Enable reloads from audio source child to work. r=roc a=blocking2.0 2010-07-26 10:45:18 +12:00
Chris Pearce
6aa46b1e86 Bug 543769 - Buffer non-autobuffer videos upon first playback to ensure smooth playback. r=roc a=blocking2.0 2010-07-23 10:48:32 +12:00
Matthew Gregan
6000056e18 Bug 579812. Recompute frame end time when recomputing frame start time in DecodeVideoFrame. r=doublec 2010-07-20 13:29:30 +12:00
Matthew Gregan
f92805c547 Bug 577871. Enable more WebM tests. r=doublec 2010-07-20 13:29:28 +12:00
Robert O'Callahan
7e335145c1 Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec 2010-07-20 13:29:27 +12:00
Robert O'Callahan
1917c1d836 Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
timeless@mozdev.org
7ce2929905 Bug 577894 nsOggReader::SeekBisection doesn't need old_offset_end/old_offset_start
r=doublec

--HG--
extra : rebase_source : 27fd73730b78e21a154873536dae97fc81c8bf5b
2010-07-11 14:08:36 +03:00
timeless@mozdev.org
ba64d2d489 Bug 569470 useless casts in VideoData::Create
r=cpearce

--HG--
extra : rebase_source : 4778ca5fea10adea2b9810dc95b267ec7f8a06c5
2010-06-02 10:03:10 +03:00
timeless@mozdev.org
07d05cf732 Bug 565322 deadcode in nsOggReader::FindEndTime if !codecState
r=cpearce

--HG--
extra : rebase_source : d386c3e6d9524a86a7c4fe420c756e9352a48330
2010-05-25 17:34:09 +03:00
Matthew Gregan
a6f6401420 Bug 572299 - Stuttering audio playback with some Vorbis files (ffmpeg muxed). r=cpearce 2010-06-22 02:02:02 +02:00
Matthew Gregan
9ce044175c Bug 573405 - Check Theora frame sizes before initializing decoder. Also, check frame region size as well as picture region size. r=roc 2010-06-21 12:05:41 +12:00
Kyle Huey
60c5aa6fd2 Backed out changeset f54e6386c113
--HG--
extra : rebase_source : 367bf92e0875df1663e79bd6b968cddd677eeb1c
2010-06-19 13:19:25 -07:00
Kyle Huey
5746184f5d Bug 508082: Implement a raw video decoder. r=doublec
--HG--
extra : rebase_source : 2ffc36ceb9cb8407531efa6e7b1f0548e81c170c
2010-06-17 17:36:57 -07:00
Matthew Gregan
0a9ab25039 Bug 572515 - Crash in [@ nsMediaCacheStream::~nsMediaCacheStream()] if nsMediaCache fails to init. r=roc 2010-06-17 21:46:28 +02:00
Matthew Gregan
7440095223 Bug 572235 - Increase default media cache size from 50MB to 500MB. r=roc 2010-06-16 11:12:38 +12:00
Matthew Gregan
d7a0f59af6 Bug 571208 - Fix crash in nestegg_free_packet. Only push non-NULL packets into packet queue. r=chris.double 2010-06-11 10:59:15 +12:00
Matthew Gregan
2a541c4870 Bug 571816 - Notify video buffering logic of WebM file reads. r=doublec 2010-06-16 09:56:28 +12:00
Chris Pearce
2a28c408a3 Bug 571442 - nsBuiltinDecoderReader::GetBufferedBytes() operator precedence fix. r=double 2010-06-16 09:56:25 +12:00
Matthew Gregan
673772b5ef Bug 568431 - Remove the requirement for mCallbackPeriod from the generic media backend. r=doublec 2010-05-31 16:02:00 +12:00
Matthew Gregan
ccd1f342d3 Bug 568162 - More accurate frame end time after seeking for WebM. r=cpearce 2010-06-10 15:46:58 +12:00
Matthew Gregan
d9920c12f2 Bug 569187 - Ensure mAudioEndTime is not used uninitialized. r=doublec 2010-06-10 15:46:58 +12:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07: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 Double
2e4e26a8dc Bug 566245 - WebM/VP8 decoder backend. r=kinetik 2010-06-09 11:31:27 +12:00
Chris Double
4852d6d3f6 Bug 566245 - HTMLMediaElement.canPlayType support for WebM. r=roc 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
Jesse Ruderman
7868a1eeba Temporarily turn this assertion into a warning because of frequent random orange. Bug 569108 covers turning it back into an assertion. 2010-05-29 21:51:12 -07:00
Chris Double
63a38282f4 Bug 567056. Rename mAspectRatio to mPixelAspectRatio. r=kinetik 2010-05-24 09:36:10 +12:00
Chris Double
65d3fd13c6 Bug 566501 - Remove unnecessary seek from the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
Chris Double
74c69c884b Bug 566498 - Move duration calculation into the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
Chris Double
2caa6041da Bug 566241 - Decode audio when keyframe skipping even if we've got ample audio. r=cpearce 2010-05-21 09:13:01 +12:00
L. David Baron
2c6dc3f8f0 The assertion on 466607-1.html was also seen on Linux, so just mark all the bug 564603 assertions as cross-platform. (Bug 472557) 2010-05-20 07:44:24 -07:00
Rich Dougherty
2d7164e741 Bug 557982. Use Image objects in the video frame queue so we can avoid making an extra copy as we put frames into the queue. r=kinetik 2010-05-19 15:04:33 +12:00
L. David Baron
5a3066b9bf Add another known assertion annotation in the manifest. (Bug 472557) 2010-05-17 21:00:36 -07:00
L. David Baron
da9829e5f6 Add additional annotation for a random assertion on a crashtest. (Bug 472557) 2010-05-13 19:36:48 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Chris Pearce
9afb4be369 Bug 562840 - Fix audio buffering logic to prevent over eager frame dropping on load. r=kinetik 2010-05-13 12:59:42 +12:00
L. David Baron
468200667f Adjust assertion annotations in crashtest manifest. (Bug 472557) On CLOSED TREE to force another round of builds and see if the network problems are better. 2010-05-08 07:48:52 -07:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Chris Double
cf776b58a1 Bug 563825 - Factor out non-Ogg specific parts of nsOggPlayStateMachine.cpp Part 2 - r=cpearce sr=roc
--HG--
rename : content/media/ogg/nsOggReader.cpp => content/media/nsBuiltinDecoderReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/nsBuiltinDecoderReader.h
rename : content/media/ogg/nsOggPlayStateMachine.cpp => content/media/nsBuiltinDecoderStateMachine.cpp
rename : content/media/ogg/nsOggPlayStateMachine.h => content/media/nsBuiltinDecoderStateMachine.h
extra : rebase_source : ca2b9dced11a077b4eb0d5889cd8a0ff25a4b31f
2010-05-06 14:31:02 +12:00
Chris Double
a2c51b95ef Bug 563825 - Factor out non-Ogg specific parts of nsOggPlayStateMachine.cpp Part 1 - r=cpearce sr=roc
--HG--
rename : content/media/ogg/nsOggReader.cpp => content/media/nsBuiltinDecoderReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/nsBuiltinDecoderReader.h
rename : content/media/ogg/nsOggPlayStateMachine.cpp => content/media/nsBuiltinDecoderStateMachine.cpp
rename : content/media/ogg/nsOggPlayStateMachine.h => content/media/nsBuiltinDecoderStateMachine.h
extra : rebase_source : a5726df63eda9c240db016aaf4e6a92d876fdb68
2010-05-06 14:30:34 +12:00
Daniel Holbert
c8781d13f7 Bug 563849: Fix "possible loss of data" MSVC warnings in nsWaveDecoder.cpp. r=kinetik 2010-05-04 22:22:37 -07:00
timeless@mozdev.org
90cf26650b Bug 562508 - Submitted comparison between signed and unsigned integer expressions in nsOggPlayStateMachine::Run(). r=doublec 2010-04-30 15:04:12 +12:00
timeless@mozdev.org
9fc9a4a7c0 Bug 562585 - AllFrameTimesIncrease defined but not used. r=doublec 2010-04-30 15:03:38 +12:00
Chris Pearce
2cb468725a Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec 2010-04-27 20:53:48 +12:00
Chris Pearce
b97bf1cc37 Bug 556893 - Make playback time remaining accurate in media readyState transition calculation. r=doublec 2010-04-27 20:53:45 +12:00
Chris Pearce
ed2698161b Bug 531340 - Add NS_STACK_CLASS static analysis keyword to video decoder's MonitorAutoExit object. r=roc 2010-04-27 20:53:45 +12:00
Chris Pearce
21bb6d302a Bug 557426 - Only stop Ogg decode to buffer when we're running out of decoded data. r=doublec 2010-04-27 20:53:44 +12:00
Chris Double
22b8517ab1 Bug 560708 - Factor non-Ogg specific logic into decoder base class. r=cpearce sr=roc 2010-04-27 20:53:44 +12:00
Chris Double
11a892c137 Bug 560708 - Rename nsOggDecoder to nsBuiltInDecoder. r=cpearce sr=roc
--HG--
rename : content/media/ogg/nsOggHacks.h => content/media/VideoUtils.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/nsBuiltinDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/nsBuiltinDecoder.h
2010-04-27 20:53:44 +12:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman
2b2bd4076f Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Chris Double
bb7c2f1d03 Bug 560806 - No duration or seeking on Ogg video URL's that redirect - r=roc (CLOSED TREE) 2010-04-22 12:32:52 +12:00