Chris Pearce
d2262b4fcd
Bug 523335 - Abort seek operation on underlying stream close. r=roc
2009-10-21 16:24:21 +13:00
Masayuki Nakano
9a683dfc70
Backing out bug 520417
...
--HG--
rename : widget/src/beos/nsSystemSoundService.cpp => widget/src/beos/nsSound.cpp
rename : widget/src/beos/nsSystemSoundService.h => widget/src/beos/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.h => widget/src/cocoa/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.mm => widget/src/cocoa/nsSound.mm
rename : widget/src/gtk2/nsSystemSoundService.cpp => widget/src/gtk2/nsSound.cpp
rename : widget/src/gtk2/nsSystemSoundService.h => widget/src/gtk2/nsSound.h
rename : widget/src/os2/nsSystemSoundService.cpp => widget/src/os2/nsSound.cpp
rename : widget/src/os2/nsSystemSoundService.h => widget/src/os2/nsSound.h
rename : widget/src/photon/nsSystemSoundService.cpp => widget/src/photon/nsSound.cpp
rename : widget/src/photon/nsSystemSoundService.h => widget/src/photon/nsSound.h
rename : widget/src/qt/nsSystemSoundService.cpp => widget/src/qt/nsSound.cpp
rename : widget/src/qt/nsSystemSoundService.h => widget/src/qt/nsSound.h
rename : widget/src/windows/nsSystemSoundService.cpp => widget/src/windows/nsSound.cpp
rename : widget/src/windows/nsSystemSoundService.h => widget/src/windows/nsSound.h
2009-10-18 16:29:08 +09:00
Masayuki Nakano
019ea85b6d
Bug 520417 Redesign nsSound structure r+sr=roc
...
--HG--
rename : widget/src/beos/nsSound.cpp => widget/src/beos/nsSystemSoundService.cpp
rename : widget/src/beos/nsSound.h => widget/src/beos/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.h => widget/src/cocoa/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.mm => widget/src/cocoa/nsSystemSoundService.mm
rename : widget/src/gtk2/nsSound.cpp => widget/src/gtk2/nsSystemSoundService.cpp
rename : widget/src/gtk2/nsSound.h => widget/src/gtk2/nsSystemSoundService.h
rename : widget/src/os2/nsSound.cpp => widget/src/os2/nsSystemSoundService.cpp
rename : widget/src/os2/nsSound.h => widget/src/os2/nsSystemSoundService.h
rename : widget/src/photon/nsSound.cpp => widget/src/photon/nsSystemSoundService.cpp
rename : widget/src/photon/nsSound.h => widget/src/photon/nsSystemSoundService.h
rename : widget/src/qt/nsSound.cpp => widget/src/qt/nsSystemSoundService.cpp
rename : widget/src/qt/nsSound.h => widget/src/qt/nsSystemSoundService.h
rename : widget/src/windows/nsSound.cpp => widget/src/windows/nsSystemSoundService.cpp
rename : widget/src/windows/nsSound.h => widget/src/windows/nsSystemSoundService.h
2009-10-17 21:53:47 +09:00
Robert O'Callahan
d09060c122
Disabling test_resume.html since it apparently fails on Tinderbox
2009-10-15 17:53:00 +13:00
Robert O'Callahan
47905e65de
Fixing test 459439-1.html to not depend on the load event (bug 521359)
2009-10-15 17:51:10 +13:00
Matthew Gregan
a63978aea7
Bug 522418 - Missing mozLoadFrom mochitest. r=roc
...
--HG--
extra : rebase_source : bda7a6e7bf813eb7e1c54a8550f224b27f37f425
2009-10-15 15:59:41 +13:00
Robert O'Callahan
8b9e8e66d8
Bug 518659. Tests should be in gPlayTests instead of gSmallTests. r=kinetik
2009-10-05 17:04:07 +13:00
Robert O'Callahan
c560bb5ad6
Bug 518659. If we finish decoding while loading metadata, go directly to COMPLETED instead of trying to decode again which violates liboggplay's assumptions. r=kinetik
2009-10-05 17:02:36 +13:00
Robert O'Callahan
79d0b07e8b
Bug 521359. Don't enter the NETWORK_LOADED state or fire a media 'load' event. r=doublec
2009-10-10 00:48:55 +13:00
Robert O'Callahan
1b090d96ec
Bug 521359. Our tests should not depend on NETWORK_LOADED or the media 'load' event. r=doublec
2009-10-10 00:48:33 +13:00
Robert O'Callahan
f92c87bc09
Bug 522114. While we're suspending the download, a Web server might close our connection, thinking we're dead. This might look just like a normal connection close. So whenever the connection closes after we resumed, try to reopen it, if we're seekable. r=kinetik
2009-10-15 15:20:49 +13:00
Robert O'Callahan
b91922846c
Bug 522114. Fix stupid bug so we don't treat 0 pin count as pinned. r=doublec
2009-10-15 15:20:49 +13:00
Matthew Gregan
563aeb839c
Bug 498380 - Remove bogus packet_buffer assert from oggz_close. r=chris.double
2009-10-12 13:07:51 +13:00
Matthew Gregan
87b090cb12
Bug 520908 - Use calculated duration from cloned decoder when initializing the clone. r=roc
2009-10-15 14:28:59 +13:00
Chris Pearce
a00ded94a8
Bug 520500 - Don't reject vorbis streams with 0 length comments. r=doublec
2009-10-14 16:36:01 +13:00
Chris Pearce
9e521230fc
Bug 520493 - Fix regression in Ogg playback. r=doublec
2009-10-14 16:35:59 +13:00
Matthew Gregan
0d6c1e570c
Comment-only fix - Update comment on trunk to match bug 493447 patch rebased for 1.9.2.
2009-10-06 16:53:06 +13:00
Matthew Gregan
eb4670aeeb
Bug 507167 and Bug 518941 - Update libvorbis to SVN r16597 to pick up recent fixes. r=chris.double, rs=roc
...
--HG--
extra : rebase_source : e941bcd256dd233304c6095d9d66ad1a96061ce2
2009-10-05 11:54:13 +13:00
Matthew Gregan
2281f5f0c4
Bug 493447 - Shrink Ogg decoder frame queues to 5-10 frames (from 20-40). r=chris.double
...
--HG--
extra : rebase_source : a6cb4b2d5fd1960ebedd0e42fd753e30717d5728
2009-10-05 11:50:34 +13:00
Chris Pearce
2698a3800a
Bug 519155 - reset oggz seek on failure. r=doublec
2009-10-03 17:08:12 +13:00
Chris Pearce
0eddd5d926
Bug 504843 - Abort ogg decode with excessively large video frame sizes. r=doublec
2009-10-03 17:08:12 +13:00
Robert O'Callahan
1b13d20d87
Bug 519136. Clean up media-related logging. r=doublec
...
--HG--
extra : rebase_source : 2321054271a8726d17da1c58b876e2a7eb88883c
2009-09-30 07:32:44 +10:00
Robert O'Callahan
07ec9a4619
Bug 517818. Wave decoder should not look beyond the Wave data area to see if we have a 'next frame' to play. r=kinetik
...
--HG--
extra : rebase_source : 9964f0fe36d35745354f5723b5d82b1fc18520d6
2009-09-30 07:32:41 +10:00
Robert O'Callahan
f98d7a8ba5
Bug 517818. Treat HTTP errors (other than 416 'Requested Range Not Available') as network errors. And do not allow an error page to be treated as media data. r=kinetik
...
--HG--
extra : rebase_source : 47f44d18ff0d2c33f2642ae5bedb132cc43eb3cb
2009-09-30 07:32:30 +10:00
Robert O'Callahan
463d7e407a
Bug 517818. When nsMediaCache::Update wants to read from the end of the stream, don't resume if we're already suspended. And if the channel is not already positioned at the end, suspend instead of seeking to the end, since there is no point in seeking to the end and it may cause harmful side effects. r=doublec
...
--HG--
extra : rebase_source : e816c61621f5dd7c670687cf1a70d2eccb488dd6
2009-09-30 06:48:05 +10:00
Chris Pearce
946fd6e510
Bug 516323 - Reset libfishsound when seeking to 0 so it doesn't die re-reading header packets. r=doublec
2009-09-29 13:59:00 +13:00
Chris Pearce
06cefa67d6
Bug 512328 - Update liboggplay to rev 404316e595. r=doublec
2009-09-24 16:22:23 +12:00
Chris Pearce
48a7e5790f
Bug 492286 - Null check in nsHTMLSourceElement::BindToTree(). r=roc
2009-09-23 13:58:00 +12:00
Matthew Gregan
bf1da0be02
Fix typo/mismerge in 7bab344403c3.
...
--HG--
extra : rebase_source : 3586c78584b1ed73168ef0e7361b6e46305f43d6
2009-09-22 12:25:24 +12:00
Matthew Gregan
07d35f126f
Bug 517834 - Use gfxQuartzImageSurface to paint video frames for an 8-23% perf win on Mac. r=roc
...
--HG--
extra : rebase_source : de46fdadcefed1fd203a824ed4b078c7ba0b6779
2009-09-22 12:12:06 +12:00
Matthew Gregan
4f10720ec8
Bug 515552 - Enable in-monitor assertions in nsOggDecoder. r=chris.double
...
--HG--
extra : rebase_source : c494f75bd7cc1cf4b114b9ff497412fb1e3c1ce1
2009-09-22 12:11:10 +12:00
Matthew Gregan
f202e48bf0
Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc
...
--HG--
extra : rebase_source : a07687f16726086dd425eef8907788019beebbe1
2009-09-22 12:08:13 +12:00
Matthew Gregan
fd0ca14cf7
Bug 515546 - Null check mReader in nsOggDecoder::Shutdown. r=chris.double
...
--HG--
extra : rebase_source : e72005a765db36ed9b4cdd7d8717f6f923ce6b67
2009-09-22 12:03:42 +12:00
Matthew Gregan
4886735dfb
Bug 504613 - Handle zero-byte first-frame packets in Theora. p=tterribe@vt.edu, r=chris.double
...
--HG--
extra : rebase_source : d2b18e88ddec3836e30b448f949657206a33f3fa
2009-09-15 17:53:49 +12:00
Robert O'Callahan
aec89afa3b
Bug 517818. Suppress seeking to the end of the stream on Resume, there is no data to read there. r=kinetik
2009-09-21 15:47:47 +12:00
Robert O'Callahan
e3f8efaec1
Bug 513144. nsWaveDecoder::PlaybackEnded should call UpdateReadyStateForData to ensure that we enter HAVE_CURRENT_DATA ... otherwise it get into the ended state with HAVE_FUTURE_DATA or HAVE_ENOUGH_DATA, which is wrong. r=kinetik
...
--HG--
extra : rebase_source : 75bcd57e9c7d93bcf24663731e2e6aadacf07a86
2009-09-15 14:30:45 +12:00
Robert O'Callahan
63cddc6e7e
Bug 513144. Allow streams that are related by mozLoadFrom to share data loaded after the initial clone. r=doublec
...
--HG--
extra : rebase_source : 4dab31030b84ce6066ba694851bb7587a051fe2c
2009-09-15 14:30:45 +12:00
Robert O'Callahan
3f9249f428
Bug 513144. Make nsMediaChannelStream::CloneData clone the underlying cache stream, which adds the new stream as co-owner of all the nsMediaCache blocks currently cached for the original stream. Also, use NS_NEW_RUNNABLE_METHOD instead of the SuspendedStatusChanged class. r=doublec
...
--HG--
extra : rebase_source : 982c38bf513865033a2c51554ded3f3f365eeb3a
2009-09-15 14:30:44 +12:00
Robert O'Callahan
cc7de63946
Bug 513144. Allow nsMediaCache blocks to be owned by multiple streams at the same time. r=doublec
...
--HG--
extra : rebase_source : 8788764ff6c883d2da5347ead39660626deb9d7c
2009-09-15 14:30:44 +12:00
Robert O'Callahan
d7d6b3cfac
Bug 513144. Allow nsMediaCache blocks to belong to more than one BlockList at the same time. r=doublec
...
--HG--
extra : rebase_source : e4a53bca2a8c6c7624cbe889f981a57e07b587ad
2009-09-15 14:30:44 +12:00
Robert O'Callahan
4679add97d
Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
...
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Robert O'Callahan
534831d533
Bug 513144. Hoist nsMediaStream creation up into nsHTMLMediaElement, out of the decoders. Pass the stream as the parameter to nsMediaDecoder::Load. r=doublec
...
--HG--
extra : rebase_source : f418076a0d534d528dbded66b2d49d8fe908de4b
2009-09-15 14:30:43 +12:00
Robert O'Callahan
fdb204a586
Bug 513144. Split static nsMediaStream::Open into static nsMediaStream::Create and nonstatic nsMediaStream::Open. Move call to NS_GetFinalChannelURI down into nsMediaStream::Create. r=doublec
...
--HG--
extra : rebase_source : be999ad63f1bb1f8adcbbac0640a916f022203a7
2009-09-15 14:30:43 +12:00
Robert O'Callahan
2540c06447
Bug 513144. Remove mURI from the decoders, and change nsMediaDecoder::GetCurrentURI to GetCurrentStream so nsHTMLMediaElement::GetCurrentSrc gets the URI directly from the stream. r=doublec
...
--HG--
extra : rebase_source : b1e9680cf33cf7dded79383dfdf7559bbd7b1a78
2009-09-15 14:28:08 +12:00
Robert O'Callahan
f415ce9f01
Bug 513144. Move ownership of the Ogg decoder's nsMediaStream out from nsChannelReader to nsOggDecoder. Also remove unnecessary mNotifyOnShutdown flag from nsOggDecoder and nsWaveDecoder. Since Load can only be called once after Init, remove unnecessary initialization of variables in Load and move some code up from Load to Init in both backends to simplify Load. r=doublec
...
--HG--
extra : rebase_source : 65cd9f01424f5b8ab8507e4788f2b8228ce1e2b0
2009-09-11 13:44:21 +12:00
Chris Pearce
1d3d66ca09
Bug 514573 - Free video data after paint, prevents repainting. r=doublec
2009-09-08 10:23:11 +12:00
Chris Pearce
93c3f32d4d
Bug 501031 - Make media seeking faster over HTTP by adding 'fuzz' factor to liboggz seek, and fixing its bisection search. r=doublec
2009-09-08 09:41:56 +12:00
Matthew Gregan
34d676d624
Bug 506061 - Calculate frame time based on frame number and frame rate. p=j@oil21.org r=chris.double
...
Fixes sync problem caused by FP error accumulation in the old frame time
calculation.
--HG--
extra : rebase_source : 3a59eafe1a3fd91760ffb1e336c31ec431dfffc2
2009-09-07 15:30:03 +12:00
Matthew Gregan
658839d732
Bug 497815 - Read Wave headers in small chunks to avoid unnecessary large allocations. r=roc
...
--HG--
extra : rebase_source : 355af524b6d9f0634d9d09e4ddc1ce1715bc6c81
2009-09-07 15:28:26 +12:00
Matthew Gregan
6174ee7312
Bug 495165 - Add mochitest for bug 486646.
...
--HG--
extra : rebase_source : 3df5870b298fe27c5a2d61a679359e4f243e57ab
2009-09-07 15:25:22 +12:00