Chris Pearce
a259c20cba
Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
2011-04-14 10:12:23 +12:00
Yury
7aad392535
Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double
2011-04-11 17:15:45 -04:00
Ehsan Akhgari
19700d3af2
Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange
2011-04-10 02:01:36 -04:00
Yury
07d8571fef
Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double
2011-04-09 23:35:12 -04:00
Chris Double
ba8d6f312c
Bug 647178 - Don't call Suspend on channel if the channel has completed downloading - r=roc
2011-04-01 22:43:29 +13:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Mats Palmgren
395ec2ab5c
Bug 635794 - nsAutoArrayPtr so we get 'operator delete[]' when destroying. r=khuey
2011-04-04 13:41:02 +02:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Pearce
48f5b7cc07
Bug 641718 - Backout 44d43f095a4f. r=backout
2011-04-01 13:02:20 +13:00
Chris Jones
29f9a86daa
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Matthew Gregan
498ae5a9a8
Bug 635400 - Null check state machine pointer in GetBuffered. r=cpearce
2011-03-24 18:04:16 +13:00
Matthew Gregan
e9c4f4002b
Bug 645593 - Null check mAudioStream before use in PlaySilence. r=cpearce
2011-03-30 18:45:44 +13:00
Chris Double
bd28db8dee
Bug 635649 - Refactor Wave backend to use content/media nsBuiltinDecoder framework - r=kinetik
...
commit c7e190d81b10e7425b53217352c126adfbb79c4a
Author: Chris Double <chris.double@double.co.nz>
Date: Thu Mar 24 18:09:06 2011 +1300
Fix
2011-03-30 18:37:42 +13:00
Chris Pearce
d213c7a734
Bug 644045 - Handle Theora granulepos 'pframe' of 0 when decrementing granulepos. r=derf
2011-04-01 11:10:49 +13:00
Chris Pearce
526f101e8a
Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
2011-04-01 11:10:49 +13:00
Chris Double
eddc958618
Bug 646819 - Fix incorrect position calculation in nsWaveDecoder::DecodeAudioData causing OOM - r=kinetik
2011-04-01 03:49:07 +13:00
Chris Pearce
781dcec68c
Bug 646766 - Make test_info_leak use MediaTestManager so it can be parallelized. r=roc
2011-04-01 11:10:48 +13:00
Chris Double
85bb421dd4
Bug 646682 - Fix range check in test_wave_data media tests - r=kinetik
2011-03-31 14:08:49 +13:00
L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Jonas Sicking
ca53c7c13a
Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug
2011-03-28 13:18:45 -07:00
timeless@mozdev.org
ec3adfa1f0
Bug 577904 mark DEBUG only variables as ifdef DEBUG in media
...
r=doublec
2010-07-11 15:27:27 +03:00
Mounir Lamouri
cc185260b6
Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg
2011-03-25 12:14:19 +01:00
Chris Double
bf27fe5198
Bug 639721 - Fix data race on nsBuiltinDecoderReader::mInfo - r=kinetik
...
--HG--
extra : rebase_source : 5e58af70c75f563ae7dd7d62e3be897a3c244e85
2011-03-24 16:53:03 +13:00
Chris Double
5acb08ef86
Bug 614445 - delete used to free memory allocated by operator new[] in Ogg backend - r=cpearce
...
--HG--
extra : rebase_source : 6cbd41821bbe489ab2fa443c57b710aa1527d1e2
2011-02-24 16:53:35 +13:00
Chris Double
143856bc77
Bug 556821 - Use Ogg Skeleton presentation time for start of videos - r=cpearce
...
--HG--
extra : rebase_source : 83020ac5028e9f94cabe6a3c959cf84eeb25449f
2011-03-24 14:16:30 +13:00
Chris Pearce
b767468fb0
Bug 639391 - Ensure WebM GetBuffered() is threadsafe. r=kinetik
2011-03-24 11:28:58 +13:00
Chris Pearce
207244234b
Bug 639391 - Ensure Ogg GetBuffered() is threadsafe. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
7e89e95619
Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
efabfc61cf
Bug 639391 - Make nsMediaStream responsible for determining cached media data in a threadsafe manner. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
16b3b24b89
Bug 639391 - Push Ogg specific seeking stuff down into nsOggReader. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
2f263be1cb
Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
edfec66da5
Bug 628665 - Exit media buffering state quicker if we entered it too soon after starting decode. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
a77b17534e
Bug 628665 - Buffer media when low on undecoded data. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
c6a5fc5f37
Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
6cc9a58852
Bug 628665 - Don't enqueue late Theora frames for playback. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
3d57294e8f
Bug 638617 - Ensure nsOggReader::FindEndTime() doesn't read outside of cached data bounds, and reports errors properly. r=doublec
2011-03-24 11:28:57 +13:00
Chris Pearce
5522e89bd1
Bug 580531 - Handle multiple frames per chunk per packet in WebM playback statistics. r=kinetik
2011-03-24 11:28:57 +13:00
Chris Pearce
c285d2e2af
Bug 580531 - Implement HTMLMediaElement.mozPaintedFrames and mozFrameDelay. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce ext:(%2C%20Chris%20Double%20%3Cchris.double%40double.co.nz%3E)
a74080606c
Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc
2011-03-24 11:28:57 +13:00
Joel Maher
368d8a0909
Bug 637660 - add sandbox.Android, and skip a few crashtests so we can run green on Android. r=dbaron, a=tests
2011-03-11 09:15:33 -05:00
Alon Zakai
3145ec77d2
bug 634407 - Going to a canvas based tetris game will cause the content not to redraw r=cdouble a=blocking-fennec
2011-03-07 17:44:49 -08:00
Matthew Gregan
a428e1ccf4
Bug 636894 - Revert bug 634787's change to AUDIO_DURATION_MS to work around a regression in MozAudioAvailable event delivery. r=roc a=roc
2011-03-02 14:40:44 +13:00
Matthew Gregan
b3b3f3320b
Bug 546700 - Recover gracefully from servers that send Accept-Ranges but don't. r=roc a=roc
2011-02-21 16:38:29 +13:00
Matthew Gregan
a2f5d89538
Bug 634787 - Fix frame wait calculation and early return from Wait(). r=cpearce a=roc
2011-02-18 15:30:33 +13:00
Matthew Gregan
9dc00ae210
Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc
2011-02-18 16:42:15 +13:00
Chris Pearce
87d3601f97
Bug 627153 - Be less conservative when determining video readyState. r=kinetik a=roc
2011-02-21 10:21:40 +13:00
Doug Turner
ff1d41e7b6
Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff
2011-02-17 08:41:07 -08:00
Mats Palmgren
59d8eaa785
Bug 633164 - Zoomed ogg video renders at the wrong size until I move the mouse. r+a=roc
2011-02-17 17:12:17 +01:00
Wes Johnston
39a572652e
Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec
2011-02-15 20:31:08 -08:00
Doug Turner
15b16004ce
Backed out changeset 0000b936e5c6
2011-02-15 20:31:00 -08:00
Wes Johnston
d04cf02a60
Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
2011-02-15 16:54:47 -08:00
Wes Johnston
6979a59264
Bug 631058 - Set WebM decoder mDataOffset to zero. r=kinetik a=blocking-fennec
2011-02-15 16:54:47 -08:00
Wes Johnston
a97733eea4
Bug 631058 - Part 1 - Allow specifying default preload behavior through a pref. r=cpearce, a=blocking-fennec
2011-02-15 16:54:47 -08:00
Chris Pearce
800f4fd200
Bug 629618 - Correct Ogg seek bisection's backoff and termination. r=doublec a=roc
2011-02-16 11:08:31 +13:00
Matthew Gregan
a442ddf24b
Bug 631953 - Check codec is initialized before using cached serial number. r=cpearce a=roc
2011-02-08 15:45:20 +13:00
Ms2ger
2833e49ecc
Bug 620359 - Reorder members in nsAudioStreamRemote::nsAudioStreamRemote() constructor; r=kinetik a=dbaron
2011-02-15 13:34:38 -08:00
Matthew Gregan
9e97be122e
Bug 633051 - Remove LOAD_BACKGROUND flag from media channel when load completes. r=roc a=roc
2011-02-15 12:21:32 +13:00
Doug Turner
cee16d2b7f
Backed ou Johnston – Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
...
changeset a8d213604ca6
2011-02-14 21:25:06 -08:00
Wes Johnston
1f8d9514ad
Bug 631058 - Part 2 - Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
...
--HG--
extra : rebase_source : 743cb30aea1bd8cb6e9a189b9142c5ef8abce964
2011-02-14 17:01:03 -08:00
Matthew Gregan
f6eec8c272
Bug 627139 - Report seek target as current time immediately after seeking. r=roc a=roc
2011-02-01 15:57:13 +13:00
Chris Double
b32f5cc9a4
Bug 630461 - Fix signed/unsigned comparison compiler warnings in nsBuiltinDecoderStateMachine - r=cpearce a=roc
...
--HG--
extra : rebase_source : 5e9423a0749e9cd9e4cc87aa5c8bf0b87710d434
2011-02-02 14:35:47 +13:00
Chris Pearce
7866b5b1cd
Bug 607838 - Don't drain audio stream when it's paused, it won't finish. r=kinetik a=blocking2.0:final
...
--HG--
extra : rebase_source : b7faedb35343ca22d35e40e77bd5c63175ad608a
2011-02-03 12:44:40 +13:00
Chris Double
c54ff75ce8
Bug 607838 - Allow audio drains to be interrupted - r=cpearce a=blocking2.0:final
...
--HG--
extra : rebase_source : 664d1b27f71daf1db7fc4ae165174f6668273ad7
2011-02-02 14:31:53 +13:00
Justin Wood
1e2eba6da7
Bug 598252 - Disable test_play_twice.html on SeaMonkey. r=cpearce, a=DONTBUILD
...
[SeaMonkey Linux] Mochitest-1/5 fails test_play_twice.html | Expect at least one playing event (x2 with Ogg files)
2011-01-29 23:36:19 -05:00
Matthew Gregan
a98ed26248
Bug 624572 - Abort in content process receiving PAudio:SampleOffsetUpdate r=dougt a=blocking-fennec
...
--HG--
extra : rebase_source : fcc520e461b285763312fc5e977bb187c8f28b7f
2011-01-28 21:40:23 -08:00
Chris Pearce
cba19c676e
Bug 626979 - Handle WebM frame size changes. r=kinetik a=blocking2.0
...
--HG--
extra : rebase_source : f8f4abe0b2249d964d6215562ff050046729b639
2011-01-28 19:36:03 +13:00
Chris Pearce
f0aaf70d6b
Bug 623637 - Change assertion into check in media data exhausted notification. r=roc a=roc
2011-01-18 21:09:04 +13:00
Matthew Gregan
31cc4eb4f7
Bug 626273 - Correct boundary seek logic. Change media element IDL floats to doubles per the spec. Invalidate updated frame after seeking. Optimize small forward seeks in WebM. r=cpearce a=roc
2011-01-17 16:03:00 +13:00
Matthew Gregan
bfad01f32f
Bug 622517 - Only use remoted audio streams on Android. r=dougt a=dbaron
2011-01-10 12:47:43 +13:00
Matthew Gregan
4004024181
Bug 621257 - Handle transition from buffering to seeking state correctly in Wave decoder. r=roc a=roc
2011-01-05 17:01:26 +13:00
Chris Pearce
0dc06f3103
Bug 623637 - Initiate media buffering when decode hits end of downloaded data, rather than when they're close. r=roc a=roc
2011-01-18 13:53:18 +13:00
Chris Pearce
1cb5593661
Bug 623637 - Restore playback statistics to enable more accurate media buffering duration calculation. r=roc a=roc
2011-01-18 13:53:18 +13:00
Chris Pearce
88768d9890
Bug 620326 - Add code to MediaTestManager to enable looping on a media mochitest to help fixing random orange. r=test-change a=test-change.
2011-01-13 14:06:16 +13:00
Chris Pearce
757d8f1ec3
Bug 620326 - Ensure media decoder loop always makes its decision to sleep based on up-to-date information. r=roc a=roc
2011-01-13 14:06:15 +13:00
Robert O'Callahan
8572e19e7a
Bug 621430. Lazily create stream writer thread so we don't create one when using local audio. Also, shut down the stream writer thread when the audio stream dies. r=dougt,a=blocker
2011-01-04 16:55:32 +13:00
Chris Pearce
b1b833ee64
Bug 616800 - Ensure AudioLoop() doesn't sleep, and can still drain, if we've pushed less than the start threshold of audio to hardware. r=kinetik a=blocking2.0
2010-12-20 08:05:40 +13:00
Serge Gautherie
3cf214f49f
Bug 608634 - [mochi-1] Intermittent "test_error_in_video_document.html | Must have error set to MEDIA_ERR_DECODE"; (Dv1) Improve code and checks, somewhat.
...
r=chris a=(test only).
2010-12-17 03:22:28 +01:00
Matthew Gregan
fc868e4d64
Bug 584259 - Add support for StereoMode element. r=roc a=roc
2010-11-03 12:43:29 +13:00
Matthew Gregan
0e9083fe01
Bug 605457 - Remove concurrent use of Ogg stream hash table. r=cpearce a=roc
2010-12-17 14:39:01 +13:00
Jesse Ruderman
6d6a0beac9
Bug 576612 - add crashtest
2010-12-12 12:54:27 -08:00
timeless@mozdev.org
65c73f6c7a
Bug 615838 comparison between signed and unsigned integer expressions in nsMediaCache::FlushInternal. r=roc a=roc
2010-12-03 14:08:49 +13:00
Matthew Gregan
aca5c745d4
Bug 612798 - Remoting Audio - Thread per stream to avoid problems with blocking drain/write calls. r=dougt. a=blocking-fennec
...
--HG--
extra : rebase_source : a2efdcf562d3da08e9676fe174d0cdc3e317fa82
2010-11-30 18:37:32 +13:00
Matthew Gregan
74c9d71285
Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking-fennec
...
--HG--
extra : rebase_source : 0fe7883f97fb4f014b9f39ced902bc96b0eebc31
2010-11-26 17:13:54 +13:00
Chris Pearce
08dcd8dbc0
Bug 578536 - Ensure WebMReader properly tags its decoded samples with file offsets. r=doublec a=blocking2.0
2010-11-29 09:06:38 +13:00
Chris Pearce
f5237f4e38
Bug 610570 - Only skip to next keyframe when not running out of data to decode. r=roc a=blocking2.0
2010-11-29 09:06:38 +13:00
Doug Turner
4707a1b209
Backing out 24aed997dbcd
...
Matthew Gregan – Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec
It caused windows builds to go red. qq.
a=me
2010-11-27 21:40:43 -08:00
Matthew Gregan
c09fcbac77
Bug 614160 - Fix remote audio ownership and avoid sending IPCs when actor is being destroyed. r=dougt a=blocking=fennec
2010-11-26 17:13:54 +13:00
Chris Pearce
0e486c9c7c
Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc
2010-11-25 07:34:57 +13:00
Doug Turner
90d1b10e31
[Bug 613982] Crash [@ libdvm.so@0x48c42 ] in sa_stream_write when closing a tab playing audio. r=kinetik. a=blocking-fennec
...
--HG--
extra : rebase_source : 825c83d3e804d9786b09a74e6ba216d03aa6d896
2010-11-22 14:08:49 -08:00
Daniel Holbert
34edc14760
Bug 613289: Remove unused variable 'result' from nsAudioStream::AllocateStream. r+a=dougt DONTBUILD
2010-11-19 08:56:23 -08:00
Doug Turner
dd28fadfc9
Bug 599089 - Remote Audio to parent process. r=kinetik a=blocking-fennec
...
--HG--
extra : rebase_source : 8552e45188f1e62a56d5e93b551ec9fb0d4faaca
2010-11-16 20:14:19 -08:00
Matthew Gregan
32a39ce5e9
Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc
2010-11-15 14:32:36 +13:00
Matthew Gregan
bfa12421d5
Backed out changeset c1351e1799b8
2010-11-15 12:49:37 +13:00
Matthew Gregan
64e15bea7f
Bug 569163 - Fix a race in nsWaveDecoder's ended state handling. r=cpearce a=roc
2010-11-15 11:41:22 +13:00
Chris Double
c8b0bb098e
Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
...
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Ehsan Akhgari
bb6861f7b5
Bug 601881 - video and audio should never play automatically in editor; r=bzbarsky,cpearce a=bsmedberg
...
--HG--
rename : content/media/test/test_play_events.html => content/media/test/test_autoplay_contentEditable.html
2010-10-14 20:13:29 -04:00
Chris Pearce
50b0ea20e8
Bug 596947 - Add logging to test_timeupdate_seek to help debug orange. r=test-change a=test-change.
2010-11-10 14:45:43 +13:00
Chris Pearce
0195699a42
Bug 572579 - Correct file perms for media cache temp subdir and file. r=roc a=blocking2.0
2010-10-26 14:21:16 +13:00
Chris Pearce
2a501c4276
Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0
2010-10-17 08:58:20 +13:00
Chris Pearce
a09af5d84d
Bug 589039 - Don't use uninited hashtable in Ogg index decoder. r=doublec a=bsmedberg
2010-11-08 19:43:24 +13:00
Mike Hommey
974d30cc03
Bug 577653 - Allow to build against system libvpx. r=khuey a=roc
2010-11-05 18:24:28 +01:00
Chris Pearce
332c2f6839
Bug 608630 - Make media simple events not bubble. r=roc a=blocking2.0
2010-11-05 13:44:33 +13:00
Chris Pearce
46fa35ee53
Bug 503623 - Ensure the decoder doesn't sleep forever after filling its buffers when paused. r=doublec a=roc
2010-11-05 13:44:33 +13:00
Chris Pearce
645fabdc56
Bug 580876 - Ensure WAV playing events can fire when decode has finished but playback hasn't. r=kinetik a=roc
2010-11-05 13:44:33 +13:00
Justin Wood
d5c1ce8fbd
Additional debugging info for Bug 608634. rs+=cpearce, a=NPOTB
...
(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)
2010-11-01 23:28:01 -04:00
Justin Wood
55862538df
More bustage fix from mochi not having info(). a=bustage
2010-10-31 23:19:37 -04:00
Justin Wood
45be115a63
Add debugging info for Bug 608634. rs+=cpearce over IRC, a=NPOTB
...
(Bug 608634 - [SeaMonkey] [mochi-1] test_error_in_video_document.html failing)
--HG--
extra : rebase_source : dd5c4049e24ce79e266e2b28038c36525a6fd52b
2010-10-31 22:39:52 -04:00
Chris Pearce
4cc3f8fa4f
Backed out changeset 22b6b7465458
2010-10-26 17:43:10 +13:00
Chris Pearce
5581ad0abb
Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0
2010-10-17 08:58:20 +13:00
Chris Pearce
349fa6b6ec
Bug 503623 - Add debug logging to test_seek to help diagnose random failure. r=test-fix a=test-fix
2010-10-26 10:50:02 +13:00
Timothy B. Terriberry
8dd1e23dc0
Bug 511348 - Integrate Tremor for Vorbis decoding for non/slow-FPU platforms. r=chris.double a=blocking-fennec
...
--HG--
extra : rebase_source : 807703f9008d0e6c3829370a8a84e0914e2ccb29
2010-10-18 19:55:45 -07:00
Matthew Gregan
f35bfec886
Bug 603912 - Use RAII wrappers to manage nestegg_packet ownership. r=chris.double a=blocking2.0
2010-10-14 14:50:20 +13:00
Chris Pearce
222ab567f3
Bug 604067 - Test invalid video in iframe gets error state correctly. a=test
2010-10-17 08:58:20 +13:00
Chris Pearce
7070c1834b
Bug 604067 - Handle error codes from libvorbis in WebM reader. r=kinetik a=blocking2.0
2010-10-17 08:57:45 +13:00
Chris Pearce
a94e3056fc
Bug 602072 - Ensure media play() overrides preload='none'. r=roc a=blocking2.0
2010-10-17 07:41:53 +13:00
Chris Pearce
aeee50f925
Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0
2010-10-17 07:41:53 +13:00
Chris Pearce
8c36e03781
Bug 603226 - Backed out changeset f63595eb0733 a=backout
2010-10-17 10:05:21 +13:00
Chris Pearce
4804314db4
Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0
2010-10-17 07:41:53 +13:00
Ehsan Akhgari
2387eabfcc
Bug 572243 - Media cache should be cleared when leaving private browsing mode; r=bzbarsky a=blocking-betaN+
2010-09-28 20:02:08 -04:00
Robert O'Callahan
e6023b9a3d
Bug 584238 - Add an API to clear the media cache; r=kinetik a=blocking-betaN+
2010-10-13 10:14:08 -04:00
Chris Pearce
cbe8f49dcf
Backed out changeset 00382c4a8b22 a=backout
2010-10-13 20:10:37 +13:00
Chris Pearce
fb575c66f9
Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0
2010-10-13 19:36:03 +13:00
L. David Baron
1f3fa6c875
Change checkComplete in test_referer.html to check whether all tests are complete, rather than just the last. (Bug 600458) r=doublec a=test-fix
2010-10-07 12:35:59 +13:00
Chris Pearce
4fb016a01e
Bug 598140 - Set media curentTime correctly after seek when sound is disabled. r=kinetik a=blocking2.0
2010-10-07 11:58:36 +13:00
Chris Pearce
442cac0140
Bug 600455 - Fix index in indexed ogg file. r=test-fix
2010-10-07 11:58:36 +13:00
Chris Pearce
43d505f1f4
Bug 584068 - Don't consider our canplaythrough status on live streams when moving out of buffering state. r=kinetik a=blocking2.0
2010-10-07 11:58:36 +13:00
async.processingjs@yahoo.com
23de2accd2
Bug 598812 - Fix time attribute of audio available event. r=cpearce a=blocking2.0
2010-10-07 11:58:36 +13:00
Chris Pearce
903c5bab83
Bug 505158 - Handle invalid media in video element's source children. r=roc a=blocking2.0
2010-10-07 11:58:36 +13:00
Chris Pearce
9e4234dc37
Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0
2010-10-07 11:58:36 +13:00
Matthew Gregan
f3d96bd23a
Bug 598217 - Share nsWebMBufferedState between cloned decoders. r=roc a=blocking2.0
2010-09-21 12:49:50 +12:00
Jonas Sicking
bdf59c33ee
Bug 597301: Update CORS to latest spec. r=jst a=blocker
2010-10-04 17:41:07 -07:00
Chris Double
bcc17142af
Bug 584480 - Send Referer header with media requests - r=roc a=blocking2.0
2010-09-17 05:36:23 +12:00
Chris Double
17036671f9
Bug 557479 - Auto manage VideoData and SoundData objects. r=cpearce a=blocking2.0
2010-09-14 16:24:47 -07:00
Chris Pearce
2fd7f9bd66
Bug 589626 - Update media readystate when crossing HAVE_FUTURE/HAVE_ENOUGH_DATA audio boundary. r=roc a=blocking2.0
2010-09-14 16:24:47 -07:00
Chris Pearce
5e2fd3c5ad
Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0
2010-09-14 16:24:47 -07:00
Chris Pearce
8449b054fc
Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0
2010-09-14 16:24:47 -07:00
Matthew Gregan
3367b0ec43
Bustage fix for bug 570904. a=bustage-fix
2010-09-14 20:23:33 +12:00
Chris Double
f66fdd1a99
Bug 571822 - Fire timeupdate event less frequently than once per frame - r=kinetik a=blocking2.0
2010-09-10 17:49:26 +12:00
Chris Double
9c0d8b2cee
Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0
2010-09-10 15:29:06 +12:00
Matthew Gregan
c944fb3919
Bug 596111 - Don't assume first WebM track is video. Seek using mVideoTrack (or mAudioTrack if there's no video). r=doublec
2010-09-14 13:46:48 +12:00
Matthew Gregan
48fd3a8330
Bug 570904 - Implement buffered support for WebM. r=roc
2010-09-13 20:45:50 +12:00
Robert Sayre
4659902f34
jaegermonkey. what. a=arewefastyet
2010-09-11 15:06:33 -04:00
Chris Pearce
161faa4b9d
Bug 580876 - Add debugging logging to figure out if we've got a type error a=test-fix
2010-09-09 11:58:18 +12:00
Chris Pearce
d6bef38541
Bug 589626 - Commit merge of backout. a=backout
2010-09-06 16:54:16 +12:00
Chris Pearce
b7a9c66fcf
Backed out changeset 619459aa5005 a=backout
2010-09-06 16:53:39 +12:00
Chris Pearce
bed885f419
Bug 589626 merge backout. a=backout
2010-09-06 16:53:03 +12:00
Chris Pearce
519835622d
Backed out changeset 528a97f6bc3b a=backout
2010-09-06 16:52:22 +12:00
Chris Pearce
d633f30def
Bug 578804 - Defer media volume to the audio thread. r=kinetik a=blocking2.0
2010-09-06 14:14:50 +12:00
Chris Pearce
593a071711
Bug 593528 - Ensure audioavailable frame buffer memory is always freed. r=kinetik a=blocking2.0
2010-09-06 14:14:50 +12:00
Chris Pearce
59f916fab5
Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0
2010-09-06 14:14:43 +12:00
Chris Pearce
c673663a39
Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0
2010-09-06 11:59:50 +12:00
Marco Bonardo
b5f938275c
Backed out changeset 96b74fec2915
2010-09-11 11:17:11 +02:00
Chris Double
417b0c1a00
Bug 584615 - Make media progress events be 'simple' Events, not 'progress' Events - r=roc,cpearce,dolske,kinetik a=blocking2.0
2010-09-10 15:29:06 +12:00
Chris Double
67ab1fd425
Bug 588312 - Set video.currentTime to seek time when seek starts - r=kinetik a=blocking2.0
2010-09-10 14:48:36 +12:00
Chris Pearce
a146561fe9
Bug 589626 - Backed out changeset 757b7a43aad0 a=backout
2010-09-11 14:08:12 +12:00
Chris Pearce
8441595dcc
Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0
2010-09-11 11:29:11 +12:00
Chris Pearce
280fb8412f
Bug 593074 - Prevent multiple test finish from causing errors. a=test-fix
2010-09-03 12:03:03 +12:00
Chris Pearce
5c3547d9d9
Bug 485288 - Ensure video context menu doesn't show when video's source children don't contain a resource. r=dolske a=blocking2.0
2010-09-03 12:03:03 +12:00
Chris Pearce
6a92a3da34
Bug 485288 - Update media load algorithm. r=roc a=blocking2.0
2010-09-03 12:03:03 +12:00
Dan Witte
191bf49d47
Merge e10s -> m-c.
2010-08-30 15:35:24 -07:00
Dan Witte
c4091d7694
Back out Bug 536324 part 3.
2010-08-30 13:20:39 -07:00
Chris Pearce
235e5f8ab9
Bug 586924 - Disable test_progress's often failing test. a=test-fix
2010-08-30 15:19:53 +12:00
Chris Pearce
5ee22d4049
Bug 591847 - Don't test audio write API when the audio hardware is disabled. a=test-fix
2010-08-30 15:19:48 +12:00
Chris Pearce
c98596fdf2
Bug 557432 - Reduce parallelism of media mochitests. r=test-fix a=roc
2010-08-27 14:11:46 +12:00
David Humphrey
07de814ba1
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-25 09:10:00 -04:00
Chris Pearce
22258c3785
Bug 589467 - Shutdown idle media state machine threads. r=kinetik a=sicking
2010-08-25 20:45:45 +12:00
Matthew Gregan
a0e62bf5cd
Bug 589071 - Avoid shutting down nsAudioStream when another thread may be using it. r=doublec a=roc
2010-08-24 14:06:14 +12:00
Chris Pearce
b1b1746c37
Bug 589561 - Rename HTMLTimeRanges to TimeRanges, HTMLMediaError to MediaError. r=roc a=roc
...
--HG--
rename : content/html/content/src/nsHTMLMediaError.cpp => content/html/content/src/nsMediaError.cpp
rename : content/html/content/src/nsHTMLMediaError.h => content/html/content/src/nsMediaError.h
rename : content/html/content/src/nsHTMLTimeRanges.cpp => content/html/content/src/nsTimeRanges.cpp
rename : content/html/content/src/nsHTMLTimeRanges.h => content/html/content/src/nsTimeRanges.h
rename : dom/interfaces/html/nsIDOMHTMLMediaError.idl => dom/interfaces/html/nsIDOMMediaError.idl
rename : dom/interfaces/html/nsIDOMHTMLTimeRanges.idl => dom/interfaces/html/nsIDOMTimeRanges.idl
2010-08-25 20:43:00 +12:00
Dan Witte
f2000be3eb
Merge.
2010-08-23 17:30:33 -07:00
Dan Witte
72137223d8
Merge.
2010-08-21 13:51:54 -07:00
Dan Witte
5f4dbe5953
Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+
2010-08-21 00:31:35 -07:00
Matthew Gregan
db5495b891
Bug 589069 - Take decoder lock earlier in MetadataLoaded to protect mDecoderPosition access. r=doublec, a=roc
2010-08-23 14:31:14 +12:00
Matthew Gregan
188c77ba33
Bug 589048 - Destroy vpx_codec_ctx when destroying nsWebMReader. r=doublec, a=roc
2010-08-23 14:50:43 +12:00
Karl Tomlinson
9262413ddf
backout dbbb9575aae1 due to build issues in some configurations b=577743
2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd
Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking
2010-08-23 13:47:33 +12:00
Phil Ringnalda
69f34402f7
Bug 567954 - disable test_mixed_principals.html for constant orange, a=test-only
...
--HG--
extra : rebase_source : d94eea2b4b539db58be101b15774171ce5a85f66
2010-08-20 18:46:19 -07:00
Chris Pearce
340b0f35a6
Bug 548523 - Disable test_preload_actions.html case 9 until bug 568402 is fixed. a=test-fix
2010-08-20 10:50:37 +12:00
Rich Dougherty ext:(%2C%20Chris%20Pearce%20%3Cchris%40pearce.org.nz%3E)
eccf17ee01
Bug 548523 - Replace HTMLMediaElement.autobuffer attribute with 'preload'. r=roc a=blocking2.0
...
--HG--
rename : content/media/test/test_autobuffer.html => content/media/test/test_preload_attribute.html
rename : content/media/test/test_autobuffer2.html => content/media/test/test_preload_suspend.html
2010-08-20 10:50:37 +12:00
Chris Pearce
b07055071f
Bug 519897 - Supported indexed Ogg files. r=doublec
2010-08-20 10:50:37 +12:00
Ted Mielczarek
be942c946d
Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures.
2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-17 09:40:00 -04:00
Chris Pearce
f4cb763eeb
Replaces some \c\r with \n. a=bustage-fix
2010-08-18 14:17:50 +12:00
Chris Pearce
14ae2bcedd
Backed out changeset 7eee00899270
2010-08-18 13:48:34 +12:00
Chris Pearce
1e4886416f
Bug 519897 - Supported indexed Ogg files. r=doublec a=roc
2010-08-18 10:49:14 +12:00
Markus Stange
438fa8a236
Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc
2010-08-13 15:36:13 +02:00
Matthew Gregan
fde29262a3
Bug 585864 - Increase media cache block size from 4kB to 32kB. r=roc a=roc
2010-08-13 12:41:47 +12:00
Matthew Gregan
e5fbf40ca5
Bug 586535 - Reduce delay in volume changes on OS X by using sydneyaudio volume control. r=doublec a=blocking2.0
2010-08-12 13:52:36 +12:00
Chris Pearce
4f879008f2
Bug 576539 - Only reset playback when seeking to a new position. r=kinetik a=blocking2.0
2010-08-13 14:28:15 +12:00
Chris Pearce
024df6be76
Bug 576539 - Factor out decoding to target time after seek, to enable seeking into WebM regions with no audio samples. r=kinetik a=blocking2.0
2010-08-13 14:28:15 +12:00
Chris Pearce
114d346757
Bug 576539 - Inject silence when decoder encounters missing audio in WebM and Ogg media. r=kinetik a=blocking2.0
2010-08-13 14:28:15 +12:00
Chris Pearce
0166bdadc4
Bug 576539 - Move integer overflow code in video decoders into VideoUtils.cpp/h. r=kinetik a=blocking2.0
2010-08-13 14:28:15 +12:00
Matthew Gregan
ffcc5cc81a
Bug 569301 - Add on* event handler property support for media events. r=smaug
2010-08-02 17:53:45 +12:00
Matthew Gregan
27487c2512
Bug 580982 - Remove workarounds for old YouTube WebM encodings. Don't treat "matroska" doctype as valid WebM file. r=doublec
...
--HG--
rename : media/libnestegg/include/_stdint.h => media/libnestegg/include/nestegg-stdint.h
2010-08-05 15:49:27 +12:00
Chris Pearce
ec5a28e946
Bug 462957 - HTMLTimeRanges out of bounds check should not be off by 1. r=roc a=blocking2.0
2010-08-05 19:40:35 +12:00
Chris Pearce
1ff7ef5cbf
Bug 462957 - Stubs for buffered for WebM and raw video. r=roc a=blocking2.0
2010-08-05 19:40:35 +12:00
Chris Pearce
fe0c15afe6
Bug 462957 - Test case for HTMLMediaElement.buffered. r=roc a=blocking2.0
2010-08-05 19:40:35 +12:00
Chris Pearce
3a5db791b8
Bug 462957 - Pin media stream while seeking. r=roc a=blocking2.0
2010-08-05 19:40:35 +12:00
Chris Pearce
6c349be715
Bug 462957 - Ogg support for HTMLMediaElement.buffered. r=doublec a=blocking2.0
2010-08-05 19:40:35 +12:00
Chris Pearce
5b3f95c50c
Bug 462957 - WAV support for HTMLMediaElement.buffered. r=kinetik a=blocking2.0
2010-08-05 19:40:35 +12:00
Chris Pearce
fb117ca2e7
Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0
2010-08-05 19:40:35 +12:00
Bjarne
100caa546d
Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst
2010-08-04 22:15:55 -04:00
Chris Double
9c9fb70b28
Bug 489071 - Send correct Accept header when requesting <video> and <audio> resources - r=roc
...
--HG--
extra : rebase_source : fefb3792e2c69919fb7fcb87ef04df80f2766364
2010-07-29 16:58:07 +12:00
Kyle Huey
6c1df0af47
Bug 573050: Properly initialize variables to avoid mallocing on bad data in the raw decoder. r=doublec
2010-07-26 12:36:20 -07:00
Kyle Huey
c83653fee9
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
86e38ce4c9
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
6aa46b1e86
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
6000056e18
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
f92805c547
Bug 577871. Enable more WebM tests. r=doublec
2010-07-20 13:29:28 +12:00
Robert O'Callahan
7e335145c1
Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec
2010-07-20 13:29:27 +12:00
Robert O'Callahan
1917c1d836
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
7ce2929905
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
ba64d2d489
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
07d05cf732
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
a6f6401420
Bug 572299 - Stuttering audio playback with some Vorbis files (ffmpeg muxed). r=cpearce
2010-06-22 02:02:02 +02:00
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
Robert O'Callahan
47905e65de
Fixing test 459439-1.html to not depend on the load event (bug 521359)
2009-10-15 17:51:10 +13:00
Matthew Gregan
a63978aea7
Bug 522418 - Missing mozLoadFrom mochitest. r=roc
...
--HG--
extra : rebase_source : bda7a6e7bf813eb7e1c54a8550f224b27f37f425
2009-10-15 15:59:41 +13:00
Robert O'Callahan
8b9e8e66d8
Bug 518659. Tests should be in gPlayTests instead of gSmallTests. r=kinetik
2009-10-05 17:04:07 +13:00
Robert O'Callahan
c560bb5ad6
Bug 518659. If we finish decoding while loading metadata, go directly to COMPLETED instead of trying to decode again which violates liboggplay's assumptions. r=kinetik
2009-10-05 17:02:36 +13:00
Robert O'Callahan
79d0b07e8b
Bug 521359. Don't enter the NETWORK_LOADED state or fire a media 'load' event. r=doublec
2009-10-10 00:48:55 +13:00
Robert O'Callahan
1b090d96ec
Bug 521359. Our tests should not depend on NETWORK_LOADED or the media 'load' event. r=doublec
2009-10-10 00:48:33 +13:00
Robert O'Callahan
f92c87bc09
Bug 522114. While we're suspending the download, a Web server might close our connection, thinking we're dead. This might look just like a normal connection close. So whenever the connection closes after we resumed, try to reopen it, if we're seekable. r=kinetik
2009-10-15 15:20:49 +13:00
Robert O'Callahan
b91922846c
Bug 522114. Fix stupid bug so we don't treat 0 pin count as pinned. r=doublec
2009-10-15 15:20:49 +13:00
Matthew Gregan
563aeb839c
Bug 498380 - Remove bogus packet_buffer assert from oggz_close. r=chris.double
2009-10-12 13:07:51 +13:00
Matthew Gregan
87b090cb12
Bug 520908 - Use calculated duration from cloned decoder when initializing the clone. r=roc
2009-10-15 14:28:59 +13:00
Chris Pearce
a00ded94a8
Bug 520500 - Don't reject vorbis streams with 0 length comments. r=doublec
2009-10-14 16:36:01 +13:00
Chris Pearce
9e521230fc
Bug 520493 - Fix regression in Ogg playback. r=doublec
2009-10-14 16:35:59 +13:00
Matthew Gregan
0d6c1e570c
Comment-only fix - Update comment on trunk to match bug 493447 patch rebased for 1.9.2.
2009-10-06 16:53:06 +13:00
Matthew Gregan
eb4670aeeb
Bug 507167 and Bug 518941 - Update libvorbis to SVN r16597 to pick up recent fixes. r=chris.double, rs=roc
...
--HG--
extra : rebase_source : e941bcd256dd233304c6095d9d66ad1a96061ce2
2009-10-05 11:54:13 +13:00
Matthew Gregan
2281f5f0c4
Bug 493447 - Shrink Ogg decoder frame queues to 5-10 frames (from 20-40). r=chris.double
...
--HG--
extra : rebase_source : a6cb4b2d5fd1960ebedd0e42fd753e30717d5728
2009-10-05 11:50:34 +13:00
Chris Pearce
2698a3800a
Bug 519155 - reset oggz seek on failure. r=doublec
2009-10-03 17:08:12 +13:00
Chris Pearce
0eddd5d926
Bug 504843 - Abort ogg decode with excessively large video frame sizes. r=doublec
2009-10-03 17:08:12 +13:00
Robert O'Callahan
1b13d20d87
Bug 519136. Clean up media-related logging. r=doublec
...
--HG--
extra : rebase_source : 2321054271a8726d17da1c58b876e2a7eb88883c
2009-09-30 07:32:44 +10:00
Robert O'Callahan
07ec9a4619
Bug 517818. Wave decoder should not look beyond the Wave data area to see if we have a 'next frame' to play. r=kinetik
...
--HG--
extra : rebase_source : 9964f0fe36d35745354f5723b5d82b1fc18520d6
2009-09-30 07:32:41 +10:00
Robert O'Callahan
f98d7a8ba5
Bug 517818. Treat HTTP errors (other than 416 'Requested Range Not Available') as network errors. And do not allow an error page to be treated as media data. r=kinetik
...
--HG--
extra : rebase_source : 47f44d18ff0d2c33f2642ae5bedb132cc43eb3cb
2009-09-30 07:32:30 +10:00
Robert O'Callahan
463d7e407a
Bug 517818. When nsMediaCache::Update wants to read from the end of the stream, don't resume if we're already suspended. And if the channel is not already positioned at the end, suspend instead of seeking to the end, since there is no point in seeking to the end and it may cause harmful side effects. r=doublec
...
--HG--
extra : rebase_source : e816c61621f5dd7c670687cf1a70d2eccb488dd6
2009-09-30 06:48:05 +10:00
Chris Pearce
946fd6e510
Bug 516323 - Reset libfishsound when seeking to 0 so it doesn't die re-reading header packets. r=doublec
2009-09-29 13:59:00 +13:00
Chris Pearce
06cefa67d6
Bug 512328 - Update liboggplay to rev 404316e595. r=doublec
2009-09-24 16:22:23 +12:00
Chris Pearce
48a7e5790f
Bug 492286 - Null check in nsHTMLSourceElement::BindToTree(). r=roc
2009-09-23 13:58:00 +12:00
Matthew Gregan
bf1da0be02
Fix typo/mismerge in 7bab344403c3.
...
--HG--
extra : rebase_source : 3586c78584b1ed73168ef0e7361b6e46305f43d6
2009-09-22 12:25:24 +12:00
Matthew Gregan
07d35f126f
Bug 517834 - Use gfxQuartzImageSurface to paint video frames for an 8-23% perf win on Mac. r=roc
...
--HG--
extra : rebase_source : de46fdadcefed1fd203a824ed4b078c7ba0b6779
2009-09-22 12:12:06 +12:00
Matthew Gregan
4f10720ec8
Bug 515552 - Enable in-monitor assertions in nsOggDecoder. r=chris.double
...
--HG--
extra : rebase_source : c494f75bd7cc1cf4b114b9ff497412fb1e3c1ce1
2009-09-22 12:11:10 +12:00
Matthew Gregan
f202e48bf0
Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc
...
--HG--
extra : rebase_source : a07687f16726086dd425eef8907788019beebbe1
2009-09-22 12:08:13 +12:00
Matthew Gregan
fd0ca14cf7
Bug 515546 - Null check mReader in nsOggDecoder::Shutdown. r=chris.double
...
--HG--
extra : rebase_source : e72005a765db36ed9b4cdd7d8717f6f923ce6b67
2009-09-22 12:03:42 +12:00
Matthew Gregan
4886735dfb
Bug 504613 - Handle zero-byte first-frame packets in Theora. p=tterribe@vt.edu, r=chris.double
...
--HG--
extra : rebase_source : d2b18e88ddec3836e30b448f949657206a33f3fa
2009-09-15 17:53:49 +12:00
Robert O'Callahan
aec89afa3b
Bug 517818. Suppress seeking to the end of the stream on Resume, there is no data to read there. r=kinetik
2009-09-21 15:47:47 +12:00
Robert O'Callahan
e3f8efaec1
Bug 513144. nsWaveDecoder::PlaybackEnded should call UpdateReadyStateForData to ensure that we enter HAVE_CURRENT_DATA ... otherwise it get into the ended state with HAVE_FUTURE_DATA or HAVE_ENOUGH_DATA, which is wrong. r=kinetik
...
--HG--
extra : rebase_source : 75bcd57e9c7d93bcf24663731e2e6aadacf07a86
2009-09-15 14:30:45 +12:00
Robert O'Callahan
63cddc6e7e
Bug 513144. Allow streams that are related by mozLoadFrom to share data loaded after the initial clone. r=doublec
...
--HG--
extra : rebase_source : 4dab31030b84ce6066ba694851bb7587a051fe2c
2009-09-15 14:30:45 +12:00
Robert O'Callahan
3f9249f428
Bug 513144. Make nsMediaChannelStream::CloneData clone the underlying cache stream, which adds the new stream as co-owner of all the nsMediaCache blocks currently cached for the original stream. Also, use NS_NEW_RUNNABLE_METHOD instead of the SuspendedStatusChanged class. r=doublec
...
--HG--
extra : rebase_source : 982c38bf513865033a2c51554ded3f3f365eeb3a
2009-09-15 14:30:44 +12:00
Robert O'Callahan
cc7de63946
Bug 513144. Allow nsMediaCache blocks to be owned by multiple streams at the same time. r=doublec
...
--HG--
extra : rebase_source : 8788764ff6c883d2da5347ead39660626deb9d7c
2009-09-15 14:30:44 +12:00
Robert O'Callahan
d7d6b3cfac
Bug 513144. Allow nsMediaCache blocks to belong to more than one BlockList at the same time. r=doublec
...
--HG--
extra : rebase_source : e4a53bca2a8c6c7624cbe889f981a57e07b587ad
2009-09-15 14:30:44 +12:00
Robert O'Callahan
4679add97d
Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
...
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Robert O'Callahan
534831d533
Bug 513144. Hoist nsMediaStream creation up into nsHTMLMediaElement, out of the decoders. Pass the stream as the parameter to nsMediaDecoder::Load. r=doublec
...
--HG--
extra : rebase_source : f418076a0d534d528dbded66b2d49d8fe908de4b
2009-09-15 14:30:43 +12:00
Robert O'Callahan
fdb204a586
Bug 513144. Split static nsMediaStream::Open into static nsMediaStream::Create and nonstatic nsMediaStream::Open. Move call to NS_GetFinalChannelURI down into nsMediaStream::Create. r=doublec
...
--HG--
extra : rebase_source : be999ad63f1bb1f8adcbbac0640a916f022203a7
2009-09-15 14:30:43 +12:00
Robert O'Callahan
2540c06447
Bug 513144. Remove mURI from the decoders, and change nsMediaDecoder::GetCurrentURI to GetCurrentStream so nsHTMLMediaElement::GetCurrentSrc gets the URI directly from the stream. r=doublec
...
--HG--
extra : rebase_source : b1e9680cf33cf7dded79383dfdf7559bbd7b1a78
2009-09-15 14:28:08 +12:00
Robert O'Callahan
f415ce9f01
Bug 513144. Move ownership of the Ogg decoder's nsMediaStream out from nsChannelReader to nsOggDecoder. Also remove unnecessary mNotifyOnShutdown flag from nsOggDecoder and nsWaveDecoder. Since Load can only be called once after Init, remove unnecessary initialization of variables in Load and move some code up from Load to Init in both backends to simplify Load. r=doublec
...
--HG--
extra : rebase_source : 65cd9f01424f5b8ab8507e4788f2b8228ce1e2b0
2009-09-11 13:44:21 +12:00
Chris Pearce
1d3d66ca09
Bug 514573 - Free video data after paint, prevents repainting. r=doublec
2009-09-08 10:23:11 +12:00
Chris Pearce
93c3f32d4d
Bug 501031 - Make media seeking faster over HTTP by adding 'fuzz' factor to liboggz seek, and fixing its bisection search. r=doublec
2009-09-08 09:41:56 +12:00
Matthew Gregan
34d676d624
Bug 506061 - Calculate frame time based on frame number and frame rate. p=j@oil21.org r=chris.double
...
Fixes sync problem caused by FP error accumulation in the old frame time
calculation.
--HG--
extra : rebase_source : 3a59eafe1a3fd91760ffb1e336c31ec431dfffc2
2009-09-07 15:30:03 +12:00
Matthew Gregan
658839d732
Bug 497815 - Read Wave headers in small chunks to avoid unnecessary large allocations. r=roc
...
--HG--
extra : rebase_source : 355af524b6d9f0634d9d09e4ddc1ce1715bc6c81
2009-09-07 15:28:26 +12:00
Matthew Gregan
6174ee7312
Bug 495165 - Add mochitest for bug 486646.
...
--HG--
extra : rebase_source : 3df5870b298fe27c5a2d61a679359e4f243e57ab
2009-09-07 15:25:22 +12:00
Chris Pearce
ccff87e6d9
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
ece1cdb103
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
0f3cd77669
Bug 512398 - Backed out changeset f4087c5ac148, checked in wrong patch.
2009-08-31 13:45:40 +12:00
Chris Pearce
75cfcd8e78
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
2e9438fd2f
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
3bb5eed6a2
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
5b80b3d6af
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
411d2659ca
Add crashtests for bug 459439 and bug 466607
2009-08-08 16:00:31 -07:00
Chris Pearce
932c67eb08
Bug 495129 - Add testcase.
2009-08-04 18:13:40 +12:00
Chris Pearce
d2387ccba0
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
94fbc64782
Bug 500311 - Add testcase. r=roc
2009-08-04 18:13:40 +12:00
Chris Pearce
451fb7cfc2
Bug 498855 - Add testcase.
2009-08-04 18:13:40 +12:00
Chris Pearce
808ba21357
Bug 499519 - Add test which ensures height 0 videos load. r=roc
2009-08-04 18:13:33 +12:00
Chris Double
d165845490
Bug 461286 - Add testcase for small audio files ending correctly
2009-08-04 17:20:37 +12:00
Chris Double
4594182bdd
Bug 448636 - Add testcase
...
--HG--
extra : rebase_source : fe95db053fdb42cece6c9fe2784420d792a3a8e9
2009-08-04 14:44:45 +12:00
Matthew Gregan
0f46cf96a8
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
2dfa8bf09f
Bug 506434 - fix ogg video playback regression, cross-platform change, r=chris.double
2009-08-02 14:06:02 +03:00
Robert O'Callahan
c5f9f6ca32
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
93cecdc075
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
2edd748d49
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
b8821fd30c
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
2a6184ac8a
Disable seek tests on Windows again
...
--HG--
extra : rebase_source : 45d9d5bff5f5241731c1bc6f1f3aa5e92deec1e9
2009-07-13 10:45:36 +12:00
Robert O'Callahan
a161b1f5cc
Fix bustage properly
...
--HG--
extra : rebase_source : 109364254fd687c60770b2f9b0af0e6aaf14a1b6
2009-07-10 15:08:34 +12:00
Robert O'Callahan
ee99db569f
Fix bustage temporarily
2009-07-10 14:39:16 +12:00
Robert O'Callahan
c862b4f8f6
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
9c0e48342a
Bug 502211. Convert 'new Audio' tests to be backend-independent. r=doublec
2009-07-10 14:03:02 +12:00
Robert O'Callahan
83fcea2f10
Bug 502211. Convert test_wav_8bit to a playtest. r=doublec
2009-07-10 14:03:02 +12:00
Robert O'Callahan
809d74757c
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
22578eddd2
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
108c42b7e8
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
a2bede9d66
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
b456ec8e36
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
828918bcb5
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
f86e17cca9
Bug 495163. Trivial code removal, r=roc
...
--HG--
extra : rebase_source : 5dee5799025c99cad5f7ae8ca7cc4ade3f650a89
2009-06-12 14:08:32 +12:00
Robert O'Callahan
f600456032
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
2e0c46ca2e
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
be07afd637
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
c294f41ab4
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
2cc8fbe2b4
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
cbd6ab1481
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
85828511ef
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
353ec097d1
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
496609122c
Backing out bug 487519 due to reftest failures
2009-06-01 00:09:17 +12:00
Robert O'Callahan
7a349ea412
Fixing bustage (bug 495300)
2009-05-31 22:28:57 +12:00
Chris Double
52d8631083
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
42b669ed47
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
fb1b735b72
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
c9cca633a1
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
2b08d28a2e
Bug 495129. Propagate errors better. r+sr=roc
2009-05-28 16:39:39 +12:00
Robert O'Callahan
6134d7088d
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
4f81b0342f
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
1ae4c2a0d3
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
3dc99d8a9f
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
3d39f15314
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
4a9eea3922
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
e3232bfecd
Fix another FrameData leak (Bug 463358). Fixes intermittent orange.
2009-05-21 03:17:21 +12:00
Robert O'Callahan
dfae15cade
Fix FrameData leak (bug 463358)
2009-05-20 21:11:48 +12:00
Robert O'Callahan
cda3109ffc
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
b515f90d78
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
efef7a6bc2
Backing out bug 493109 on suspicion of causing crashes in linux tests
2009-05-20 00:24:37 +12:00
Robert O'Callahan
6256de7f9c
Backed out changeset 4b86cbae2846
2009-05-20 00:23:51 +12:00
Robert O'Callahan
f843370660
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
b4d2d7054a
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
d848e30d78
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
5b5d6baa5f
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
127a265725
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
3d87360eee
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
a0da0c82f6
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
f201fe7c68
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
bb3c7fc0f9
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
acdb5cc508
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
0855ba8432
Bug 493509. Don't fire 'suspend' when the resource is actually fully loaded. r=doublec
...
--HG--
extra : rebase_source : a7ae1b2f53c7eb4b8a0e270510028d155d79f319
2009-05-19 11:06:10 +12:00
Robert O'Callahan
f1b439157e
Bug 487659. Make sure we never pass a playback rate of 0 to the media cache. r=doublec
...
--HG--
extra : rebase_source : af86613bb5283e777acf1ca01d67eaa734cb8a0f
2009-05-19 11:05:13 +12:00
Robert O'Callahan
0785b005eb
Bug 493187. Call nsOggDecoder::UpdateReadyStateForData more often so we don't fail to notice state changes, and make it smarter about examining the frame queue. r=doublec
...
--HG--
extra : rebase_source : 9a45e7cf9dc048956971ecf83b0bcc9bb2e45491
2009-05-19 10:47:08 +12:00
Robert O'Callahan
a3f433b1b3
Bug 493443. Set readyState to HAVE_CURRENT_DATA whenever the Ogg frame queue is empty or we're buffering/seeking, instead of trying to hardcode it based on other events like PlaybackEnded. r=doublec
...
--HG--
extra : rebase_source : 0b2f938e5f19cbb21258248da9da09e2a525db81
2009-05-19 10:44:17 +12:00
Benjamin Smedberg
bb1c33c4ea
Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
...
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Robert O'Callahan
ceaf55f434
Fix test_media_selection.html; its video resource needs to be autobuffer so it doesn't stop loading
...
--HG--
extra : rebase_source : 937602951c6a8c9831f6a73adc913457e913a7d6
2009-05-18 20:18:43 +12:00
Robert O'Callahan
2d8939e3ca
Fix test_autobuffer2 to handle the case when a suspend happens when all the data is already loaded.
...
--HG--
extra : rebase_source : 7923d3fde3e4aef1723e424631f65a64d663f2a3
2009-05-18 16:37:10 +12:00
Robert O'Callahan
5c3106e300
Relax time constraint in test_buf482461 a bit.
...
--HG--
extra : rebase_source : 01fda6b6e4f50a8207208b22811a335117f9518c
2009-05-18 15:20:40 +12:00
Robert O'Callahan
9ae2cf2709
Bug 479863. AdFire 'suspend' event and do correct networkState transitions when downloads suspend and resume. Also avoid firing 'stalled' while the download is suspended. r=doublec
...
--HG--
extra : rebase_source : 0615871c062638d575a66e29b630040821a9f9cf
2009-05-18 14:03:37 +12:00
Robert O'Callahan
710d28a4e6
Bug 479863. Add ability to close and reopen suspended streams, and recover from server-side disconnect of suspended streams. r=doublec
...
--HG--
extra : rebase_source : 5ed7825cd919ad3f997f58dafb61c2d4249b60d4
2009-05-18 14:02:20 +12:00
Robert O'Callahan
a2a28c523b
Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
...
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Robert O'Callahan
80975dcc56
Fix seeking tests to avoid false assumptions
2009-05-18 12:25:05 +12:00
Robert O'Callahan
ee1a877ccf
Fix test_seek5; it should not depend on reading currentTime for the first seek during the asynchronous 'seeking' event, since the second seek may well have already happened.
2009-05-18 12:15:32 +12:00
Chris Pearce
ff942d65f4
Bug 469408. Make seeking in bufferred ranges fast by trying a 'bounded seek' in each buffered data range before falling back to a seek over the whole resource. r=doublec,sr=roc
2009-05-18 10:15:57 +12:00
Robert O'Callahan
c2bc1f2907
Bug 476973. Don't get confused by repeated seeks in the Ogg decoder. r=doublec
2009-05-18 10:03:03 +12:00
Josh Aas
2f6891c68f
Disable test "test_videoDocumentTitle.html" due to random failures. b=492821
2009-05-15 23:20:39 -04:00
Robert O'Callahan
9bc46422a9
Disable test_autobuffer2.html for now, it fails a lot (bug 493692 filed)
2009-05-19 17:44:23 +12:00