Commit Graph

213 Commits

Author SHA1 Message Date
Robert O'Callahan
0855ba8432 Bug 493509. Don't fire 'suspend' when the resource is actually fully loaded. r=doublec
--HG--
extra : rebase_source : a7ae1b2f53c7eb4b8a0e270510028d155d79f319
2009-05-19 11:06:10 +12:00
Robert O'Callahan
f1b439157e Bug 487659. Make sure we never pass a playback rate of 0 to the media cache. r=doublec
--HG--
extra : rebase_source : af86613bb5283e777acf1ca01d67eaa734cb8a0f
2009-05-19 11:05:13 +12:00
Robert O'Callahan
0785b005eb Bug 493187. Call nsOggDecoder::UpdateReadyStateForData more often so we don't fail to notice state changes, and make it smarter about examining the frame queue. r=doublec
--HG--
extra : rebase_source : 9a45e7cf9dc048956971ecf83b0bcc9bb2e45491
2009-05-19 10:47:08 +12:00
Robert O'Callahan
a3f433b1b3 Bug 493443. Set readyState to HAVE_CURRENT_DATA whenever the Ogg frame queue is empty or we're buffering/seeking, instead of trying to hardcode it based on other events like PlaybackEnded. r=doublec
--HG--
extra : rebase_source : 0b2f938e5f19cbb21258248da9da09e2a525db81
2009-05-19 10:44:17 +12:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Robert O'Callahan
ceaf55f434 Fix test_media_selection.html; its video resource needs to be autobuffer so it doesn't stop loading
--HG--
extra : rebase_source : 937602951c6a8c9831f6a73adc913457e913a7d6
2009-05-18 20:18:43 +12:00
Robert O'Callahan
2d8939e3ca Fix test_autobuffer2 to handle the case when a suspend happens when all the data is already loaded.
--HG--
extra : rebase_source : 7923d3fde3e4aef1723e424631f65a64d663f2a3
2009-05-18 16:37:10 +12:00
Robert O'Callahan
5c3106e300 Relax time constraint in test_buf482461 a bit.
--HG--
extra : rebase_source : 01fda6b6e4f50a8207208b22811a335117f9518c
2009-05-18 15:20:40 +12:00
Robert O'Callahan
9ae2cf2709 Bug 479863. AdFire 'suspend' event and do correct networkState transitions when downloads suspend and resume. Also avoid firing 'stalled' while the download is suspended. r=doublec
--HG--
extra : rebase_source : 0615871c062638d575a66e29b630040821a9f9cf
2009-05-18 14:03:37 +12:00
Robert O'Callahan
710d28a4e6 Bug 479863. Add ability to close and reopen suspended streams, and recover from server-side disconnect of suspended streams. r=doublec
--HG--
extra : rebase_source : 5ed7825cd919ad3f997f58dafb61c2d4249b60d4
2009-05-18 14:02:20 +12:00
Robert O'Callahan
a2a28c523b Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Robert O'Callahan
80975dcc56 Fix seeking tests to avoid false assumptions 2009-05-18 12:25:05 +12:00
Robert O'Callahan
ee1a877ccf Fix test_seek5; it should not depend on reading currentTime for the first seek during the asynchronous 'seeking' event, since the second seek may well have already happened. 2009-05-18 12:15:32 +12:00
Chris Pearce
ff942d65f4 Bug 469408. Make seeking in bufferred ranges fast by trying a 'bounded seek' in each buffered data range before falling back to a seek over the whole resource. r=doublec,sr=roc 2009-05-18 10:15:57 +12:00
Robert O'Callahan
c2bc1f2907 Bug 476973. Don't get confused by repeated seeks in the Ogg decoder. r=doublec 2009-05-18 10:03:03 +12:00
Josh Aas
2f6891c68f Disable test "test_videoDocumentTitle.html" due to random failures. b=492821 2009-05-15 23:20:39 -04:00
Robert O'Callahan
54052b20f1 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec 2009-05-14 09:52:50 +12:00
Chris Double
9f038bfa2e Bug 466699 - Fix out of sync video and audio - r+sr=roc
--HG--
extra : rebase_source : ee8eedf72add30627fdbeef7cf22bc70a9415362
2009-05-15 13:29:05 +12:00
Robert O'Callahan
bb0f8610f9 Backed out changeset eb93563530d5 2009-05-14 12:38:33 +12:00
Robert O'Callahan
9926956f04 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec
--HG--
extra : rebase_source : 2551f25e1828939dbb1619c31d3cedc2217a6623
2009-05-14 09:52:50 +12:00
Chris Double
f875415388 Bug 474540 - Moves oggplay decoder to separate thread for better playback performance in big videos - r=kinetik sr=roc
--HG--
extra : rebase_source : 8f6925b3dc3a50e8bb02f39d76d2b2444b089b6d
2009-05-13 11:47:52 +12:00
Jeff Muizelaar
ab93609bae Bug 487305 - create video surface element with RGB24 colour format instead of ARGB32. r=joe 2009-05-12 15:25:05 -04:00
Matthew Gregan
016153f95a Bug 488287. When playback ends, readyState should change to HAVE_CURRENT_DATA. r=doublec,sr=roc
--HG--
extra : rebase_source : ea224af1634304c40d7e4ea0f564e72ccab65caa
2009-05-08 14:25:13 +12:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Chris Pearce
79d9578afd Bug 488961 - Don't listen for 'stalled' event in content/media/video/test_load.html 2009-04-27 13:03:47 +12:00
Honza Bambas
e1d4b6d384 Bug 486646 - nsMediaChannelStream::OnStopRequest nulls out mChannel too early, r=roc+bz 2009-04-21 20:43:09 +02:00
Robert O'Callahan
642498a112 Bug 486991. Convert nsMediaStream and media decoders to use TimeStamp/TimeDuration. r=doublec 2009-04-11 21:39:24 +12:00
Robert O'Callahan
7a2ad352d5 Bug 486991. Convert nsMediaCache to use TimeStmap/TimeDuration. r=doublec 2009-04-11 21:39:02 +12:00
Chris Double
9761fb97cb Bug 487552. Stop playback while buffering so that we don't lose audio sync. r=roc
--HG--
extra : rebase_source : b9d10569862aeed02c424fdaec64a5062fa3c7bc
2009-04-10 13:34:15 +12:00
Chris Pearce
ee8c4eae0d Bug 482885. Ensure media channels are in the document loadgroup. r=bzbarsky,r+sr=roc
--HG--
extra : rebase_source : da14c85f0efd3eda24739161f8195d24117da261
2009-04-10 13:28:24 +12:00
Robert O'Callahan
95cf32025a Bug 486556. Don't rely on loadeddata firing before the document load event, per spec it might not. r=doublec
--HG--
extra : rebase_source : 66db9e1f5e94d17f028855e62ebe1aee2ee5acc4
2009-04-10 13:12:19 +12:00
Robert Longson
b2f8e75361 Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc 2009-04-06 12:05:29 +01:00
Robert O'Callahan
5bde4bb05f Backout incorrectly pushed changes 2009-04-06 14:19:27 +12:00
Robert O'Callahan
1ca364a2d0 Fix libxul test bustage
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Matthew Gregan
30576094cf Bug 486923. Clean up nsWaveDecoder a bit. r+sr=roc 2009-04-06 12:20:51 +12:00
Chris Double
15b8c00987 Bug 486641. StopPlayback after Drain()ing the audio stream so we create a new audio stream the next time audio is used. r=kinetik 2009-04-06 12:19:33 +12:00
Matthew Gregan
a1bb6c1bab Remove some unnecessary dump() calls from my video mochitests. No bug. r=xenu 2009-04-05 11:39:30 +12:00
Matthew Gregan
6171b2a005 Bug 485291 - Update liboggplay to b4a7efa06d46596515071490cb255c3548d90371. rs=roc, r=ted.mielczarek for build changes, r=chris.double for local liboggplay changes
--HG--
extra : rebase_source : 84b9322bc764ff70d0df4bd9ff51c3ec243bdc1d
2009-04-04 01:56:22 +13:00
Robert O'Callahan
76cc4c16be Bug 475441. Fix tests that assume a 'playing' event will be sent when we replay after playback has ended. r=doublec 2009-04-01 14:07:17 +13:00
Robert O'Callahan
7d5620c7aa Bug 475441. Make nsWaveDecoder seek instead of reloading when asked to replay after playback has ended. r=kinetik 2009-04-01 14:07:17 +13:00
Robert O'Callahan
32245a0582 Bug 475441. Make nsOggDecoder seek instead of reloading when asked to replay after playback has ended. r=doublec 2009-04-01 14:07:10 +13:00
Robert O'Callahan
64b6352d5f Bug 475441. Make the media cache size really small while we're running mochitests, to give the cache code a thorough workout. r=doublec 2009-04-01 13:52:56 +13:00
Robert O'Callahan
742c2cd62e Bug 475441. Implement media data cache. r=doublec,kinetik 2009-04-01 13:52:56 +13:00
Robert O'Callahan
693437fc2e Backed out changeset b6a1093e5814 2009-04-01 16:19:00 +13:00
Robert O'Callahan
7476df2627 Bug 475441. Implement media data cache. r=doublec,kinetik
--HG--
extra : rebase_source : 3907c84869b1c8bad2279295858ff77ab159d6ee
2009-04-01 13:52:56 +13:00
Robert O'Callahan
168c4a55b9 Bug 475441. Clean up media tests to avoid opening windows or leaving them lying around. r=doublec
--HG--
extra : rebase_source : 86a5dabc1992d0676de30d67db99bec3e1b91b54
2009-03-30 14:22:02 +13:00
Robert O'Callahan
441ffd3298 Bug 475441. Rename media stream classes. r=doublec
--HG--
extra : rebase_source : 824365b6fae0224ffa2ed78bc6062c74c7a02fc5
2009-03-30 14:20:32 +13:00
Robert O'Callahan
e5926e97d4 Bug 475441. Merge nsDefaultStreamStrategy with nsHttpStreamStrategy. r=doublec
--HG--
extra : rebase_source : fd65378e88a550c9753333521bbaed05ee902e4d
2009-03-30 14:19:51 +13:00
Robert O'Callahan
4eeda3d9bb Bug 475441. Expose media strategy directly to decoders instead of proxying through nsMediaStream. r=doublec
--HG--
extra : rebase_source : 326765f1368497c2054531962cad224a43d5d05c
2009-03-30 14:19:10 +13:00
Matthew Gregan
b07995dc3c Bug 485036 - Shut down nsAudioStream when decode state machine shuts down. r=chris.double, sr=roc
--HG--
extra : rebase_source : aed2f4e5b6375c506d2b3afec5cb81b97bdba21d
2009-03-25 15:19:58 +13:00