Commit Graph

486 Commits

Author SHA1 Message Date
Matthew Gregan
9ce044175c 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
60c5aa6fd2 Backed out changeset f54e6386c113
--HG--
extra : rebase_source : 367bf92e0875df1663e79bd6b968cddd677eeb1c
2010-06-19 13:19:25 -07:00
Kyle Huey
5746184f5d Bug 508082: Implement a raw video decoder. r=doublec
--HG--
extra : rebase_source : 2ffc36ceb9cb8407531efa6e7b1f0548e81c170c
2010-06-17 17:36:57 -07:00
Matthew Gregan
0a9ab25039 Bug 572515 - Crash in [@ nsMediaCacheStream::~nsMediaCacheStream()] if nsMediaCache fails to init. r=roc 2010-06-17 21:46:28 +02:00
Matthew Gregan
7440095223 Bug 572235 - Increase default media cache size from 50MB to 500MB. r=roc 2010-06-16 11:12:38 +12:00
Matthew Gregan
d7a0f59af6 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
2a541c4870 Bug 571816 - Notify video buffering logic of WebM file reads. r=doublec 2010-06-16 09:56:28 +12:00
Chris Pearce
2a28c408a3 Bug 571442 - nsBuiltinDecoderReader::GetBufferedBytes() operator precedence fix. r=double 2010-06-16 09:56:25 +12:00
Matthew Gregan
673772b5ef Bug 568431 - Remove the requirement for mCallbackPeriod from the generic media backend. r=doublec 2010-05-31 16:02:00 +12:00
Matthew Gregan
ccd1f342d3 Bug 568162 - More accurate frame end time after seeking for WebM. r=cpearce 2010-06-10 15:46:58 +12:00
Matthew Gregan
d9920c12f2 Bug 569187 - Ensure mAudioEndTime is not used uninitialized. r=doublec 2010-06-10 15:46:58 +12:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Chris Double
5d40555e31 Bug 566245 - Add WebM test file for content/media tests. r=kinetik 2010-06-09 11:31:27 +12:00
Chris Double
2e4e26a8dc Bug 566245 - WebM/VP8 decoder backend. r=kinetik 2010-06-09 11:31:27 +12:00
Chris Double
4852d6d3f6 Bug 566245 - HTMLMediaElement.canPlayType support for WebM. r=roc 2010-06-09 11:31:27 +12:00
Chris Pearce
c7317b404d 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
7868a1eeba 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
63a38282f4 Bug 567056. Rename mAspectRatio to mPixelAspectRatio. r=kinetik 2010-05-24 09:36:10 +12:00
Chris Double
65d3fd13c6 Bug 566501 - Remove unnecessary seek from the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
Chris Double
74c69c884b Bug 566498 - Move duration calculation into the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
Chris Double
2caa6041da 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
2c6dc3f8f0 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
2d7164e741 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
5a3066b9bf Add another known assertion annotation in the manifest. (Bug 472557) 2010-05-17 21:00:36 -07:00
L. David Baron
da9829e5f6 Add additional annotation for a random assertion on a crashtest. (Bug 472557) 2010-05-13 19:36:48 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Chris Pearce
9afb4be369 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
468200667f 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
7c61f15cf1 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
cf776b58a1 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
a2c51b95ef 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
c8781d13f7 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
90cf26650b 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
9fc9a4a7c0 Bug 562585 - AllFrameTimesIncrease defined but not used. r=doublec 2010-04-30 15:03:38 +12:00
Chris Pearce
2cb468725a Bug 556455 - Remove liboggz, liboggplay, libfishsound from video decoder. r=doublec 2010-04-27 20:53:48 +12:00
Chris Pearce
b97bf1cc37 Bug 556893 - Make playback time remaining accurate in media readyState transition calculation. r=doublec 2010-04-27 20:53:45 +12:00
Chris Pearce
ed2698161b 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
21bb6d302a 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
22b8517ab1 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
11a892c137 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
941ed3332c 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
2b2bd4076f 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
bb7c2f1d03 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
39352b97f4 Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Chris Pearce
2c49cfe6ca 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
3c796bbaa4 Bug 557432 - Commit backout. 2010-04-09 16:33:54 +12:00
Chris Pearce
829a353113 Bug 557432 - Backed out changeset b64df24f4910 2010-04-09 16:33:07 +12:00
Chris Pearce
c897a92364 Bug 557432 - Lock the audio stream while getting it's played duration. r=doublec 2010-04-08 20:16:02 +12:00
Chris Pearce
35603f868d Bug 557095 - Video FPS calculation in 64bit to avoid aborting on overflow. r=doublec 2010-04-08 20:16:02 +12:00
Chris Double
37b2e3b033 Bug 551277. Backed out changeset f9a11b9b2b9f 2010-04-06 18:10:02 +12:00
Chris Double
e762926f9d 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
62ed5c8db0 Bug 531340 - Bustage fix on comm-central. r=bustage-fix 2010-04-02 17:03:12 -07:00
Daniel Holbert
66f88aa64e Bug 556900: Fix GCC warnings in nsOggPlayStateMachine.cpp. r=cpearce 2010-04-02 16:47:18 -07:00
Daniel Holbert
4a8e1281a9 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
0d671d68ee Bug 531340 - AudioLoop() fix; don't dereference nsAutoPtr after forget(). r=bustage-fix 2010-04-01 23:53:38 -07:00
Chris Pearce
99f6865d5e 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
810ae51b7a Bug 531340 - New Ogg video decoder. r=doublec sr=roc 2010-04-01 20:03:07 -07:00
Chris Pearce
eb771c80cf Bug 528566 - Invoke resource selection algorithm upon new Audio(url). r=chris.double 2010-03-18 16:00:18 +13:00
Matthew Gregan
4c294e0cbd 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
59f17b52c3 Bug 538323. Part 2: use ImageLayers to render video. r=kinetik 2010-03-02 12:41:49 +13:00
Matthew Gregan
e8a95ea783 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
2b946b158b 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
926910324a Bug 525401 - Fix resuming from pause when playing poorly muxed videos. r=chris.double 2010-02-05 17:06:08 +13:00
Mike Hommey
9b07b8b0ad Bug 550961. Fix license header typos. r=gerv 2010-03-15 14:44:37 +13:00
Joel Maher
d050afae06 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
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 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
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 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
7ffd9496bc 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
ef6c5fda3d 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
52d94b57d2 Backed out changeset 9b33c91c851d 2010-02-26 15:09:56 -08:00
Matthew Gregan
54dfd7a69d 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
ef6f3c2ae0 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
a4e36d4f5f Fix typo to trigger builds
--HG--
extra : rebase_source : 526e64cfda9d8e3e591cfa4c77352a63c20f7f52
2010-02-09 21:39:02 -08:00
Matthew Gregan
7f4fbf94ce Bug 533822 - Flush liboggz packet_buffer in oggz_reset_streams. r=chris.double 2010-01-08 17:55:39 +13:00
Ralph Giles
12876d55d8 Bug 539620 - Deprecate X-Content-Duration for Content-Duration. r=chris.double 2010-01-27 13:29:26 +01:00
Jeff Walden
e9d69cbf2e 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
55a25263b0 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
bd5fde6807 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
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