Commit Graph

860 Commits

Author SHA1 Message Date
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