Kyle Huey
ccc69fca65
Bug 508082: Implement a raw video decoder. Based on an earlier patch by Brad Lassey. r=doublec
2010-07-26 12:35:16 -07:00
Chris Pearce
73b058163d
Bug 534571 - Enable reloads from audio source child to work. r=roc a=blocking2.0
2010-07-26 10:45:18 +12:00
Chris Pearce
5f69fff203
Bug 543769 - Buffer non-autobuffer videos upon first playback to ensure smooth playback. r=roc a=blocking2.0
2010-07-23 10:48:32 +12:00
Matthew Gregan
020cf44478
Bug 579812. Recompute frame end time when recomputing frame start time in DecodeVideoFrame. r=doublec
2010-07-20 13:29:30 +12:00
Matthew Gregan
b263264646
Bug 577871. Enable more WebM tests. r=doublec
2010-07-20 13:29:28 +12:00
Robert O'Callahan
8f97f27917
Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec
2010-07-20 13:29:27 +12:00
Robert O'Callahan
2e3d02e038
Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron
2010-07-16 09:07:53 +12:00
timeless@mozdev.org
281fcc1c27
Bug 577894 nsOggReader::SeekBisection doesn't need old_offset_end/old_offset_start
...
r=doublec
--HG--
extra : rebase_source : 27fd73730b78e21a154873536dae97fc81c8bf5b
2010-07-11 14:08:36 +03:00
timeless@mozdev.org
9c53f31632
Bug 569470 useless casts in VideoData::Create
...
r=cpearce
--HG--
extra : rebase_source : 4778ca5fea10adea2b9810dc95b267ec7f8a06c5
2010-06-02 10:03:10 +03:00
timeless@mozdev.org
a4fbdb8143
Bug 565322 deadcode in nsOggReader::FindEndTime if !codecState
...
r=cpearce
--HG--
extra : rebase_source : d386c3e6d9524a86a7c4fe420c756e9352a48330
2010-05-25 17:34:09 +03:00
Matthew Gregan
f277316a2c
Bug 572299 - Stuttering audio playback with some Vorbis files (ffmpeg muxed). r=cpearce
2010-06-22 02:02:02 +02:00
Matthew Gregan
43c0307567
Bug 573405 - Check Theora frame sizes before initializing decoder. Also, check frame region size as well as picture region size. r=roc
2010-06-21 12:05:41 +12:00
Kyle Huey
8402fdb96f
Backed out changeset f54e6386c113
...
--HG--
extra : rebase_source : 367bf92e0875df1663e79bd6b968cddd677eeb1c
2010-06-19 13:19:25 -07:00
Kyle Huey
0d120276b1
Bug 508082: Implement a raw video decoder. r=doublec
...
--HG--
extra : rebase_source : 2ffc36ceb9cb8407531efa6e7b1f0548e81c170c
2010-06-17 17:36:57 -07:00
Matthew Gregan
d8b66c3580
Bug 572515 - Crash in [@ nsMediaCacheStream::~nsMediaCacheStream()] if nsMediaCache fails to init. r=roc
2010-06-17 21:46:28 +02:00
Matthew Gregan
83f5a5dbae
Bug 572235 - Increase default media cache size from 50MB to 500MB. r=roc
2010-06-16 11:12:38 +12:00
Matthew Gregan
d562484ebd
Bug 571208 - Fix crash in nestegg_free_packet. Only push non-NULL packets into packet queue. r=chris.double
2010-06-11 10:59:15 +12:00
Matthew Gregan
b7ee2061e3
Bug 571816 - Notify video buffering logic of WebM file reads. r=doublec
2010-06-16 09:56:28 +12:00
Chris Pearce
7110845884
Bug 571442 - nsBuiltinDecoderReader::GetBufferedBytes() operator precedence fix. r=double
2010-06-16 09:56:25 +12:00
Matthew Gregan
8db1fc8f64
Bug 568431 - Remove the requirement for mCallbackPeriod from the generic media backend. r=doublec
2010-05-31 16:02:00 +12:00
Matthew Gregan
c157381ae5
Bug 568162 - More accurate frame end time after seeking for WebM. r=cpearce
2010-06-10 15:46:58 +12:00
Matthew Gregan
4d08546873
Bug 569187 - Ensure mAudioEndTime is not used uninitialized. r=doublec
2010-06-10 15:46:58 +12:00
Jesse Ruderman
aedb18a96b
Add a bunch of crashtests
2010-06-08 17:53:08 -07:00
Chris Double
ededc0e627
Bug 566245 - Add WebM test file for content/media tests. r=kinetik
2010-06-09 11:31:27 +12:00
Chris Double
33d1e85788
Bug 566245 - WebM/VP8 decoder backend. r=kinetik
2010-06-09 11:31:27 +12:00
Chris Double
42bf8162f5
Bug 566245 - HTMLMediaElement.canPlayType support for WebM. r=roc
2010-06-09 11:31:27 +12:00
Chris Pearce
a7d0ccd23a
Bug 564720 - Refactor media tests to be backend independent were possible. r=roc
...
--HG--
rename : content/media/test/test_play.html => content/media/test/test_play_events.html
rename : content/media/test/test_progress2.html => content/media/test/test_progress.html
rename : content/media/test/test_onloadedmetadata.html => content/media/test/test_replay_metadata.html
rename : content/media/test/test_wav_trunc_seek.html => content/media/test/test_seek_out_of_range.html
rename : content/media/test/test_bug495319.html => content/media/test/test_timeupdate_small_files.html
rename : content/media/test/test_bug486646.html => content/media/test/test_video_to_canvas.html
2010-05-31 10:02:06 +12:00
Jesse Ruderman
b62ad0fcfb
Temporarily turn this assertion into a warning because of frequent random orange. Bug 569108 covers turning it back into an assertion.
2010-05-29 21:51:12 -07:00
Chris Double
110891cd57
Bug 567056. Rename mAspectRatio to mPixelAspectRatio. r=kinetik
2010-05-24 09:36:10 +12:00
Chris Double
264f50b5de
Bug 566501 - Remove unnecessary seek from the video decoder base class. r=cpearce
2010-05-21 09:13:01 +12:00
Chris Double
5b7c6059a4
Bug 566498 - Move duration calculation into the video decoder base class. r=cpearce
2010-05-21 09:13:01 +12:00
Chris Double
00600999ad
Bug 566241 - Decode audio when keyframe skipping even if we've got ample audio. r=cpearce
2010-05-21 09:13:01 +12:00
L. David Baron
4efaf9430a
The assertion on 466607-1.html was also seen on Linux, so just mark all the bug 564603 assertions as cross-platform. (Bug 472557)
2010-05-20 07:44:24 -07:00
Rich Dougherty
a9d5c7ce86
Bug 557982. Use Image objects in the video frame queue so we can avoid making an extra copy as we put frames into the queue. r=kinetik
2010-05-19 15:04:33 +12:00
L. David Baron
bce6e63ce7
Add another known assertion annotation in the manifest. (Bug 472557)
2010-05-17 21:00:36 -07:00
L. David Baron
864652362b
Add additional annotation for a random assertion on a crashtest. (Bug 472557)
2010-05-13 19:36:48 -07:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Chris Pearce
b8c4549e32
Bug 562840 - Fix audio buffering logic to prevent over eager frame dropping on load. r=kinetik
2010-05-13 12:59:42 +12:00
L. David Baron
10c0f0c25d
Adjust assertion annotations in crashtest manifest. (Bug 472557) On CLOSED TREE to force another round of builds and see if the network problems are better.
2010-05-08 07:48:52 -07:00
L. David Baron
c4eb38acd9
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
Chris Double
2c10837550
Bug 563825 - Factor out non-Ogg specific parts of nsOggPlayStateMachine.cpp Part 2 - r=cpearce sr=roc
...
--HG--
rename : content/media/ogg/nsOggReader.cpp => content/media/nsBuiltinDecoderReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/nsBuiltinDecoderReader.h
rename : content/media/ogg/nsOggPlayStateMachine.cpp => content/media/nsBuiltinDecoderStateMachine.cpp
rename : content/media/ogg/nsOggPlayStateMachine.h => content/media/nsBuiltinDecoderStateMachine.h
extra : rebase_source : ca2b9dced11a077b4eb0d5889cd8a0ff25a4b31f
2010-05-06 14:31:02 +12:00
Chris Double
5cbf467462
Bug 563825 - Factor out non-Ogg specific parts of nsOggPlayStateMachine.cpp Part 1 - r=cpearce sr=roc
...
--HG--
rename : content/media/ogg/nsOggReader.cpp => content/media/nsBuiltinDecoderReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/nsBuiltinDecoderReader.h
rename : content/media/ogg/nsOggPlayStateMachine.cpp => content/media/nsBuiltinDecoderStateMachine.cpp
rename : content/media/ogg/nsOggPlayStateMachine.h => content/media/nsBuiltinDecoderStateMachine.h
extra : rebase_source : a5726df63eda9c240db016aaf4e6a92d876fdb68
2010-05-06 14:30:34 +12:00
Daniel Holbert
fd3addf303
Bug 563849: Fix "possible loss of data" MSVC warnings in nsWaveDecoder.cpp. r=kinetik
2010-05-04 22:22:37 -07:00
timeless@mozdev.org
cb2f888d98
Bug 562508 - Submitted comparison between signed and unsigned integer expressions in nsOggPlayStateMachine::Run(). r=doublec
2010-04-30 15:04:12 +12:00
timeless@mozdev.org
1eca7c6303
Bug 562585 - AllFrameTimesIncrease defined but not used. r=doublec
2010-04-30 15:03:38 +12:00
Chris Pearce
2966b4cccd
Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec
2010-04-27 20:53:48 +12:00
Chris Pearce
de44118d0b
Bug 556893 - Make playback time remaining accurate in media readyState transition calculation. r=doublec
2010-04-27 20:53:45 +12:00
Chris Pearce
6f5d537cbc
Bug 531340 - Add NS_STACK_CLASS static analysis keyword to video decoder's MonitorAutoExit object. r=roc
2010-04-27 20:53:45 +12:00
Chris Pearce
a7a6d145d9
Bug 557426 - Only stop Ogg decode to buffer when we're running out of decoded data. r=doublec
2010-04-27 20:53:44 +12:00
Chris Double
954518497c
Bug 560708 - Factor non-Ogg specific logic into decoder base class. r=cpearce sr=roc
2010-04-27 20:53:44 +12:00
Chris Double
ea974f2afe
Bug 560708 - Rename nsOggDecoder to nsBuiltInDecoder. r=cpearce sr=roc
...
--HG--
rename : content/media/ogg/nsOggHacks.h => content/media/VideoUtils.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/nsBuiltinDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/nsBuiltinDecoder.h
2010-04-27 20:53:44 +12:00
Ben Newman
bd232d2cb8
Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 16:21:35 -07:00
Ben Newman
8663c1f722
Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 10:22:04 -07:00
Chris Double
7d3964aa08
Bug 560806 - No duration or seeking on Ogg video URL's that redirect - r=roc (CLOSED TREE)
2010-04-22 12:32:52 +12:00
Chris Double
ef03b912fb
Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc
2010-04-19 13:17:06 +12:00
Chris Pearce
8d9c381029
Bug 557432 - Don't Shutdown() nsAudioStream in Drain() when there's no audio playing. r=kinetik
2010-04-12 10:26:34 +12:00
Chris Pearce
cb96db7cf3
Bug 557432 - Commit backout.
2010-04-09 16:33:54 +12:00
Chris Pearce
27960244ba
Bug 557432 - Backed out changeset b64df24f4910
2010-04-09 16:33:07 +12:00
Chris Pearce
c331b94df9
Bug 557432 - Lock the audio stream while getting it's played duration. r=doublec
2010-04-08 20:16:02 +12:00
Chris Pearce
c407c0d6be
Bug 557095 - Video FPS calculation in 64bit to avoid aborting on overflow. r=doublec
2010-04-08 20:16:02 +12:00
Chris Double
4d94fbf7a0
Bug 551277. Backed out changeset f9a11b9b2b9f
2010-04-06 18:10:02 +12:00
Chris Double
987e0e6294
Bug 551277 - Implement software YCbCr conversion in layers, replacing liboggplay color conversion code - r=roc
...
--HG--
extra : rebase_source : 53b2c194aa6eb75a4751efdd83f066d3aeadf5d7
2010-04-06 12:07:39 +12:00
Chris Pearce
9afe5059b5
Bug 531340 - Bustage fix on comm-central. r=bustage-fix
2010-04-02 17:03:12 -07:00
Daniel Holbert
17c090d9ff
Bug 556900: Fix GCC warnings in nsOggPlayStateMachine.cpp. r=cpearce
2010-04-02 16:47:18 -07:00
Daniel Holbert
ef8f4acfc5
Bug 556897: Fix GCC warnings "FOO will be initialized after BAR when initialized here" in content/media/ogg/. r=cpearce
2010-04-02 16:47:15 -07:00
Chris Pearce
1ee1380a7a
Bug 531340 - AudioLoop() fix; don't dereference nsAutoPtr after forget(). r=bustage-fix
2010-04-01 23:53:38 -07:00
Chris Pearce
06593edeb7
Bug 531340 - Fix wait-on-audio-queue-empty condition in ogg decoder audio playback loop. r=doublec
2010-04-01 22:19:35 -07:00
Chris Pearce
afd172b807
Bug 531340 - New Ogg video decoder. r=doublec sr=roc
2010-04-01 20:03:07 -07:00
Chris Pearce
de68e327ab
Bug 528566 - Invoke resource selection algorithm upon new Audio(url). r=chris.double
2010-03-18 16:00:18 +13:00
Matthew Gregan
138d14481e
Bug 552578 - Remove unnecessary timeout in frame queue wait to avoid spinning unnecessarily. r=chris.double
2010-03-16 13:58:27 +13:00
Robert O'Callahan
2abce146a9
Bug 538323. Part 2: use ImageLayers to render video. r=kinetik
2010-03-02 12:41:49 +13:00
Matthew Gregan
30dae8fab3
Bug 525401 - Make ready state transitions initiated by the decode thread more reliable by including the new state in the event. Fixes an ABA problem where we could play through without ever moving beyond HAVE_CURRENT_DATA. r=chris.double
2010-03-15 12:46:38 +13:00
Matthew Gregan
a3edacf35e
Bug 525401 - Resynchronize system clock against audio clock to avoid clock drift problems when alternating between clocks. r=chris.double
2010-02-05 18:16:29 +13:00
Matthew Gregan
994a39624d
Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double
2010-02-05 17:06:08 +13:00
Mike Hommey
eb4821e504
Bug 550961. Fix license header typos. r=gerv
2010-03-15 14:44:37 +13:00
Joel Maher
6b6e9978a3
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
Brad Lassey
96319c4535
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Kyle Huey
a7c3948d0a
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
2010-03-08 19:21:33 -08:00
Clint Talbert
5b4513c7e9
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
3cd691129e
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Matthew Gregan
841c9fbf9c
Backed out changeset 9b33c91c851d
2010-02-26 15:09:56 -08:00
Matthew Gregan
0087b72a49
Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double
...
--HG--
extra : rebase_source : 36bed71b92803c1b2f864cdd090db7d575b58d6b
2010-02-05 17:06:08 +13:00
Robert O'Callahan
5da349c3d9
Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
...
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Phil Ringnalda
9c82b25efe
Fix typo to trigger builds
...
--HG--
extra : rebase_source : 526e64cfda9d8e3e591cfa4c77352a63c20f7f52
2010-02-09 21:39:02 -08:00
Matthew Gregan
551bfccd1b
Bug 533822 - Flush liboggz packet_buffer in oggz_reset_streams. r=chris.double
2010-01-08 17:55:39 +13:00
Ralph Giles
e76bbb4fe9
Bug 539620 - Deprecate X-Content-Duration for Content-Duration. r=chris.double
2010-01-27 13:29:26 +01:00
Jeff Walden
893339719a
Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan
2009-12-08 17:00:42 -08:00
Robert O'Callahan
81abfbc319
Bug 526323. Make test_access_controls more precise about attributing failures to the right test, and re-enable it. r=cpearce
2009-12-16 09:08:59 +13:00
Robert O'Callahan
53276000eb
Bug 526323. nsCrossSiteListenerProxy for media loads should not treat 416 'range not satisfiable' as an error. r=doublec
2009-12-16 09:08:59 +13:00
Robert O'Callahan
904b1ef2fb
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
1c3cbe05c8
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
bf5ecdc685
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
294129f4ef
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
ca0919d374
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
0f989a8e1d
Bug 525949 - White spaces at EOL in nsMediaDecoder.h. r=chris.double
2009-11-05 14:56:05 +01:00
Mike Kristoffersen
c0bf5e93cc
Bug 525951 - White spaces at EOL in nsMediaStream.cpp. r=chris.double
2009-11-05 14:55:35 +01:00
Robert O'Callahan
021d1f80aa
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
b786c847ff
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
d57f2b3764
Add crashtests for bug 466945, bug 464197, and bug 467323
2009-10-31 19:35:39 -07:00
Robert O'Callahan
8e318e7007
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
2a59a5ea72
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
8bd8cb870d
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
e346510322
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
75b780ece6
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
31ea5a204f
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
0a4ce07599
Bug 523335 - Abort seek operation on underlying stream close. r=roc
2009-10-21 16:24:21 +13:00
Masayuki Nakano
df751e7973
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
4acf47e1e9
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
f8da91f406
Disabling test_resume.html since it apparently fails on Tinderbox
2009-10-15 17:53:00 +13:00
Robert O'Callahan
004c32f502
Fixing test 459439-1.html to not depend on the load event (bug 521359)
2009-10-15 17:51:10 +13:00
Matthew Gregan
42cb272cfa
Bug 522418 - Missing mozLoadFrom mochitest. r=roc
...
--HG--
extra : rebase_source : bda7a6e7bf813eb7e1c54a8550f224b27f37f425
2009-10-15 15:59:41 +13:00
Robert O'Callahan
b8b21b5b8b
Bug 518659. Tests should be in gPlayTests instead of gSmallTests. r=kinetik
2009-10-05 17:04:07 +13:00
Robert O'Callahan
98b9d8c4e3
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
8b9cd6bfe0
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
a373a6c8db
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
d5f8eeb841
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
1689490893
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
d75d34acac
Bug 498380 - Remove bogus packet_buffer assert from oggz_close. r=chris.double
2009-10-12 13:07:51 +13:00
Matthew Gregan
3af771c138
Bug 520908 - Use calculated duration from cloned decoder when initializing the clone. r=roc
2009-10-15 14:28:59 +13:00
Chris Pearce
73c9753893
Bug 520500 - Don't reject vorbis streams with 0 length comments. r=doublec
2009-10-14 16:36:01 +13:00
Chris Pearce
a7c8f0eec9
Bug 520493 - Fix regression in Ogg playback. r=doublec
2009-10-14 16:35:59 +13:00
Matthew Gregan
f546868183
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
3c4419b7c9
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
5260624305
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
c65a6fdf9a
Bug 519155 - reset oggz seek on failure. r=doublec
2009-10-03 17:08:12 +13:00
Chris Pearce
b7720b4c09
Bug 504843 - Abort ogg decode with excessively large video frame sizes. r=doublec
2009-10-03 17:08:12 +13:00
Robert O'Callahan
ab84f5ebd3
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
34e388be5c
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
47696f6d0b
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
60afa9a18b
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
5c108df396
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
4ef626577f
Bug 512328 - Update liboggplay to rev 404316e595. r=doublec
2009-09-24 16:22:23 +12:00
Chris Pearce
bc4d80925c
Bug 492286 - Null check in nsHTMLSourceElement::BindToTree(). r=roc
2009-09-23 13:58:00 +12:00
Matthew Gregan
43080a1e47
Fix typo/mismerge in 7bab344403c3.
...
--HG--
extra : rebase_source : 3586c78584b1ed73168ef0e7361b6e46305f43d6
2009-09-22 12:25:24 +12:00
Matthew Gregan
30ee7451cb
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
7518dee43b
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
466c733803
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
9f16f9a4ac
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
40780c2c4b
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
b138fa1e9d
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
21b987f673
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
666ddd4c00
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
3e223fd14e
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
e6abe07b1b
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
93031ccc14
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
60a2f7d116
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
ea1ab9ac40
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
df1c341efa
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
c764bf1840
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
2e2663deda
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
9f3d1f4e1a
Bug 514573 - Free video data after paint, prevents repainting. r=doublec
2009-09-08 10:23:11 +12:00
Chris Pearce
8d783e47e7
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
92d786333c
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
9f6a87f82d
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
4057d3a778
Bug 495165 - Add mochitest for bug 486646.
...
--HG--
extra : rebase_source : 3df5870b298fe27c5a2d61a679359e4f243e57ab
2009-09-07 15:25:22 +12:00
Chris Pearce
a269d39ca2
Bug 513999 - Backed out changeset fb6d235b9efb (bug 512328) to see if that fixes near-permanent orange on Linux on CLOSED TREE.
2009-09-02 10:33:43 +12:00
Chris Pearce
19c48e0643
Bug 512398 - fix liboggplay update (rev f4087c5ac148) which accidentally removed liboggplay's os2_semaphore.*. r=doublec
2009-08-31 14:08:39 +12:00
Chris Pearce
81137811d0
Bug 512398 - Backed out changeset f4087c5ac148, checked in wrong patch.
2009-08-31 13:45:40 +12:00
Chris Pearce
de514873ac
Update liboggplay to rev 8640eb3fddc43ad4, correct issue with presentation time, reset libfishsound on seek to 0.
2009-08-31 13:23:17 +12:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Chris Pearce
e2d541d341
Bug 493431 - Add test to ensure video file with more audio than video plays and that video.currentTime only increases during playback. r=n/a
2009-08-17 09:32:24 +12:00
Jesse Ruderman
e0887e82ab
Hopefully fix orange (bug 509272)
...
--HG--
rename : content/media/test/sound.ogg => content/media/test/crashtests/sound.ogg
2009-08-08 17:36:23 -07:00
Jesse Ruderman
d2e49bdfcd
Add crashtests for bug 459439 and bug 466607
2009-08-08 16:00:31 -07:00
Chris Pearce
da09cceb6e
Bug 495129 - Add testcase.
2009-08-04 18:13:40 +12:00
Chris Pearce
4c8efcdc81
Bug 501279 - Add testcases, includes test files from bug 504644 and bug 506094 as they're fixed by bug 501279 too.
2009-08-04 18:13:40 +12:00
Chris Pearce
e55d7dbb34
Bug 500311 - Add testcase. r=roc
2009-08-04 18:13:40 +12:00
Chris Pearce
27b348d57b
Bug 498855 - Add testcase.
2009-08-04 18:13:40 +12:00
Chris Pearce
9322db775d
Bug 499519 - Add test which ensures height 0 videos load. r=roc
2009-08-04 18:13:33 +12:00
Chris Double
0735935f96
Bug 461286 - Add testcase for small audio files ending correctly
2009-08-04 17:20:37 +12:00
Chris Double
058f34e16a
Bug 448636 - Add testcase
...
--HG--
extra : rebase_source : fe95db053fdb42cece6c9fe2784420d792a3a8e9
2009-08-04 14:44:45 +12:00
Matthew Gregan
35d3e4d56c
Bug 507547. Disable EXTEND_PAD for video on Mac, since it's slow. r=roc
...
--HG--
extra : rebase_source : 440d2ade2e6b8847895e2fdd6b1af2324662667e
2009-08-03 14:22:01 +12:00
Rich Walsh
78b89b2bf4
Bug 506434 - fix ogg video playback regression, cross-platform change, r=chris.double
2009-08-02 14:06:02 +03:00
Robert O'Callahan
f94fc9b0f6
Bug 503835. Wave codec 0 should be reported as unsupported. r=doublec
...
--HG--
extra : rebase_source : ab41c6d1e124ba52200bf91fcf7bc5d0c983b78e
2009-07-27 10:01:41 +12:00
Robert O'Callahan
1a3f77aef0
Bug 505150. 'new Audio' constructors should set autobuffer automatically. r=doublec
...
--HG--
extra : rebase_source : 418f3c2ad918ae729857363041273c95230dfd2c
2009-07-27 09:31:11 +12:00
Peter Weilbacher
8325fdca84
Bug 495352: Audio stream polling runs amok, p=dragtext@e-vertise, r=chris.double
2009-07-23 09:17:26 +03:00
Robert O'Callahan
e3d0f72897
Fix for bug 503468 (canPlayType should return "", not "no"). r=cdouble.
...
--HG--
extra : rebase_source : d54cf6d92a20a5f7e6ce66042c8d489dc93f0c7a
2009-07-14 16:04:56 +02:00
Robert O'Callahan
2572e852f9
Disable seek tests on Windows again
...
--HG--
extra : rebase_source : 45d9d5bff5f5241731c1bc6f1f3aa5e92deec1e9
2009-07-13 10:45:36 +12:00
Robert O'Callahan
49aca666c9
Fix bustage properly
...
--HG--
extra : rebase_source : 109364254fd687c60770b2f9b0af0e6aaf14a1b6
2009-07-10 15:08:34 +12:00
Robert O'Callahan
d81d74cb19
Fix bustage temporarily
2009-07-10 14:39:16 +12:00
Robert O'Callahan
74625ec81b
Bug 493915. Fix leak in media element when an error occurs early in the resource load. r=cpearce
2009-07-10 14:03:03 +12:00
Robert O'Callahan
2f3ff304f9
Bug 502211. Convert 'new Audio' tests to be backend-independent. r=doublec
2009-07-10 14:03:02 +12:00
Robert O'Callahan
2ebf436b48
Bug 502211. Convert test_wav_8bit to a playtest. r=doublec
2009-07-10 14:03:02 +12:00
Robert O'Callahan
1932b57439
Bug 502211. Unify seek tests into a single backend-independent test. r=doublec
...
--HG--
rename : content/media/test/test_seek1.html => content/media/test/seek1.js
rename : content/media/test/test_seek3.html => content/media/test/seek2.js
rename : content/media/test/test_seek4.html => content/media/test/seek3.js
rename : content/media/test/test_seek5.html => content/media/test/seek4.js
rename : content/media/test/test_seek6.html => content/media/test/seek5.js
rename : content/media/test/test_seek7.html => content/media/test/seek6.js
rename : content/media/test/test_seek8.html => content/media/test/seek7.js
rename : content/media/test/test_seek9.html => content/media/test/seek8.js
2009-07-10 14:03:02 +12:00
Robert O'Callahan
c37d3bafc6
Bug 502211. Create test_playback and test_playback_errors for easy regression testing. r=doublec
2009-07-10 14:03:01 +12:00
Robert O'Callahan
bb8a6c3b8b
Bug 502211. Make test_media_selection.html and test_load.html backend-independent. r=doublec
2009-07-10 14:03:01 +12:00
Matthew Gregan
3c8596b473
Bug 495794 - Fix crash when destroying audio stream that failed to open cleanly. r=chris.double
2009-07-02 16:38:26 +12:00
Robert O'Callahan
e38733eb15
Bug 499880 - Restructure content/media directory. r+=doublec
...
--HG--
rename : content/media/video/src/nsAudioStream.cpp => content/media/nsAudioStream.cpp
rename : content/media/video/public/nsAudioStream.h => content/media/nsAudioStream.h
rename : content/media/video/src/nsMediaCache.cpp => content/media/nsMediaCache.cpp
rename : content/media/video/public/nsMediaCache.h => content/media/nsMediaCache.h
rename : content/media/video/src/nsMediaDecoder.cpp => content/media/nsMediaDecoder.cpp
rename : content/media/video/public/nsMediaDecoder.h => content/media/nsMediaDecoder.h
rename : content/media/video/src/nsMediaStream.cpp => content/media/nsMediaStream.cpp
rename : content/media/video/public/nsMediaStream.h => content/media/nsMediaStream.h
rename : content/media/video/src/nsChannelReader.cpp => content/media/ogg/nsChannelReader.cpp
rename : content/media/video/public/nsChannelReader.h => content/media/ogg/nsChannelReader.h
rename : content/media/video/src/nsOggDecoder.cpp => content/media/ogg/nsOggDecoder.cpp
rename : content/media/video/public/nsOggDecoder.h => content/media/ogg/nsOggDecoder.h
rename : content/media/video/test/320x240.allow-origin.ogv => content/media/test/320x240.allow-origin.ogv
rename : content/media/video/test/320x240.allow-origin.ogv^headers^ => content/media/test/320x240.allow-origin.ogv^headers^
rename : content/media/video/test/320x240.ogv => content/media/test/320x240.ogv
rename : content/media/video/test/Makefile.in => content/media/test/Makefile.in
rename : content/media/video/test/big.wav => content/media/test/big.wav
rename : content/media/video/test/bug461281.ogg => content/media/test/bug461281.ogg
rename : content/media/video/test/bug482461.ogv => content/media/test/bug482461.ogv
rename : content/media/video/test/can_play_type_ogg.js => content/media/test/can_play_type_ogg.js
rename : content/media/video/test/can_play_type_wave.js => content/media/test/can_play_type_wave.js
rename : content/media/video/test/contentDuration1.sjs => content/media/test/contentDuration1.sjs
rename : content/media/video/test/contentDuration2.sjs => content/media/test/contentDuration2.sjs
rename : content/media/video/test/contentDuration3.sjs => content/media/test/contentDuration3.sjs
rename : content/media/video/test/contentDuration4.sjs => content/media/test/contentDuration4.sjs
rename : content/media/video/test/contentDuration5.sjs => content/media/test/contentDuration5.sjs
rename : content/media/video/test/contentDuration6.sjs => content/media/test/contentDuration6.sjs
rename : content/media/video/test/crashtests/468763-1.html => content/media/test/crashtests/468763-1.html
rename : content/media/video/test/crashtests/474744-1.html => content/media/test/crashtests/474744-1.html
rename : content/media/video/test/crashtests/crashtests.list => content/media/test/crashtests/crashtests.list
rename : content/media/video/test/dynamic_redirect.sjs => content/media/test/dynamic_redirect.sjs
rename : content/media/video/test/file_access_controls.html => content/media/test/file_access_controls.html
rename : content/media/video/test/r11025_s16_c1.wav => content/media/test/r11025_s16_c1.wav
rename : content/media/video/test/r11025_s16_c1_trailing.wav => content/media/test/r11025_s16_c1_trailing.wav
rename : content/media/video/test/r11025_u8_c1.wav => content/media/test/r11025_u8_c1.wav
rename : content/media/video/test/r11025_u8_c1_trunc.wav => content/media/test/r11025_u8_c1_trunc.wav
rename : content/media/video/test/r16000_u8_c1_list.wav => content/media/test/r16000_u8_c1_list.wav
rename : content/media/video/test/redirect.sjs => content/media/test/redirect.sjs
rename : content/media/video/test/seek.ogv => content/media/test/seek.ogv
rename : content/media/video/test/small-shot.ogg => content/media/test/small-shot.ogg
rename : content/media/video/test/sound.ogg => content/media/test/sound.ogg
rename : content/media/video/test/test_access_control.html => content/media/test/test_access_control.html
rename : content/media/video/test/test_audio1.html => content/media/test/test_audio1.html
rename : content/media/video/test/test_audio2.html => content/media/test/test_audio2.html
rename : content/media/video/test/test_audioDocumentTitle.html => content/media/test/test_audioDocumentTitle.html
rename : content/media/video/test/test_autobuffer.html => content/media/test/test_autobuffer.html
rename : content/media/video/test/test_autobuffer2.html => content/media/test/test_autobuffer2.html
rename : content/media/video/test/test_autoplay.html => content/media/test/test_autoplay.html
rename : content/media/video/test/test_bug448534.html => content/media/test/test_bug448534.html
rename : content/media/video/test/test_bug461281.html => content/media/test/test_bug461281.html
rename : content/media/video/test/test_bug463162.xhtml => content/media/test/test_bug463162.xhtml
rename : content/media/video/test/test_bug465498.html => content/media/test/test_bug465498.html
rename : content/media/video/test/test_bug468190.html => content/media/test/test_bug468190.html
rename : content/media/video/test/test_bug468190_wav.html => content/media/test/test_bug468190_wav.html
rename : content/media/video/test/test_bug476973.html => content/media/test/test_bug476973.html
rename : content/media/video/test/test_bug482461.html => content/media/test/test_bug482461.html
rename : content/media/video/test/test_bug493187.html => content/media/test/test_bug493187.html
rename : content/media/video/test/test_bug495145.html => content/media/test/test_bug495145.html
rename : content/media/video/test/test_bug495145_wav.html => content/media/test/test_bug495145_wav.html
rename : content/media/video/test/test_bug495300.html => content/media/test/test_bug495300.html
rename : content/media/video/test/test_bug495319.html => content/media/test/test_bug495319.html
rename : content/media/video/test/test_can_play_type.html => content/media/test/test_can_play_type.html
rename : content/media/video/test/test_can_play_type_no_ogg.html => content/media/test/test_can_play_type_no_ogg.html
rename : content/media/video/test/test_can_play_type_no_wave.html => content/media/test/test_can_play_type_no_wave.html
rename : content/media/video/test/test_can_play_type_ogg.html => content/media/test/test_can_play_type_ogg.html
rename : content/media/video/test/test_can_play_type_wave.html => content/media/test/test_can_play_type_wave.html
rename : content/media/video/test/test_closing_connections.html => content/media/test/test_closing_connections.html
rename : content/media/video/test/test_constants.html => content/media/test/test_constants.html
rename : content/media/video/test/test_contentDuration1.html => content/media/test/test_contentDuration1.html
rename : content/media/video/test/test_contentDuration2.html => content/media/test/test_contentDuration2.html
rename : content/media/video/test/test_contentDuration3.html => content/media/test/test_contentDuration3.html
rename : content/media/video/test/test_contentDuration4.html => content/media/test/test_contentDuration4.html
rename : content/media/video/test/test_contentDuration5.html => content/media/test/test_contentDuration5.html
rename : content/media/video/test/test_contentDuration6.html => content/media/test/test_contentDuration6.html
rename : content/media/video/test/test_controls.html => content/media/test/test_controls.html
rename : content/media/video/test/test_currentTime.html => content/media/test/test_currentTime.html
rename : content/media/video/test/test_decoder_disable.html => content/media/test/test_decoder_disable.html
rename : content/media/video/test/test_delay_load.html => content/media/test/test_delay_load.html
rename : content/media/video/test/test_duration1.html => content/media/test/test_duration1.html
rename : content/media/video/test/test_ended1.html => content/media/test/test_ended1.html
rename : content/media/video/test/test_ended2.html => content/media/test/test_ended2.html
rename : content/media/video/test/test_error_on_404.html => content/media/test/test_error_on_404.html
rename : content/media/video/test/test_info_leak.html => content/media/test/test_info_leak.html
rename : content/media/video/test/test_load.html => content/media/test/test_load.html
rename : content/media/video/test/test_load_candidates.html => content/media/test/test_load_candidates.html
rename : content/media/video/test/test_media_selection.html => content/media/test/test_media_selection.html
rename : content/media/video/test/test_mixed_principals.html => content/media/test/test_mixed_principals.html
rename : content/media/video/test/test_networkState.html => content/media/test/test_networkState.html
rename : content/media/video/test/test_onloadedmetadata.html => content/media/test/test_onloadedmetadata.html
rename : content/media/video/test/test_paused.html => content/media/test/test_paused.html
rename : content/media/video/test/test_paused_after_ended.html => content/media/test/test_paused_after_ended.html
rename : content/media/video/test/test_play.html => content/media/test/test_play.html
rename : content/media/video/test/test_progress1.html => content/media/test/test_progress1.html
rename : content/media/video/test/test_progress2.html => content/media/test/test_progress2.html
rename : content/media/video/test/test_progress3.html => content/media/test/test_progress3.html
rename : content/media/video/test/test_progress4.html => content/media/test/test_progress4.html
rename : content/media/video/test/test_readyState.html => content/media/test/test_readyState.html
rename : content/media/video/test/test_seek1.html => content/media/test/test_seek1.html
rename : content/media/video/test/test_seek2.html => content/media/test/test_seek2.html
rename : content/media/video/test/test_seek3.html => content/media/test/test_seek3.html
rename : content/media/video/test/test_seek4.html => content/media/test/test_seek4.html
rename : content/media/video/test/test_seek5.html => content/media/test/test_seek5.html
rename : content/media/video/test/test_seek6.html => content/media/test/test_seek6.html
rename : content/media/video/test/test_seek7.html => content/media/test/test_seek7.html
rename : content/media/video/test/test_seek8.html => content/media/test/test_seek8.html
rename : content/media/video/test/test_seek9.html => content/media/test/test_seek9.html
rename : content/media/video/test/test_source.html => content/media/test/test_source.html
rename : content/media/video/test/test_source_write.html => content/media/test/test_source_write.html
rename : content/media/video/test/test_standalone.html => content/media/test/test_standalone.html
rename : content/media/video/test/test_timeupdate1.html => content/media/test/test_timeupdate1.html
rename : content/media/video/test/test_timeupdate2.html => content/media/test/test_timeupdate2.html
rename : content/media/video/test/test_timeupdate3.html => content/media/test/test_timeupdate3.html
rename : content/media/video/test/test_videoDocumentTitle.html => content/media/test/test_videoDocumentTitle.html
rename : content/media/video/test/test_volume.html => content/media/test/test_volume.html
rename : content/media/video/test/test_wav_8bit.html => content/media/test/test_wav_8bit.html
rename : content/media/video/test/test_wav_ended1.html => content/media/test/test_wav_ended1.html
rename : content/media/video/test/test_wav_ended2.html => content/media/test/test_wav_ended2.html
rename : content/media/video/test/test_wav_list.html => content/media/test/test_wav_list.html
rename : content/media/video/test/test_wav_onloadedmetadata.html => content/media/test/test_wav_onloadedmetadata.html
rename : content/media/video/test/test_wav_seek1.html => content/media/test/test_wav_seek1.html
rename : content/media/video/test/test_wav_seek3.html => content/media/test/test_wav_seek3.html
rename : content/media/video/test/test_wav_seek4.html => content/media/test/test_wav_seek4.html
rename : content/media/video/test/test_wav_seek5.html => content/media/test/test_wav_seek5.html
rename : content/media/video/test/test_wav_seek6.html => content/media/test/test_wav_seek6.html
rename : content/media/video/test/test_wav_seek7.html => content/media/test/test_wav_seek7.html
rename : content/media/video/test/test_wav_seek8.html => content/media/test/test_wav_seek8.html
rename : content/media/video/test/test_wav_seek_past_end.html => content/media/test/test_wav_seek_past_end.html
rename : content/media/video/test/test_wav_seek_then_play.html => content/media/test/test_wav_seek_then_play.html
rename : content/media/video/test/test_wav_standalone.html => content/media/test/test_wav_standalone.html
rename : content/media/video/test/test_wav_timeupdate1.html => content/media/test/test_wav_timeupdate1.html
rename : content/media/video/test/test_wav_timeupdate2.html => content/media/test/test_wav_timeupdate2.html
rename : content/media/video/test/test_wav_trailing.html => content/media/test/test_wav_trailing.html
rename : content/media/video/test/test_wav_trunc.html => content/media/test/test_wav_trunc.html
rename : content/media/video/test/test_wav_trunc_seek.html => content/media/test/test_wav_trunc_seek.html
rename : content/media/video/test/use_large_cache.js => content/media/test/use_large_cache.js
rename : content/media/video/src/nsWaveDecoder.cpp => content/media/wave/nsWaveDecoder.cpp
rename : content/media/video/public/nsWaveDecoder.h => content/media/wave/nsWaveDecoder.h
2009-06-26 16:23:15 +12:00
Chris Double
dd020ab03a
Bug 496456. When we seek to the end, we should only fire end stuff if we're not playing, otherwise playing should be responsible for ending. Set the current frame time at the end of the stream to the duration, if it's longer than our end time estimate, because the duration can include more than one frame-time's worth of audio. Also, don't replicate a frame of audio in DecodeToFrame when seeking. r=cpearce,sr=roc
...
--HG--
extra : rebase_source : e34cc28482e2b0ced5ec0774ce73865501400ca6
2009-06-12 14:14:28 +12:00
Matthew Gregan
6ed2191af1
Bug 495163. Trivial code removal, r=roc
...
--HG--
extra : rebase_source : 5dee5799025c99cad5f7ae8ca7cc4ade3f650a89
2009-06-12 14:08:32 +12:00
Robert O'Callahan
f020867639
Bug 496581. If we seek to the end, enter COMPLETED state instead of trying to decode more. r=doublec
...
--HG--
extra : rebase_source : 16d4e604e40384221b148bf8939339179a93d96c
2009-06-12 14:07:08 +12:00
Robert O'Callahan
c41a58c04d
Bug 494322. nsMediaCache verification code is super slow in debug builds, so turn it off during seeking so we don't get O(N^2) slowdowns. r=doublec
...
--HG--
extra : rebase_source : a088ef84206eeb7e6e77d42fecb1bbd8f0721c60
2009-06-12 13:43:23 +12:00
Chris Pearce
373b3baa8d
Bug 496147 - Ensure ended is true when video playback is ended. r=doublec,sr=roc
...
--HG--
extra : rebase_source : dc04fe505e75d91e5e1f694728aba8f5be0e32b2
2009-06-12 12:56:50 +12:00
Serge Gautherie
770b7d9955
Bug 494769 - [MacOSX] mochitest-plain: test_wav_trailing.html (and others) intermittently triggers "malloc: *** error: can't allocate region"; (Fv1) reorder file list
2009-06-09 16:07:22 +02:00
Matthew Gregan
bfa49f248b
Bug 494116 - Use system audio timer for a/v sync on Windows. r=chris.double, sr=roc
2009-06-03 10:32:11 +12:00
Chris Pearce
60c046a220
Bug 495507 audio sync - send blank audio when the audio stream has closed, not when there's no audio to present. r+ doublec, sr+roc
2009-06-02 15:05:46 +12:00
Robert O'Callahan
a7381d3c2d
Bug 495161. Buffer enough data in the Wave decoder that we never immediately leave BUFFERING after entering it. r=mgregan
2009-06-02 09:55:58 +12:00
Robert O'Callahan
95fa6aa4fc
Bug 495319. Fire 'timeupdate' with the correct final time when we finish playing. r=doublec
2009-06-02 09:54:16 +12:00
Robert O'Callahan
ca157bbb5a
Backing out bug 487519 due to reftest failures
2009-06-01 00:09:17 +12:00
Robert O'Callahan
a500ff4f1a
Fixing bustage (bug 495300)
2009-05-31 22:28:57 +12:00
Chris Double
6664a71b4b
Bug 487519. Work around Ogg bugs by decoding two frames before we seek to find the duration. r=roc
2009-05-31 22:06:30 +12:00
Robert O'Callahan
74b9d63089
Bug 495300. Trigger 'ended' behaviour when seeking to the end of a media resource. r=doublec
2009-05-31 22:02:17 +12:00
Chris Pearce
0c2e85ab11
Bug 495156 - Video playback gets stuck forever when pressing End key. r=doublec sr=roc a=blocking1.9.1+
2009-05-29 00:15:16 -04:00
Chris Pearce
73e0202e9d
Bug 495336 - liboggz oggz_get_next_page() and oggz_read_get_next_page() wrong r=doublec sr=roc a=blocking1.9.1+
2009-05-29 00:13:23 -04:00
Chris Double
f1db574761
Bug 495129. Propagate errors better. r+sr=roc
2009-05-28 16:39:39 +12:00
Robert O'Callahan
cb8e86ef15
Bug 495145. Don't change the state away from ENDED if we try to pause in the ENDED state. r=doublec
2009-05-28 15:49:22 +12:00
Robert O'Callahan
244c6d80b4
Since test_load.html waits for load events, make sure it autobuffers and set the cache size to something large so loads aren't suspended. No bug, test-only change.
2009-05-25 12:51:01 +12:00
Chris Double
197958c8d1
Bug 494035. Never enable tracks we don't use. r=roc
...
--HG--
extra : rebase_source : ceffc78e6473273893fd1ad000799b32023f5c76
2009-05-25 12:45:47 +12:00
Robert O'Callahan
4c5f1dc42a
Bug 494336. In DECODER_STATE_DECODING state, if mBufferExhaused is set then stop waiting for the next frame to become available. r=doublec
...
--HG--
extra : rebase_source : 8b9a35e65cd0ddde311a493b4762fbd58fa2abf6
2009-05-25 12:44:45 +12:00
Robert O'Callahan
8a7e78d507
Bug 475110. Don't try to handle Wave files loaded via links or <object> using our Wave codec, since there are Wave formats we don't support that are actually used in the wild. r=doublec,a=beltzner
...
--HG--
extra : rebase_source : 562c7c7c17157082483e456f33aa8b211fd07aeb
2009-05-25 12:42:19 +12:00
Chris Pearce
07fd01c8f8
Bug 493958. When decoding ahead to the desired seek position, save up the audio data as we go, because some of it might be needed for the destination frame and later frames. Also, if we reach the end of the frames without finding our destination position, keep the last frame and display it. r=doublec,roc
2009-05-21 17:55:12 +12:00
Chris Double
2ad9f5251f
Fix another FrameData leak (Bug 463358). Fixes intermittent orange.
2009-05-21 03:17:21 +12:00
Robert O'Callahan
fa8b7ff6dc
Fix FrameData leak (bug 463358)
2009-05-20 21:11:48 +12:00
Robert O'Callahan
cb30f65532
Bug 493109. Shut down step-decode thread from the main decoder thread, instead of synchronously on the main thread at bad times. r=doublec
...
--HG--
extra : rebase_source : 4af72350a51255e7e8748c726a17f9e88e1a540b
2009-05-19 11:08:08 +12:00
Chris Pearce
5e17d6a960
Bug 463358. Seek to any desired frame without visual artifacts by seeking to the previous keyframe and then decoding forward to the desired frame. r=doublec,roc
...
--HG--
extra : rebase_source : 602a8f9feb74a1ef88e86424028d8da7bcf57b58
2009-05-20 15:50:44 +12:00
Robert O'Callahan
038ef03387
Backing out bug 493109 on suspicion of causing crashes in linux tests
2009-05-20 00:24:37 +12:00
Robert O'Callahan
7534c33770
Backed out changeset 4b86cbae2846
2009-05-20 00:23:51 +12:00
Robert O'Callahan
d8d488ca5a
Bug 486922. Clamp out-of-bounds seek requests. r=doublec
...
--HG--
extra : rebase_source : deeabc531d4fa6ada6e35740aed44bcc3844f233
2009-05-19 21:55:04 +12:00
Robert O'Callahan
075fbf3ff1
Fix test_media_selection.html to handle IDLE network states, since the cache size limit can suspend its loads
...
--HG--
extra : rebase_source : a90486545fbb993c48dba3ee0025418b7bdc915f
2009-05-19 21:53:38 +12:00
Robert O'Callahan
017c3d03e8
Bug 493109. Shut down step-decode thread from the main decoder thread, instead of synchronously on the main thread at bad times. r=doublec
...
--HG--
extra : rebase_source : 3a1a053308fc209181f7f23b234ba2f396de2a6e
2009-05-19 11:08:08 +12:00
Robert O'Callahan
2a3bc2dc98
Bug 480058. Handle non-square Theora pixel-aspect-ratio property. r=doublec
...
--HG--
extra : rebase_source : 0a43b053b52a9b1e300f7f516517722c44040992
2009-05-19 11:07:19 +12:00
Chris Double
507f48d89a
Bug 493673. If a video frame has an audio track but no audio data at all, assume the audio has ended and stuff silence into the audio stream. We need this so that video will keep playing synced to the audio clock. r=roc
...
--HG--
extra : rebase_source : a1684fbd769ae48602335d312a33aa87ca17b8aa
2009-05-19 17:39:40 +12:00
Robert O'Callahan
1f03994614
Bug 493431. When a frame has no video data, don't try to use the video time. r=doublec
...
--HG--
extra : rebase_source : 985b41ec426c1cc793634c9f40f6924fbd33ed9b
2009-05-19 17:30:36 +12:00
Chris Pearce
5bf110bcd3
Bug 487612. Let the start time of all media be 0 even if the internal timestamps start with something nonzero. r=doublec,roc
...
--HG--
extra : rebase_source : ee419a06388a5230cddd79c78ddb86ed99fb6400
2009-05-19 17:25:51 +12:00
Matthew Gregan
07f0682802
Bug 454971. Support 'new Audio()' constructor. r+sr=roc
...
--HG--
extra : rebase_source : 1738d65cd16a79d69408055a8d9feb5ab5d97923
2009-05-19 17:18:41 +12:00
Robert O'Callahan
97e33b8c4d
Bug 492420. Delay a little before playing a live stream to try to reduce the likelihood we'll have to buffer. r=doublec
...
--HG--
extra : rebase_source : 022aa4d89644b3cfef62f95b4349932594de734f
2009-05-19 17:14:20 +12:00
Robert O'Callahan
fc6c9fa798
Bug 480058. Handle non-square Theora pixel-aspect-ratio property. r=doublec
...
--HG--
extra : rebase_source : 762e10566ae85d0f73d7080ccb090533d50bfe66
2009-05-19 11:07:19 +12:00
Robert O'Callahan
43bd7e6097
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
6ee870e86b
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
b641e771c8
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
08a4384325
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
6df221580d
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
039e8b80e2
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
961c9fc99a
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
c6f26b735c
Relax time constraint in test_buf482461 a bit.
...
--HG--
extra : rebase_source : 01fda6b6e4f50a8207208b22811a335117f9518c
2009-05-18 15:20:40 +12:00
Robert O'Callahan
06e3105812
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
41e2671e96
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
aafedc777d
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
12cba926fb
Fix seeking tests to avoid false assumptions
2009-05-18 12:25:05 +12:00
Robert O'Callahan
7ec7418b2e
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
0719504584
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
97c6b9c07b
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
1aad2522fd
Disable test "test_videoDocumentTitle.html" due to random failures. b=492821
2009-05-15 23:20:39 -04:00
Robert O'Callahan
f88d86a439
Disable test_autobuffer2.html for now, it fails a lot (bug 493692 filed)
2009-05-19 17:44:23 +12:00
Robert O'Callahan
aded9b0e65
Make test_autobuffer2.html more informative to try to narrow down the failures
2009-05-19 16:10:08 +12:00
Robert O'Callahan
9a81729d41
Backing out bug 480058 since it seems to have caused reftest failures on Windows
2009-05-19 16:04:16 +12:00
Robert O'Callahan
4f35f8e467
Backed out changeset 49f254a4390e
2009-05-19 16:03:49 +12:00
Chris Double
cc33d9fa6a
Bug 461286. Don't try to get more frames if we've completed decoding. r=roc
...
--HG--
extra : rebase_source : 11346f044176fdaba753e5a4ce5d74ef91ffc493
2009-05-19 12:07:27 +12:00
Chris Double
db0c99f1ca
Bug 493494. Stop playback when a seek occurs so that A/V sync doesn't get confused. r=roc
...
--HG--
extra : rebase_source : 8dd4c7d5e95472cb17f7523db56446966f11f704
2009-05-19 11:11:59 +12:00
Robert O'Callahan
0442e8caf5
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
d82a5883f7
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
5f9dd68899
Backed out changeset eb93563530d5
2009-05-14 12:38:33 +12:00
Robert O'Callahan
4c03f490b2
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
bb96e85ae7
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
bd6823b10e
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
1bc6593cf3
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
f0c43ecb3d
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Chris Pearce
049c3ed353
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
d46c4e4070
Bug 486646 - nsMediaChannelStream::OnStopRequest nulls out mChannel too early, r=roc+bz
2009-04-21 20:43:09 +02:00
Robert O'Callahan
f1091f285e
Bug 486991. Convert nsMediaStream and media decoders to use TimeStamp/TimeDuration. r=doublec
2009-04-11 21:39:24 +12:00
Robert O'Callahan
fa2d01d562
Bug 486991. Convert nsMediaCache to use TimeStmap/TimeDuration. r=doublec
2009-04-11 21:39:02 +12:00
Chris Double
edf11c3233
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
032a093d24
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
824b6c183d
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
97ea95b6b8
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
d95f70cfbf
Backout incorrectly pushed changes
2009-04-06 14:19:27 +12:00
Robert O'Callahan
2bb2ba8f08
Fix libxul test bustage
...
--HG--
extra : rebase_source : 49e42436893e10cae0e70cc5468b4d95a47cb07d
2009-04-06 14:15:26 +12:00
Matthew Gregan
676dc6cddb
Bug 486923. Clean up nsWaveDecoder a bit. r+sr=roc
2009-04-06 12:20:51 +12:00
Chris Double
3ee48eece6
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
bf31d99071
Remove some unnecessary dump() calls from my video mochitests. No bug. r=xenu
2009-04-05 11:39:30 +12:00
Matthew Gregan
1922412388
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
0be178a028
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
0e8f7c8ad5
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
cf732d5a07
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
c47f8b32e2
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
8cd0db45d0
Bug 475441. Implement media data cache. r=doublec,kinetik
2009-04-01 13:52:56 +13:00
Robert O'Callahan
965a9ce568
Backed out changeset b6a1093e5814
2009-04-01 16:19:00 +13:00
Robert O'Callahan
6e281fcaab
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
69e0e0412a
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
930ba04d88
Bug 475441. Rename media stream classes. r=doublec
...
--HG--
extra : rebase_source : 824365b6fae0224ffa2ed78bc6062c74c7a02fc5
2009-03-30 14:20:32 +13:00
Robert O'Callahan
b6fe8dc8ba
Bug 475441. Merge nsDefaultStreamStrategy with nsHttpStreamStrategy. r=doublec
...
--HG--
extra : rebase_source : fd65378e88a550c9753333521bbaed05ee902e4d
2009-03-30 14:19:51 +13:00
Robert O'Callahan
fb755c7f26
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
3ce0024448
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
Matthew Gregan
b60dc906f5
Bug 483589 - Fix PRBool violation in nsWaveStateMachine::ScanForwardUntil. r+sr=roc
...
--HG--
extra : rebase_source : d1898e6ea258dd0a1ec1c13e099f70d11ac5ba2d
2009-03-16 18:53:48 +13:00
Matthew Gregan
d9341e98f4
Bug 474748 - Defer YUV conversion until frame paint, and allow SetRGBData to assume ownership of the RGB buffer rather than copying it. r=chris.double, sr=roc
...
--HG--
extra : rebase_source : 7d122efaed1a506cebe35740f7e6d33bf6311ced
2009-03-17 16:45:00 +13:00
Matthew Gregan
14dd052b45
Bug 474748 - Use EXTEND_NONE to paint video frames when target surface is X11. r+sr=roc
...
--HG--
extra : rebase_source : a97380f1d6d9d7c896dcf584aa845e4fcfbaa876
2009-03-17 11:12:13 +13:00
Matthew Gregan
0dea2b79f9
Bug 470662 - Don't set paused to true when playback ends. Fix handling of playing/suspend attrs. r=chris.double, sr=roc
...
--HG--
extra : rebase_source : f5161f9a699015b41c4947b52624901786adc852
2009-02-27 00:55:30 +13:00
Matthew Gregan
69f75e6330
Matthew Gregan - Bug 481109 - Ignore attempts to transition from shutdown to any other state in Wave decoder
2009-03-03 16:18:23 +13:00
Matthew Gregan
a3c27931c3
Matthew Gregan - Bug 476813 - progress events shouldn't be fired while the network is stalled. r+ doublec sr+ roc
2009-03-02 19:16:14 +13:00
Chris Pearce
deea3fdbd3
Chris Pearce - Bug 478957 - Audit events when loading local files from another domain. r+ doublec sr+ roc
2009-03-09 10:02:14 +13:00
Chris Pearce
b37dae2092
Chris Pearce - Bug 479711 - Media elements should delay the document 'load' event
2009-03-09 10:01:03 +13:00
Chris Pearce
035c54d22e
Chris Pearce - Bug 479859 - Implement new new load algorithm r+ doublec sr+ roc.
2009-03-09 09:59:08 +13:00
Chris Double
44ae02557b
Bug 477899 - Requests for the duration of a media resource are cached by liboggplay, with fix for previous win32 buld error - r+sr=roc
2009-03-03 23:23:54 +13:00
Chris Double
15f12fa8ac
Backed out changeset 0722a0e98124
2009-03-03 22:01:06 +13:00
Chris Double
48dfe61909
Bug 477899 - Requests for the duration of a media resource are cached by liboggplay - r+sr=roc
2009-03-03 21:35:50 +13:00
Matthew Gregan
bb97faface
Merge backout of 59d848818fd8.
2009-02-26 22:06:11 +13:00
Matthew Gregan
d033eb22af
Backed out changeset 59d848818fd8
2009-02-26 21:59:39 +13:00
Matthew Gregan
61a3450818
Replace test Wave file with silent alternative. No bug.
2009-02-26 21:30:29 +13:00
Matthew Gregan
1b87322c07
Bug 470662 - Don't set paused to true when playback ends. r=chris.double, sr=roc
2009-02-25 14:41:42 +13:00
Matthew Gregan
668578fa43
Bug 471024 - volume or mute set early in media load ignored. r=chris.double, sr=roc
2009-02-25 23:59:00 +13:00
Matthew Gregan
105f254748
Bug 469275 - Seeks requested while Wave state machine is in ended state are lost. r+sr=roc
...
--HG--
extra : rebase_source : 03ead0a2032ac705b2156bb1b02aef33a414c67b
2009-02-24 15:34:36 +13:00
Ben Turner
6f7d73bbfd
Bug 479725 - 'UMR [@ nsOggDecoder::GetStatistics], nsOggDecoder::mDuration not initialized'. r+sr=roc.
2009-02-22 16:51:06 -08:00
Chris Pearce
f95265dfc7
b=465458 Media selection algorithm changed in r2403 of HTML5 spec r=doublec sr=roc
...
--HG--
extra : rebase_source : 09a091ebb5c7a42480a423ac304aacedfa286c4c
2009-02-20 15:49:00 +13:00
Chris Double
20725b5f3e
Backed out changeset 2b7e176d9e73
2009-02-20 16:01:58 +13:00
Chris Double
fe03af3974
b=477899 Calls to liboggplay to get the duration of a media resource should be cached r+sr=roc
2009-02-20 15:37:06 +13:00
Matthew Gregan
efe62e0346
Bug 469268 - More mochitests for the Wave decoder backend. Also enable the test disabled due to bug 474754. r+sr=roc
2009-02-19 18:23:13 +01:00
Matthew Gregan
3370fb747f
Bug 478684 - test_play.html fails intermittently
...
--HG--
extra : rebase_source : d84a07bc61144b7ab88e217bf9e5b815d273fb88
2009-02-18 17:16:18 +13:00
Matthew Gregan
89e87fae77
Bug 469266 - Rewrite Wave decoder playback loop to reduce latency, improve accuracy of playback position reporting, and fire timeupdate events.
...
--HG--
extra : rebase_source : 2c2faa5af34abe2b5fe14d150207d9c375f7d567
2009-02-17 17:56:16 +13:00
Ted Mielczarek
62e681f38c
disable crashtest 428844-1.html for random failures, see bug 471185. disable media test_play.html for random failures, see bug 478868
2009-02-17 11:43:17 -05:00
Chris Pearce
318f45146f
Bug 462455. Initiate media load when appending <source> child elements to media elements. r=doublec,sr=roc
...
--HG--
extra : rebase_source : b9bca050ef528705c08988d3677bf9bd8c865f33
2009-02-16 14:05:28 +13:00
Chris Pearce
2e298cc39b
Bug 476731 - Media element should fire error event when src is a 404; missing test_error_on_404.html; r=chris.double sr=roc
2009-02-15 18:14:49 +01:00
Chris Pearce
c2986c75ec
Bug 476731 - Media element should fire error event when src is a 404; r=chris.double sr=roc
2009-02-15 17:26:32 +01:00
Robert O'Callahan
5564ffb17a
Bug 476176. Avoid potential deadlock warnings by not calling 'Available' on the media stream when checking whether to exit buffering; instead we can use our internal position counters. r=doublec
...
--HG--
extra : rebase_source : 51901db1ddca66b658d04d8c24769590a8faa7f7
2009-02-11 14:44:39 +13:00
Robert O'Callahan
861235b3f7
Bug 476811. Fire 'waiting' event when the decoder starts buffering. r=doublec
...
--HG--
extra : rebase_source : 1ac5d728e4f3f3e83de61d0806b20f328cdf380c
2009-02-11 14:43:45 +13:00
Robert O'Callahan
d042cc37c7
Bug 469272. Get rid of mPlayRequested since it's not needed; just use mPaused to remember whether we should be playing or not, if play() is called before the stream is loaded. r=doublec,r=kinetik
...
--HG--
extra : rebase_source : 2753730346f3159f07214e0116a9a32bc45a348d
2009-02-11 14:23:19 +13:00
Chris Double
12ad27a63d
Back out bug 476731 in commit id 364777bc90b5 due to reftest failures
2009-02-09 15:52:04 +13:00
Chris Double
288d609824
Backed out changeset 364777bc90b5 due to test failures
2009-02-09 15:51:16 +13:00
Chris Double
b290b231a6
Bug 469923 - Fix rounding issues with X-Content-Duration header causing test failure - r+sr=roc
2009-02-09 14:47:49 +13:00
Chris Pearce
01de168e48
Bug 476731 - Media element should fire error event when src is a 404 - r=doublec sr=roc
2009-02-09 14:04:10 +13:00
Chris Double
9387e1187d
Bug 469923 - Support X-Content-Duration for improved duration retrieval for Ogg media - r+sr=roc
2009-02-07 23:10:34 +13:00
Jesse Ruderman
4d5ffd6842
Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744
2009-02-07 21:33:31 -08:00
Robert O'Callahan
f0ff9de335
Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec
2009-02-05 21:02:21 +13:00
Robert O'Callahan
b4f66d939a
Backed out changeset ba595db2b681
2009-02-05 23:51:24 +13:00
Robert O'Callahan
546a3091e1
Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec
2009-02-05 21:02:21 +13:00
Chris Double
966de9ee44
Bug 452698. Ensure that YUV to RGB conversion puts bytes in the right order for big-endian machines (PPC). r+sr=roc
...
--HG--
extra : rebase_source : 8939f59496da5548509ebd64a515947b071c204d
2009-01-30 20:30:37 +13:00
Matthew Gregan
4a0378e54b
Bug 469698. Convert little-endian Wave data to native endinaness on big-endian machines (e.g. PPC). r+sr=roc
...
--HG--
extra : rebase_source : a791e7474167faed8bebfdfd9bf960fe6fb752df
2009-01-30 20:27:43 +13:00
Robert O'Callahan
c4bf83ada1
Bug 466410. Make sure videoWidth and videoHeight are posted to the element before metadataloaded fires. r=doublec
2009-01-28 22:33:37 +13:00
Chris Double
6b630ec451
Bug 475369. Fix regression from bug 451958 in passing mSeeking and mOffset to nsChannelToPipeListener. r+sr=roc
2009-01-28 22:27:09 +13:00
Chris Double
08f2c8d023
Bug 451958 - Disable tests that fail randomly on Windows - r=roc
2009-01-27 15:33:03 +13:00
Chris Pearce
19a5ca6acf
Bug 451958. Add more CheckLoadURIs (part 4). r+sr=roc
...
--HG--
extra : rebase_source : de1defd553b7f14cd5a5c1f04ccd0821b4422e4d
2009-01-25 21:08:06 +13:00
Chris Pearce
ec9d34ccb2
Bug 451958. Add more CheckLoadURIs (part 3). r+sr=roc
...
--HG--
extra : rebase_source : e4fbaea74fa01592896982d4c3862fa8a0ad86dd
2009-01-25 21:07:54 +13:00
Chris Pearce
57d9b95389
Bug 451958. Add more CheckLoadURIs (part 2). r+sr=roc
...
--HG--
extra : rebase_source : 09323fc6904d59a7b747187293c5850351401580
2009-01-25 21:07:43 +13:00
Chris Pearce
9068fac007
Bug 451958. Support Access-Controls for media loads. r+sr=roc
...
--HG--
extra : rebase_source : 4a180379a401040f16c4fce80ef116da139ba2cb
2009-01-25 00:00:17 +13:00
Daniel Holbert
3dc6c6a6d7
Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst
2009-01-23 01:02:09 -08:00
Robert O'Callahan
e37f5f5ba6
Backed out changeset a87563d6594e
...
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Chris Pearce
573e074841
Bug 451958. Support Access-Controls for media loads. r+sr=roc
...
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Robert O'Callahan
beaa52a3b0
test_progress1.html still fails, sigh
2009-01-23 08:32:08 +13:00
Ted Mielczarek
47563738cc
bug 474754 - sporadic test failures in test_wav_trunc.html. disable this test for now
2009-01-22 10:08:36 -05:00
Robert O'Callahan
003c9973b3
Reenable test_progress1 to see if it passes now
2009-01-22 22:36:03 +13:00
Robert O'Callahan
1887dcf927
Bug 474393. Fix bytes-downloaded count. r=doublec
2009-01-22 22:35:27 +13:00
Daniel Holbert
69edd63802
Backed out changeset e6566d187edd (bug 466410) on suspicion of causing linux reftest failures in 'ogg-video/basic-1.html' and 'ogg-video/zoomed-1.html'
2009-01-21 22:36:22 -08:00
Robert O'Callahan
d83f123df8
Bug 466410. Ensure that videoWidth and videoHeight are valid when metadataloaded fires on Ogg videos. r=doublec
...
--HG--
extra : rebase_source : 9e2a9c286a97ad9ba376a68d53a901af6b8ed312
2009-01-22 13:52:06 +13:00
Chris Double
111d0d3532
Bug 460738 - Suspend media downloads when in bfcache - r=kinetik sr=roc
2009-01-22 12:54:40 +13:00
Robert O'Callahan
dec01ceec4
Add missing tests for bug 463830
2009-01-17 22:26:55 +13:00
Chris Pearce
5f06963d36
Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
...
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Chris Pearce
8ce9df150f
Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
...
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Robert O'Callahan
1cf2f409ec
Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
...
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Robert O'Callahan
5f71fe04db
Disable randomly-failing progress-event test, properly
2009-01-16 15:24:52 +13:00
Robert O'Callahan
ed63b19dd4
Disable randomly-failing progress-event test
2009-01-16 15:15:21 +13:00