Commit Graph

1085 Commits

Author SHA1 Message Date
Bill McCloskey
6b3aa0565d Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Robert O'Callahan
dea0c5b319 Bug 727694. Set up new mDecoderStateMachine with any preset initial volume. r=cpearce 2012-02-16 17:17:36 +13:00
Robert O'Callahan
ad4c67538b Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00
Robert O'Callahan
8b57a3e190 Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec 2012-02-15 17:35:01 +13:00
Robert O'Callahan
30f3e3e857 Bug 726891. Move rate/channels/format up to nsAudioStream and add inline getters. r=kinetik 2012-02-14 17:39:33 +13:00
Chris Pearce
a8858bf744 Bug 673698 - Don't update video playback position during seek. r=roc 2012-02-14 21:48:16 +13:00
Phil Ringnalda
4ef4e9a277 Back out 7f81109133b5 (bug 725221), 135721f3720b (bug 726891), aef4ead175b4 (bug 726894) for orange 2012-02-13 22:31:22 -08:00
Robert O'Callahan
7e49a0a41c Bug 726891. Move rate/channels/format up to nsAudioStream and add inline getters. r=kinetik 2012-02-14 17:39:33 +13:00
Joe Olivas
6453e0bff8 Bug 725152 - Only use force_stereo_mode pref if it's explicitly set. r=kinetik 2012-02-14 15:35:26 +13:00
Zack Weinberg
3e37aa2a65 Bug 682141 band-aid: add another todo missed the first time. r=cpearce 2012-02-05 20:32:43 -08:00
Matthew Gregan
bf2bef38cb Bug 723781 - Disable libcubeb for now.
--HG--
extra : rebase_source : 23c5d8448d65e2b18a10e61e079f44f261cdb71a
2012-02-03 21:31:43 +13:00
Phil Ringnalda
fd99423d49 Back out 60fc46d5b1ca (bug 723793) for Windows crashtest assertions
--HG--
extra : rebase_source : 6ca69e6016ed2c1699315b7a1f7d632903857a33
2012-02-02 23:33:08 -08:00
Matthew Gregan
c7f2939f94 Bug 723793 - Lazily initialize libcubeb on first use. r=roc 2012-02-03 16:01:40 +13:00
Matthew Gregan
1e41289b57 Bug 677138 - Integrate libcubeb into a buffered nsAudioStream API. r=cpearce 2012-01-13 10:20:36 +13:00
Ed Morley
14dbcc2bc2 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura
7d692e41fd Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Chris DeCairos
87c0079e11 Bug 715323 - Make offset paramater in NotifyDataArrived PRInt64 r=cpearce 2012-02-01 11:05:51 +13:00
Chris Pearce
c7b6d7ccdc Bug 715469 - Make video full-screen button use background image, so it doesn't fire a load event. r=gavin 2012-01-30 20:04:44 +13:00
Jon Buckley
a1ada7a67d Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Christopher De Cairos
57cbddb595 Bug 686137 - Make nsMediaDecoder::RequestFrameBufferLength virtual. r=kinetik 2012-01-25 13:38:23 +13:00
Christopher De Cairos
3fd6013dea Bug 686137 - Add test for setting mozFrameBufferLength. r=kinetik 2012-01-25 13:38:22 +13:00
Chris Pearce
8f31983afb Bug 717026 - Change test to not play() media to avoid audio thread destruction bottleneck. r=roc 2012-01-20 07:31:03 +13:00
Chris Pearce
eb006e51ef Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-20 07:30:29 +13:00
Chris Pearce
399643a27c Bug 713381 - Add null check on decoder state machine, increase media thread limit. r=roc 2012-01-20 07:29:12 +13:00
Chris Pearce
92dea45444 Bug 717026 - Ensure libsydneyaudio windows block size is an even multiple of channels*frame_size. r=kinetik 2012-01-19 14:11:51 +13:00
Chris Pearce
feca30f47a Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout 2012-01-19 11:56:54 +13:00
Chris Pearce
c7db97f406 Bug 713381 - Queue media decode thread creation when limit reached. r=roc 2012-01-19 09:15:57 +13:00
Chris Pearce
f8ec2fc9d5 Bug 713381 - Add null check on decoder state machine. r=roc 2012-01-19 09:15:47 +13:00
Ms2ger
10ae9ad9d2 Merge m-c to m-i. 2012-01-11 12:15:35 +01:00
Ms2ger
f721014338 Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted 2012-01-11 09:23:07 +01:00
Chris Pearce
451d64779a Bug 712738 - Cap seeking outside of buffered data in live streams to end of buffered data. r=kinetik 2012-01-06 19:40:51 +13:00
Chris Pearce
176bb0c176 Bug 716417 - Don't add media elements to the element table twice if when we hit decode thread limit. r=roc 2012-01-11 11:58:43 +13:00
Kyle Huey
dca538b319 Bug 714445: nsWebMReader should not read preferences off the main thread. r=roc 2012-01-01 12:10:49 -05:00
Plop
8729f22343 Bug 711446: Test defaultMuted with reflect.js; r=Ms2ger 2011-12-28 09:13:37 +01:00
Ed Morley
ea70443fc2 Backout b02402b95e5c (bug 708277) for build failures on all platforms 2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
9e1bfdef23 Bug 708277 - Replace PR_MAX with NS_MAX. r=roc 2011-12-22 11:47:59 +01:00
Jeff Walden
279c3635c0 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Andrew Quartey
e782621700 Bug 706731: Support for defaultMuted DOM attribute on media elements. r=kinetik,bzbarsky 2011-12-15 14:36:46 -05:00
Robert O'Callahan
5201645780 Bug 687972. Remove logging that we added to hunt down the bug. 2011-12-15 23:26:42 +13:00
Robert O'Callahan
c67f8a67e7 Bug 687972. Ignore closed streams when computing whether all streams for the resource are suspended. r=cpearce 2011-12-15 23:26:42 +13:00
Ehsan Akhgari
15fc5f3def Bug 709721 - Part 2: Access vpx_codec_vp8_dx_algo through the function accessor to make things work cross-modules. r=cpearce 2011-12-15 06:40:22 +01:00
Andrew Quartey
e51c16190c Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Robert O'Callahan
937c660084 Bug 687972. More logging. 2011-12-09 17:48:40 +13:00
Jeff Walden
461e38f5e8 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Robert O'Callahan
c81f0548a8 Bug 687972. Set mCacheSuspended/mChannelEnded flags on all streams *before* calling CacheClientSeek/Resume/Suspend on any stream, because nsMediaChannelStream::CacheClientSuspend will call nsBuiltinDecoder::NotifySuspendedStatusChanged which will call nsMediaChannelStream::IsSuspendedByCache which will call nsMediaCacheStream::AreAllStreamsForResourceSuspended which relies on mCacheSuspended/mChannelEnded being set correctly for all streams for that resource. r=doublec 2011-12-02 17:43:42 +13:00
Robert O'Callahan
7bbc460e15 Bug 687972. Even more logging... 2011-12-02 10:19:43 +13:00
Robert O'Callahan
b22f626880 Bug 687952. Fix bustage 2011-12-01 23:32:11 +13:00
Robert O'Callahan
30ee186c84 Bug 687972. More logging... 2011-12-01 23:16:26 +13:00
Brad Lassey
fb38b7fab8 Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange 2011-11-30 22:59:00 -05:00
Robert O'Callahan
b1c2e62040 Bug 687972. Remove logging code now that we've fixed the bug. 2011-12-01 15:49:50 +13:00
Robert O'Callahan
cc9cc9085f Bug 687972. Don't count streams whose channel has ended when looking to see if there's any non-suspended stream for a resource. r=cpearce 2011-12-01 12:09:10 +13:00
Robert O'Callahan
4ef340dbbe Bug 687972. Add a little bit more logging. 2011-12-01 00:16:19 +13:00
Robert O'Callahan
508f509754 Bug 687972. Try 2: Run autoplay for an element after reaching loadedmetadata if all download streams for its resource are suspended by the media cache. r=cpearce 2011-11-30 18:05:49 +13:00
Chris Pearce
8e92cfdc4c 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
Robert O'Callahan
f5d5e833e0 Adding more logging to try to track down bug 687972. 2011-11-29 16:12:40 +13:00
Chris Pearce
eb3d8c40bf Bug 687972 - Add some verification to MediaTestManager. r=roc 2011-11-29 12:17:09 +13:00
Robert O'Callahan
7cda52b8aa 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
882adb220d Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Matthew Gregan
47a096373a Bug 695986 - Fix bug 669556 on Android. r=cpearce 2011-11-22 13:17:38 +13:00
Robert O'Callahan
e5c5e6b988 Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
f734db7521 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
Robert O'Callahan
84b2fe0e79 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-24 12:05:12 +13:00
Robert O'Callahan
4422937668 Bug 703379. Fire CacheClientNotifyDataEnded when we clone a decoder which has already reached the end of the download. r=doublec 2011-11-24 12:05:12 +13:00
Robert O'Callahan
a9dfd68f0f Bug 703379. Part 3: Ensure that we can extract the data from any partially-read blocks held by any stream for a given resource. r=doublec 2011-11-24 12:01:50 +13:00
Robert O'Callahan
71e8a8e2cf Bug 680275. Fix test to ensure that window always gets closed. r=doublec 2011-11-24 12:01:20 +13:00
Chris Pearce
011644c901 Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13:00
Matthew Gregan
37527f99d1 Bug 449157 - Implement loop attribute on media elements. r=roc 2011-11-21 11:59:01 +13:00
Matthew Gregan
9a55d137ce Bug 700555 - Add null check in nsBuiltinDecoder::NotifyDataArrived. r=doublec 2011-11-09 15:42:26 +13:00
Chris Double
aa378fd6c7 Bug 691096 - Add test - r=cpearce
--HG--
extra : rebase_source : 076426e90960bbd0d60fc2186a93722734677d89
2011-11-08 14:38:22 +13:00
Chris Double
f1d1615de6 Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce
--HG--
extra : rebase_source : b82ea2e14028f625ea247e93ca6be427e5db815d
2011-11-08 14:38:17 +13:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Marco Bonardo
65c8b48385 Backout 12744c5b688d, edefcb820429 to investigate Android C1 permaorange. 2011-11-03 09:24:02 +01:00
Chris Double
c60855051a Bug 691096 - Add test - r=cpearce
--HG--
extra : rebase_source : c2758165d8ef6bd31d180588efe9dfd0023d0707
2011-11-03 14:58:59 +13:00
Chris Double
3bb5a85868 Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce
--HG--
extra : rebase_source : 23bc74b97aa678f47e812351a9443cbf223f808e
2011-11-03 14:58:54 +13:00
Ralph Giles
73cf8b6e2e Bug 695102 - fix a comment typo. r=cpearce 2011-10-20 10:08:59 +02:00
Matthew Gregan
960adf1dad Bug 693095 - Fix audio stream position estimation for remoted streams. Also resurrect audio thread wait removed in bug 669556 when using remoted audio streams. r=cpearce 2011-10-19 18:29:08 +13:00
Chris Double
fa522acee3 Bug 686957 - Display final frame of video when seeking to end - r=kinetik
--HG--
extra : rebase_source : 4ba333f6de5d287f1b37cee7b4b34adb93bb4e85
2011-09-30 17:15:24 +13:00
Chris Double
aa7ee53711 Bug 686942 - Add test - r=kinetik
--HG--
extra : rebase_source : 722b14f4731f46c598c1dcc2b7495a1f0f133e77
2011-09-30 17:13:15 +13:00
Matthew Gregan
ea722d8a5a Bug 669556 - Calculate OS X sydneyaudio buffer sizes by time, and shrink buffers to 1000ms. Remove buffer refill wait from nsBuiltinDecoderStateMachine::AudioLoop as the buffer fullness estimation is inaccurate. r=cpearce 2011-10-03 15:14:32 +13:00
Matthew Gregan
b91f76289a Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec 2011-09-30 12:34:37 +13:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matthew Gregan
bd4295528f Bug 689432 - Disambiguate use of "samples" by introducing "frames" in a number of places. r=doublec 2011-09-27 16:31:18 +13:00
Chris Double
bd6768da6d Bug 686942: respect pause state when seeking to end and beginning of videos - r=kinetik
--HG--
extra : rebase_source : 9d698ae2e8731040fa8f40b90164889b5a8b5e23
2011-09-27 15:22:09 +13:00
Fabrice Desré
710899e3ab Bug 659188 - Android and media parts [r=blassey] [r=cpearce] 2011-09-26 17:25:41 -07:00
Matthew Gregan
8579719cfc Bug 688516 - Null check mElement before use in NotifyDownloadEnded and AudioAvailable. r=cpearce 2011-09-23 16:27:18 +12:00
Matthew Gregan
49589fa033 Bug 682593 - Avoid possible null dereference during state machine shutdown. r=cpearce 2011-09-21 19:01:00 +12:00
Martin Richard
398b044837 Bug 646333 - Make video constants consistently const T. r=cpearce 2011-09-15 07:39:50 +12:00
Ehsan Akhgari
8718a82f9d Backout changesets 8e9aea2febed, 604544452285 and 9f150c4e1a48 because of Mac OS X 32-bit reftest orange
--HG--
extra : rebase_source : dbc017628f469e980efc8edfa26f8cce0ac7a956
2011-09-08 11:30:22 -04:00
Oleg Romashin
9427b94ce8 Bug 685258 - Pulse audio backend does not check provided playback and crashes r=derf 2011-09-08 12:51:25 +02:00
Felix Fung
1efc4b73a9 Bug 577266 - Correct misspellings in source code: 'verion' -> 'version' 2011-09-06 22:50:26 -07:00
Chris Pearce
20ce360676 Bug 683421 - Make MediaTestManager less 'batchy'. r=kinetik 2011-08-31 15:38:10 +12:00
Chris Double
6282bd0d7d Bug 679262 - Seeking to end of file during loadedmetadata event breaks further playback - r=cpearce
--HG--
extra : rebase_source : 1ecffe9613128724e38060d44a46a5bdbcc6fb18
2011-08-29 13:35:52 +12:00
Chris Double
017ca5a5d8 Bug 682141 - Mark test that reads video fragment end time as todo due to intermittent timing issues related to sound buffers - r=cpearce
--HG--
extra : rebase_source : 0cf9bb517b727fa1f163f80d22d62ea0bddff7a3
2011-08-29 13:33:07 +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
Chris Double
1e5e4609a1 Bug 648595 - Part 1/2: Implement temporal dimension portion of Media Fragments URI specification for video/audio - r=cpearce
--HG--
extra : rebase_source : f9b5986e739a091c37caeb882904434f21fb6d81
2011-08-25 11:42:23 +12:00
Chris Pearce
74aeb8ac09 Bug 671745 - Remove another unnecessary and orange-inducing play() in test_replay_metadata. r=kinetik 2011-08-23 10:35:22 +12:00
Josh Matthews
9a5037c360 Bug 680275 - Ensure that the video load begins before adding the video to a new document. r=roc 2011-08-18 18:38:26 -04:00
Chris Pearce
858ae394a1 Bug 671745 - Remove unnecessary and orange-inducing play() in test_replay_metadata. r=doublec 2011-08-18 16:41:24 +12:00
Matthew Gregan
1eaa941a74 Bug 679269 - Rename SoundData{,Value} to AudioData{,Value} and fix inconsistent use of "sound" vs "audio". r=doublec 2011-08-16 17:19:51 +12:00
Matthew Gregan
f0cf2aa37d Bug 679261 - sa_stream_get_min_write should return a result in bytes, not frames. r=cpearce 2011-08-16 15:47:45 +12:00
Matthew Gregan
6a2291960b Bug 623444 - Remove unused non-blocking code from nsAudioStream. r=doublec 2011-08-08 12:51:04 +12:00
Chris Pearce
4c092f1160 Bug 665344 - Ensure minWriteSamples samples written before sleeping in AudioLoop drain. r=kinetik 2011-08-16 15:32:10 +12:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Paul ADENOT
36cf6a91a7 Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Daniel Holbert
aaace3b649 Bug 678256: Fix init list warning for nsBuiltinDecoderStateMachine. r=cpearce 2011-08-11 15:19:56 -07: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
Chris Double
155df8e73f Bug 666132: Account for trailing data in the last frame of audio data in ogg backend debug code - r=cpearce 2011-08-03 15:08:56 +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
Matthew Gregan
d378429e10 Bug 675630 - Fix null dereference in media memory reporter. r=cpearce 2011-08-02 15:21:52 +12:00
Paul ADENOT
99d65b2f85 Bug 619752 part 1 - Duration should be +Inf on infinite length video streams. Core changes and corresponding test fixes. r=cpearce 2011-08-01 14:11:20 -04:00
Chris Pearce
b97df9d7cd Bug 675045 - Abort DecodeToTarget() when we detect a poorly muxed file. r=kinetik 2011-08-01 14:45:58 +12:00
David Volgyes
2b21de9549 Bug 673154 - Use nsAutoArrayPtr for SoundDataValue allocations to simplify ownership. r=cpearce 2011-07-29 13:54:21 +12:00
Matthew Gregan
db3428cfec Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe 2011-07-22 15:17:23 +12:00
Chris Pearce
7ee610a982 Bug 664341 - Specify media decoder's thread stack size. r=kinetik 2011-07-27 15:28:03 +12:00
Matthew Gregan
5ed522c02f Bug 645773 - Reorder a sensitive computation to avoid signed vs unsigned issues. Return a null range from SelectSeekRange when stream length is unknown. r=cpearce 2011-04-01 17:18:43 +13:00
Chris Pearce
0cf7b30f03 Bug 671438 - Make nsOggCodecState::PacketOutUntilGranulepos() return an error on failure. r=doublec 2011-07-19 09:36:30 +12:00
Chris Pearce
c863a795c0 Bug 671978 - Make nsRawReader build after changes added in bug 592833. r=doublec 2011-07-19 09:35:58 +12:00
Chris Pearce
f2608ac6df Bug 670726 - Remove ns{Ogg,WebM}Reader::CanDecodeToTarget(), it makes invalid assumptions. r=kinetik 2011-07-14 09:24:35 +12:00
Chris Pearce
29ce960c4b Bug 592833 - Don't hold decoder monitor while audio stream does sync dispatch to main thread (on Android). r=roc 2011-07-12 15:40:38 +12:00
Chris Pearce
94901f979a Bug 592833 - Update comments for new video decoder thread model. r=roc 2011-07-12 15:39:39 +12:00
Chris Pearce
ea5c48904a Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc 2011-07-12 15:39:37 +12:00
Chris Pearce
f75f5e57e5 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-12 15:39:34 +12:00
Chris Pearce
09f21e3e39 Bug 592833 - Run media state machine as a series of events. r=roc 2011-07-12 15:39:32 +12:00
Chris Pearce
8505e98e72 Bug 592833 - Move audio stream management to audio thread. r=? 2011-07-12 15:39:30 +12:00
Chris Pearce
fabed158ed Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc 2011-07-12 15:39:28 +12:00
Chris Pearce
1e2942a0a5 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-12 15:39:25 +12:00
Chris Pearce
b6b4964da4 Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-12 15:39:23 +12:00
Chris Pearce
41ca01723d Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc 2011-07-12 15:39:10 +12:00
Chris Pearce
36ee2c9068 Bug 670055 - Seek video to exact audio sample. r=kinetik 2011-07-09 13:10:40 +12:00
Masayuki Nakano
baf54af560 Bug 663039 content should use mozilla::Preferences r=roc+jwatt+chris.double+bjacob 2011-07-07 11:00:02 +09:00
Chris Pearce
740b9b2109 Bug 635726 - Escape backoff in Ogg seek when we back off back to start of seek target range. r=doublec 2011-07-07 09:51:26 +12:00
Chris Pearce
fb29383b24 Bug 635726 - Ignore Ogg header pages in seek timestamp capture. r=doublec 2011-07-07 09:50:44 +12:00
Chris Pearce
a24dd67388 Bug 592833 - Backout due to suspected android crashtest permaorange. r=philor 2011-07-06 19:21:49 +12:00
Chris Pearce
560834288e Bug592833 - Update comments for new video decoder thread model. r=roc 2011-07-06 10:05:25 +12:00
Chris Pearce
ddcb51609e Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc 2011-07-06 10:05:24 +12:00
Chris Pearce
85587ab2a6 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-06 10:05:24 +12:00
Chris Pearce
c5544bacac Bug 592833 - Run media state machine as a series of events. r=roc 2011-07-06 10:05:24 +12:00
Chris Pearce
ae862e3479 Bug 592833 - Move audio stream management to audio thread. r=roc 2011-07-06 10:05:08 +12:00
Chris Pearce
0811c3e838 Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc 2011-07-06 10:03:32 +12:00
Chris Pearce
7da896cb74 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-06 10:03:21 +12:00
Chris Pearce
863da21429 Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-06 10:03:11 +12:00
Chris Pearce
995f75ab9e Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc 2011-07-06 10:03:01 +12:00
Daniel Holbert
b05ff8ffad Bug 669237: Fix init list order in nsBuiltinDecoderReader.h r=cpearce 2011-07-04 18:31:28 -07:00
Phil Ringnalda
902b4e6f6f Back out 29ec386d969f and ed18b0cca283 (bug 462959) for a very frequent assertion loop in test_played.html 2011-07-03 18:26:00 -07:00
Paul ADENOT
0ffaf34b2d Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik 2011-07-03 11:53:39 +02:00
Chris Pearce
55651bb5b6 Bug 655648 - Update media readyState more often, exit decode thread when decode finishes. r=kinetik 2011-07-01 11:00:22 +12:00
Paul ADENOT
913b92aa91 Bug 667929 - OGG media buffered member is not correct when the stream is infinite; r=cpearce 2011-06-30 14:25:27 +02:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Chris Pearce
b364e365c4 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Ed Morley
ae93e8e8ed Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc 2011-06-21 17:37:45 +02:00
Chris Pearce
b17cf981d7 Bug 664354 - Make nsBuiltinDecoderStateMachine::GetUndecodedData() return result in usecs. r=roc 2011-06-15 14:26:33 +12:00
Chris Pearce
0ce10721e9 Bug 655648 - Don't enqueue expired theora frames. r=roc 2011-06-09 08:56:45 +12:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ed Morley
9e71e5b9ac Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano
2b6aea130f Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano
4dede19235 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano
1f171993d1 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Michael Wu
25810946a8 Bug 656804 - build broken with --enable-raw r=blassey a=gavin 2011-05-23 17:23:13 -07:00
Chris Pearce
ecc5e88894 Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc 2011-05-19 21:00:39 +12:00
Chris Pearce
7245639e75 Bug 652475 - Add media.volume_scale pref to scale output volume without changing reported volume. r=roc 2011-05-19 09:12:25 +12:00
Paul ADENOT
fd896d6eec Bug 620331 - Remote nsAudioStreamRemote::GetMinWriteSamples; r=kinetik 2011-05-15 12:53:55 +02:00
Chris Pearce
6d6e37a982 Bug 651023 - Round up wait times to 1ms to ensure we drop the decoder monitor when presenting video frames. r=kinetik 2011-05-12 14:02:34 +12:00
Chris Pearce
055f6af4bb Bug 656480 - Make test_bug495300 use MediaTestManager. r=roc 2011-05-12 14:02:34 +12:00
Chris Pearce
c47b80f93b Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Chris Pearce
ccae22ade2 Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Paul ADENOT
2d28100bc1 Bug 654956 : Added private: statement in nsAudioStreamRemote. r=kinetik 2011-05-05 12:18:06 +02:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Pearce
036c423acb Bug 645773 - Typo fix in nsOggReader::GetSeekRanges(). r=roc 2011-04-26 11:32:08 +12:00
Landry Breuil
ca994ba2b8 Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types. r=roc 2011-04-22 01:16:48 +02:00
Chris Pearce
bf7fe4cec2 Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec 2011-04-15 13:29:54 +12:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Landry Breuil
35dbc89ed2 Bug 633857 - missing #includes for OpenBSD (media part). r=roc 2011-04-14 17:49:29 +09: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 Pearce
a259c20cba Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Yury
7aad392535 Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-11 17:15:45 -04:00
Ehsan Akhgari
19700d3af2 Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange 2011-04-10 02:01:36 -04:00
Yury
07d8571fef Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-09 23:35:12 -04:00
Chris Double
ba8d6f312c Bug 647178 - Don't call Suspend on channel if the channel has completed downloading - r=roc 2011-04-01 22:43:29 +13:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Mats Palmgren
395ec2ab5c Bug 635794 - nsAutoArrayPtr so we get 'operator delete[]' when destroying. r=khuey 2011-04-04 13:41:02 +02:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Pearce
48f5b7cc07 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +13:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Matthew Gregan
498ae5a9a8 Bug 635400 - Null check state machine pointer in GetBuffered. r=cpearce 2011-03-24 18:04:16 +13:00
Matthew Gregan
e9c4f4002b Bug 645593 - Null check mAudioStream before use in PlaySilence. r=cpearce 2011-03-30 18:45:44 +13:00
Chris Double
bd28db8dee Bug 635649 - Refactor Wave backend to use content/media nsBuiltinDecoder framework - r=kinetik
commit c7e190d81b10e7425b53217352c126adfbb79c4a
Author: Chris Double <chris.double@double.co.nz>
Date:   Thu Mar 24 18:09:06 2011 +1300

    Fix
2011-03-30 18:37:42 +13:00
Chris Pearce
d213c7a734 Bug 644045 - Handle Theora granulepos 'pframe' of 0 when decrementing granulepos. r=derf 2011-04-01 11:10:49 +13:00
Chris Pearce
526f101e8a Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-01 11:10:49 +13:00
Chris Double
eddc958618 Bug 646819 - Fix incorrect position calculation in nsWaveDecoder::DecodeAudioData causing OOM - r=kinetik 2011-04-01 03:49:07 +13:00
Chris Pearce
781dcec68c Bug 646766 - Make test_info_leak use MediaTestManager so it can be parallelized. r=roc 2011-04-01 11:10:48 +13:00
Chris Double
85bb421dd4 Bug 646682 - Fix range check in test_wave_data media tests - r=kinetik 2011-03-31 14:08:49 +13:00
L. David Baron
b2e59587e8 Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Jonas Sicking
ca53c7c13a Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
timeless@mozdev.org
ec3adfa1f0 Bug 577904 mark DEBUG only variables as ifdef DEBUG in media
r=doublec
2010-07-11 15:27:27 +03:00
Mounir Lamouri
cc185260b6 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Chris Double
bf27fe5198 Bug 639721 - Fix data race on nsBuiltinDecoderReader::mInfo - r=kinetik
--HG--
extra : rebase_source : 5e58af70c75f563ae7dd7d62e3be897a3c244e85
2011-03-24 16:53:03 +13:00
Chris Double
5acb08ef86 Bug 614445 - delete used to free memory allocated by operator new[] in Ogg backend - r=cpearce
--HG--
extra : rebase_source : 6cbd41821bbe489ab2fa443c57b710aa1527d1e2
2011-02-24 16:53:35 +13: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
Chris Pearce
b767468fb0 Bug 639391 - Ensure WebM GetBuffered() is threadsafe. r=kinetik 2011-03-24 11:28:58 +13:00
Chris Pearce
207244234b Bug 639391 - Ensure Ogg GetBuffered() is threadsafe. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
7e89e95619 Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
efabfc61cf Bug 639391 - Make nsMediaStream responsible for determining cached media data in a threadsafe manner. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
16b3b24b89 Bug 639391 - Push Ogg specific seeking stuff down into nsOggReader. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
2f263be1cb Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
edfec66da5 Bug 628665 - Exit media buffering state quicker if we entered it too soon after starting decode. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
a77b17534e Bug 628665 - Buffer media when low on undecoded data. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
c6a5fc5f37 Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
6cc9a58852 Bug 628665 - Don't enqueue late Theora frames for playback. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
3d57294e8f Bug 638617 - Ensure nsOggReader::FindEndTime() doesn't read outside of cached data bounds, and reports errors properly. r=doublec 2011-03-24 11:28:57 +13:00
Chris Pearce
5522e89bd1 Bug 580531 - Handle multiple frames per chunk per packet in WebM playback statistics. r=kinetik 2011-03-24 11:28:57 +13:00
Chris Pearce
c285d2e2af Bug 580531 - Implement HTMLMediaElement.mozPaintedFrames and mozFrameDelay. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce ext:(%2C%20Chris%20Double%20%3Cchris.double%40double.co.nz%3E)
a74080606c Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc 2011-03-24 11:28:57 +13:00
Joel Maher
368d8a0909 Bug 637660 - add sandbox.Android, and skip a few crashtests so we can run green on Android. r=dbaron, a=tests 2011-03-11 09:15:33 -05:00
Alon Zakai
3145ec77d2 bug 634407 - Going to a canvas based tetris game will cause the content not to redraw r=cdouble a=blocking-fennec 2011-03-07 17:44:49 -08:00
Matthew Gregan
a428e1ccf4 Bug 636894 - Revert bug 634787's change to AUDIO_DURATION_MS to work around a regression in MozAudioAvailable event delivery. r=roc a=roc 2011-03-02 14:40:44 +13:00
Matthew Gregan
b3b3f3320b Bug 546700 - Recover gracefully from servers that send Accept-Ranges but don't. r=roc a=roc 2011-02-21 16:38:29 +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
Matthew Gregan
9dc00ae210 Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc 2011-02-18 16:42:15 +13:00
Chris Pearce
87d3601f97 Bug 627153 - Be less conservative when determining video readyState. r=kinetik a=roc 2011-02-21 10:21:40 +13:00
Doug Turner
ff1d41e7b6 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Mats Palmgren
59d8eaa785 Bug 633164 - Zoomed ogg video renders at the wrong size until I move the mouse. r+a=roc 2011-02-17 17:12:17 +01:00
Wes Johnston
39a572652e Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec 2011-02-15 20:31:08 -08:00
Doug Turner
15b16004ce Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston
d04cf02a60 Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston
6979a59264 Bug 631058 - Set WebM decoder mDataOffset to zero. r=kinetik a=blocking-fennec 2011-02-15 16:54:47 -08: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
Chris Pearce
800f4fd200 Bug 629618 - Correct Ogg seek bisection's backoff and termination. r=doublec a=roc 2011-02-16 11:08:31 +13:00
Matthew Gregan
a442ddf24b Bug 631953 - Check codec is initialized before using cached serial number. r=cpearce a=roc 2011-02-08 15:45:20 +13:00
Ms2ger
2833e49ecc Bug 620359 - Reorder members in nsAudioStreamRemote::nsAudioStreamRemote() constructor; r=kinetik a=dbaron 2011-02-15 13:34:38 -08:00
Matthew Gregan
9e97be122e Bug 633051 - Remove LOAD_BACKGROUND flag from media channel when load completes. r=roc a=roc 2011-02-15 12:21:32 +13:00
Doug Turner
cee16d2b7f Backed ou Johnston – Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
changeset a8d213604ca6
2011-02-14 21:25:06 -08:00
Wes Johnston
1f8d9514ad Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
--HG--
extra : rebase_source : 743cb30aea1bd8cb6e9a189b9142c5ef8abce964
2011-02-14 17:01:03 -08:00
Matthew Gregan
f6eec8c272 Bug 627139 - Report seek target as current time immediately after seeking. r=roc a=roc 2011-02-01 15:57:13 +13:00
Chris Double
b32f5cc9a4 Bug 630461 - Fix signed/unsigned comparison compiler warnings in nsBuiltinDecoderStateMachine - r=cpearce a=roc
--HG--
extra : rebase_source : 5e9423a0749e9cd9e4cc87aa5c8bf0b87710d434
2011-02-02 14:35:47 +13:00
Chris Pearce
7866b5b1cd Bug 607838 - Don't drain audio stream when it's paused, it won't finish. r=kinetik a=blocking2.0:final
--HG--
extra : rebase_source : b7faedb35343ca22d35e40e77bd5c63175ad608a
2011-02-03 12:44:40 +13:00
Chris Double
c54ff75ce8 Bug 607838 - Allow audio drains to be interrupted - r=cpearce a=blocking2.0:final
--HG--
extra : rebase_source : 664d1b27f71daf1db7fc4ae165174f6668273ad7
2011-02-02 14:31:53 +13:00
Justin Wood
1e2eba6da7 Bug 598252 - Disable test_play_twice.html on SeaMonkey. r=cpearce, a=DONTBUILD
[SeaMonkey Linux] Mochitest-1/5 fails test_play_twice.html | Expect at least one playing event (x2 with Ogg files)
2011-01-29 23:36:19 -05:00
Matthew Gregan
a98ed26248 Bug 624572 - Abort in content process receiving PAudio:SampleOffsetUpdate r=dougt a=blocking-fennec
--HG--
extra : rebase_source : fcc520e461b285763312fc5e977bb187c8f28b7f
2011-01-28 21:40:23 -08:00
Chris Pearce
cba19c676e Bug 626979 - Handle WebM frame size changes. r=kinetik a=blocking2.0
--HG--
extra : rebase_source : f8f4abe0b2249d964d6215562ff050046729b639
2011-01-28 19:36:03 +13:00
Chris Pearce
f0aaf70d6b Bug 623637 - Change assertion into check in media data exhausted notification. r=roc a=roc 2011-01-18 21:09:04 +13:00
Matthew Gregan
31cc4eb4f7 Bug 626273 - Correct boundary seek logic. Change media element IDL floats to doubles per the spec. Invalidate updated frame after seeking. Optimize small forward seeks in WebM. r=cpearce a=roc 2011-01-17 16:03:00 +13:00
Matthew Gregan
bfad01f32f Bug 622517 - Only use remoted audio streams on Android. r=dougt a=dbaron 2011-01-10 12:47:43 +13:00
Matthew Gregan
4004024181 Bug 621257 - Handle transition from buffering to seeking state correctly in Wave decoder. r=roc a=roc 2011-01-05 17:01:26 +13:00
Chris Pearce
0dc06f3103 Bug 623637 - Initiate media buffering when decode hits end of downloaded data, rather than when they're close. r=roc a=roc 2011-01-18 13:53:18 +13:00
Chris Pearce
1cb5593661 Bug 623637 - Restore playback statistics to enable more accurate media buffering duration calculation. r=roc a=roc 2011-01-18 13:53:18 +13: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
757d8f1ec3 Bug 620326 - Ensure media decoder loop always makes its decision to sleep based on up-to-date information. r=roc a=roc 2011-01-13 14:06:15 +13:00
Robert O'Callahan
8572e19e7a Bug 621430. Lazily create stream writer thread so we don't create one when using local audio. Also, shut down the stream writer thread when the audio stream dies. r=dougt,a=blocker 2011-01-04 16:55:32 +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
Serge Gautherie
3cf214f49f Bug 608634 - [mochi-1] Intermittent "test_error_in_video_document.html | Must have error set to MEDIA_ERR_DECODE"; (Dv1) Improve code and checks, somewhat.
r=chris a=(test only).
2010-12-17 03:22:28 +01:00
Matthew Gregan
fc868e4d64 Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Matthew Gregan
0e9083fe01 Bug 605457 - Remove concurrent use of Ogg stream hash table. r=cpearce a=roc 2010-12-17 14:39:01 +13:00
Jesse Ruderman
6d6a0beac9 Bug 576612 - add crashtest 2010-12-12 12:54:27 -08:00
timeless@mozdev.org
65c73f6c7a Bug 615838 comparison between signed and unsigned integer expressions in nsMediaCache::FlushInternal. r=roc a=roc 2010-12-03 14:08:49 +13:00
Matthew Gregan
aca5c745d4 Bug 612798 - Remoting Audio - Thread per stream to avoid problems with blocking drain/write calls. r=dougt. a=blocking-fennec
--HG--
extra : rebase_source : a2efdcf562d3da08e9676fe174d0cdc3e317fa82
2010-11-30 18:37:32 +13:00
Matthew Gregan
74c9d71285 Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 0fe7883f97fb4f014b9f39ced902bc96b0eebc31
2010-11-26 17:13:54 +13:00
Chris Pearce
08dcd8dbc0 Bug 578536 - Ensure WebMReader properly tags its decoded samples with file offsets. r=doublec a=blocking2.0 2010-11-29 09:06:38 +13:00
Chris Pearce
f5237f4e38 Bug 610570 - Only skip to next keyframe when not running out of data to decode. r=roc a=blocking2.0 2010-11-29 09:06:38 +13:00
Doug Turner
4707a1b209 Backing out 24aed997dbcd
Matthew Gregan – Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec
It caused windows builds to go red. qq.
a=me
2010-11-27 21:40:43 -08:00
Matthew Gregan
c09fcbac77 Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec 2010-11-26 17:13:54 +13:00
Chris Pearce
0e486c9c7c Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc 2010-11-25 07:34:57 +13:00
Doug Turner
90d1b10e31 [Bug 613982] Crash [@ libdvm.so@0x48c42 ] in sa_stream_write when closing a tab playing audio. r=kinetik. a=blocking-fennec
--HG--
extra : rebase_source : 825c83d3e804d9786b09a74e6ba216d03aa6d896
2010-11-22 14:08:49 -08:00
Daniel Holbert
34edc14760 Bug 613289: Remove unused variable 'result' from nsAudioStream::AllocateStream. r+a=dougt DONTBUILD 2010-11-19 08:56:23 -08:00
Doug Turner
dd28fadfc9 Bug 599089 - Remote Audio to parent process. r=kinetik a=blocking-fennec
--HG--
extra : rebase_source : 8552e45188f1e62a56d5e93b551ec9fb0d4faaca
2010-11-16 20:14:19 -08:00
Matthew Gregan
32a39ce5e9 Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc 2010-11-15 14:32:36 +13:00
Matthew Gregan
bfa12421d5 Backed out changeset c1351e1799b8 2010-11-15 12:49:37 +13:00
Matthew Gregan
64e15bea7f Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc 2010-11-15 11:41:22 +13:00
Chris Double
c8b0bb098e Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Ehsan Akhgari
bb6861f7b5 Bug 601881 - video and audio should never play automatically in editor; r=bzbarsky,cpearce a=bsmedberg
--HG--
rename : content/media/test/test_play_events.html => content/media/test/test_autoplay_contentEditable.html
2010-10-14 20:13:29 -04:00
Chris Pearce
50b0ea20e8 Bug 596947 - Add logging to test_timeupdate_seek to help debug orange. r=test-change a=test-change. 2010-11-10 14:45:43 +13:00
Chris Pearce
0195699a42 Bug 572579 - Correct file perms for media cache temp subdir and file. r=roc a=blocking2.0 2010-10-26 14:21:16 +13:00
Chris Pearce
2a501c4276 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce
a09af5d84d Bug 589039 - Don't use uninited hashtable in Ogg index decoder. r=doublec a=bsmedberg 2010-11-08 19:43:24 +13:00
Mike Hommey
974d30cc03 Bug 577653 - Allow to build against system libvpx. r=khuey a=roc 2010-11-05 18:24:28 +01:00
Chris Pearce
332c2f6839 Bug 608630 - Make media simple events not bubble. r=roc a=blocking2.0 2010-11-05 13:44:33 +13:00
Chris Pearce
46fa35ee53 Bug 503623 - Ensure the decoder doesn't sleep forever after filling its buffers when paused. r=doublec a=roc 2010-11-05 13:44:33 +13:00
Chris Pearce
645fabdc56 Bug 580876 - Ensure WAV playing events can fire when decode has finished but playback hasn't. r=kinetik a=roc 2010-11-05 13:44:33 +13:00
Justin Wood
d5c1ce8fbd Additional debugging info for Bug 608634. rs+=cpearce, a=NPOTB
(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)
2010-11-01 23:28:01 -04:00
Justin Wood
55862538df More bustage fix from mochi not having info(). a=bustage 2010-10-31 23:19:37 -04:00
Justin Wood
45be115a63 Add debugging info for Bug 608634. rs+=cpearce over IRC, a=NPOTB
(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)

--HG--
extra : rebase_source : dd5c4049e24ce79e266e2b28038c36525a6fd52b
2010-10-31 22:39:52 -04:00
Chris Pearce
4cc3f8fa4f Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce
5581ad0abb Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce
349fa6b6ec Bug 503623 - Add debug logging to test_seek to help diagnose random failure. r=test-fix a=test-fix 2010-10-26 10:50:02 +13:00
Timothy B. Terriberry
8dd1e23dc0 Bug 511348 - Integrate Tremor for Vorbis decoding for non/slow-FPU platforms. r=chris.double a=blocking-fennec
--HG--
extra : rebase_source : 807703f9008d0e6c3829370a8a84e0914e2ccb29
2010-10-18 19:55:45 -07:00
Matthew Gregan
f35bfec886 Bug 603912 - Use RAII wrappers to manage nestegg_packet ownership. r=chris.double a=blocking2.0 2010-10-14 14:50:20 +13:00
Chris Pearce
222ab567f3 Bug 604067 - Test invalid video in iframe gets error state correctly. a=test 2010-10-17 08:58:20 +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
a94e3056fc Bug 602072 - Ensure media play() overrides preload='none'. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00