Commit Graph

356 Commits

Author SHA1 Message Date
Robert O'Callahan
6aa7121a3f Bug 529105. Don't mess with closed streams when data arrives for a resource that the closed stream is using. r=doublec 2009-11-18 13:38:16 +13:00
Robert O'Callahan
de398c4282 Bug 518659. When deciding whether a previous stream is going to load the data we need, we need to check against the data we'll be loading next, not the data we're currently loading. r=doublec 2009-11-18 13:38:16 +13:00
Mitchell Field
92a2deeef1 bug 462381 - sprinkle magic PARALLEL_DIRS fairy dust about the build system r=ted.mielczarek 2009-11-13 14:40:00 -05:00
Daniel Holbert
19f7ac425f bug 526323: disable test_access_control.html on windows due to excessive orange (pending investigation) 2009-11-06 16:27:37 -08:00
Mike Kristoffersen
4db1a44a71 Bug 525946 - White spaces at EOL in nsMediaDecoder.cpp. r=chris.double
--HG--
extra : rebase_source : 2982e3ee884d34b365256df901ae02055bee1765
2009-11-06 08:33:27 +01:00
Mike Kristoffersen
899f036ce9 Bug 525949 - White spaces at EOL in nsMediaDecoder.h. r=chris.double 2009-11-05 14:56:05 +01:00
Mike Kristoffersen
45f8c013ba Bug 525951 - White spaces at EOL in nsMediaStream.cpp. r=chris.double 2009-11-05 14:55:35 +01:00
Robert O'Callahan
e7ef7e4173 Bug 521178. Don't open a connection when we're only trying to read at the end of the resource (even if the seek-vs-read optimization decides we should just read from the start of the resource). r=doublec 2009-10-10 00:48:30 +13:00
Robert O'Callahan
d844ddbece Bug 521176. Don't unnecessarily start an HTTP transaction when cloning a media resource. r=doublec 2009-10-10 00:48:30 +13:00
Jesse Ruderman
42912e83cd Add crashtests for bug 466945, bug 464197, and bug 467323 2009-10-31 19:35:39 -07:00
Robert O'Callahan
e324cf9671 Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec 2009-10-02 00:10:13 +10:00
Robert O'Callahan
34f0cdb6cf Bug 518659. Make nsMediaCache call out to nsMediaCacheStream::ClientSeek/Suspend/Resume without holding its lock. r=doublec 2009-10-10 00:46:23 +13:00
Matthew Gregan
cfcf73a2dd Bug 499874 - If decoding finishes when seeking to end of media, don't attempt to decode additional frames. Fixes a hang caused by violating oggplay's assumptions. r=roc
--HG--
extra : rebase_source : b8510182821e4babf667b0ff7d63060a82535c7c
2009-10-20 16:18:18 +13:00
Matthew Gregan
8f69ebf177 Bug 499874 - Move Wave decoder to ended state when seeking to end of media. r=roc
--HG--
extra : rebase_source : 8cad22f7269f9e4a9ff0f9885036b2a47f525b7d
2009-10-20 15:48:03 +13:00
Matthew Gregan
ed64464a5b Bug 523814 - Refresh entry pointer after hashtable mutation in NotifyBlockSwapped. r=roc
--HG--
extra : rebase_source : 38287a4c930df4e55a5cf5fa334d48b26f7105fa
2009-10-23 15:18:54 +13:00
Matthew Gregan
64ce894035 Bug 523816 - Fix calculation of CMML record size. r=roc
--HG--
extra : rebase_source : a1f68e1f64581029b9624fd57a897f0085dd126b
2009-10-23 11:17:35 +13:00
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