Commit Graph

570 Commits

Author SHA1 Message Date
Jonas Sicking
bdf59c33ee Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Chris Double
bcc17142af Bug 584480 - Send Referer header with media requests - r=roc a=blocking2.0 2010-09-17 05:36:23 +12:00
Chris Double
17036671f9 Bug 557479 - Auto manage VideoData and SoundData objects. r=cpearce a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce
2fd7f9bd66 Bug 589626 - Update media readystate when crossing HAVE_FUTURE/HAVE_ENOUGH_DATA audio boundary. r=roc a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce
5e2fd3c5ad Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce
8449b054fc Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0 2010-09-14 16:24:47 -07:00
Matthew Gregan
3367b0ec43 Bustage fix for bug 570904. a=bustage-fix 2010-09-14 20:23:33 +12:00
Chris Double
f66fdd1a99 Bug 571822 - Fire timeupdate event less frequently than once per frame - r=kinetik a=blocking2.0 2010-09-10 17:49:26 +12:00
Chris Double
9c0d8b2cee Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0 2010-09-10 15:29:06 +12:00
Matthew Gregan
c944fb3919 Bug 596111 - Don't assume first WebM track is video. Seek using mVideoTrack (or mAudioTrack if there's no video). r=doublec 2010-09-14 13:46:48 +12:00
Matthew Gregan
48fd3a8330 Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45:50 +12:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Chris Pearce
161faa4b9d Bug 580876 - Add debugging logging to figure out if we've got a type error a=test-fix 2010-09-09 11:58:18 +12:00
Chris Pearce
d6bef38541 Bug 589626 - Commit merge of backout. a=backout 2010-09-06 16:54:16 +12:00
Chris Pearce
b7a9c66fcf Backed out changeset 619459aa5005 a=backout 2010-09-06 16:53:39 +12:00
Chris Pearce
bed885f419 Bug 589626 merge backout. a=backout 2010-09-06 16:53:03 +12:00
Chris Pearce
519835622d Backed out changeset 528a97f6bc3b a=backout 2010-09-06 16:52:22 +12:00
Chris Pearce
d633f30def Bug 578804 - Defer media volume to the audio thread. r=kinetik a=blocking2.0 2010-09-06 14:14:50 +12:00
Chris Pearce
593a071711 Bug 593528 - Ensure audioavailable frame buffer memory is always freed. r=kinetik a=blocking2.0 2010-09-06 14:14:50 +12:00
Chris Pearce
59f916fab5 Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 14:14:43 +12:00
Chris Pearce
c673663a39 Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 11:59:50 +12:00
Marco Bonardo
b5f938275c Backed out changeset 96b74fec2915 2010-09-11 11:17:11 +02:00
Chris Double
417b0c1a00 Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0 2010-09-10 15:29:06 +12: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
a146561fe9 Bug 589626 - Backed out changeset 757b7a43aad0 a=backout 2010-09-11 14:08:12 +12:00
Chris Pearce
8441595dcc Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0 2010-09-11 11:29:11 +12:00
Chris Pearce
280fb8412f Bug 593074 - Prevent multiple test finish from causing errors. a=test-fix 2010-09-03 12:03:03 +12:00
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