Chris Pearce
34f14edcfc
Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc
2011-07-12 15:39:28 +12:00
Chris Pearce
1346ea4166
Bug 592833 - Move seeking to the decode thread. r=roc
2011-07-12 15:39:25 +12:00
Chris Pearce
2dcecb573a
Bug 592833 - Move metadata decoding to decode thread. r=roc
2011-07-12 15:39:23 +12:00
Chris Pearce
a359f63176
Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc
2011-07-12 15:39:10 +12:00
Chris Pearce
8c7307c370
Bug 670055 - Seek video to exact audio sample. r=kinetik
2011-07-09 13:10:40 +12:00
Masayuki Nakano
beb1796991
Bug 663039 content should use mozilla::Preferences r=roc+jwatt+chris.double+bjacob
2011-07-07 11:00:02 +09:00
Chris Pearce
630dab804a
Bug 635726 - Escape backoff in Ogg seek when we back off back to start of seek target range. r=doublec
2011-07-07 09:51:26 +12:00
Chris Pearce
e89f18f159
Bug 635726 - Ignore Ogg header pages in seek timestamp capture. r=doublec
2011-07-07 09:50:44 +12:00
Chris Pearce
ffd13eb9b0
Bug 592833 - Backout due to suspected android crashtest permaorange. r=philor
2011-07-06 19:21:49 +12:00
Chris Pearce
4feb3beae8
Bug592833 - Update comments for new video decoder thread model. r=roc
2011-07-06 10:05:25 +12:00
Chris Pearce
87548a66bc
Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc
2011-07-06 10:05:24 +12:00
Chris Pearce
4e2551be15
Bug 592833 - Merge all media state machines into a single thread. r=roc
2011-07-06 10:05:24 +12:00
Chris Pearce
f5962c3ea3
Bug 592833 - Run media state machine as a series of events. r=roc
2011-07-06 10:05:24 +12:00
Chris Pearce
ad180bad57
Bug 592833 - Move audio stream management to audio thread. r=roc
2011-07-06 10:05:08 +12:00
Chris Pearce
5e0ff18326
Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc
2011-07-06 10:03:32 +12:00
Chris Pearce
20941b4953
Bug 592833 - Move seeking to the decode thread. r=roc
2011-07-06 10:03:21 +12:00
Chris Pearce
609a7c3504
Bug 592833 - Move metadata decoding to decode thread. r=roc
2011-07-06 10:03:11 +12:00
Chris Pearce
0e9036119e
Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc
2011-07-06 10:03:01 +12:00
Daniel Holbert
4c562928ba
Bug 669237: Fix init list order in nsBuiltinDecoderReader.h r=cpearce
2011-07-04 18:31:28 -07:00
Phil Ringnalda
12178eb498
Back out 29ec386d969f and ed18b0cca283 (bug 462959) for a very frequent assertion loop in test_played.html
2011-07-03 18:26:00 -07:00
Paul ADENOT
ecd02bd47b
Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik
2011-07-03 11:53:39 +02:00
Chris Pearce
e94d00d9e3
Bug 655648 - Update media readyState more often, exit decode thread when decode finishes. r=kinetik
2011-07-01 11:00:22 +12:00
Paul ADENOT
57923d5e96
Bug 667929 - OGG media buffered member is not correct when the stream is infinite; r=cpearce
2011-06-30 14:25:27 +02:00
Ed Morley
755df8b9a0
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Chris Pearce
f54bdc2910
Bug 661456 - Scale WebM video frames to display size. r=kinetik
2011-06-24 10:08:54 +12:00
Ed Morley
cb8614b686
Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc
2011-06-21 17:37:45 +02:00
Chris Pearce
c554f8f06b
Bug 664354 - Make nsBuiltinDecoderStateMachine::GetUndecodedData() return result in usecs. r=roc
2011-06-15 14:26:33 +12:00
Chris Pearce
55f659d1ba
Bug 655648 - Don't enqueue expired theora frames. r=roc
2011-06-09 08:56:45 +12:00
Dominic Fandrey
5c71575e07
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ed Morley
b15b8760c6
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Masayuki Nakano
f6d218f2cd
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Masayuki Nakano
f64ad9e9d1
Bug 660401 Re-land the previous backed out patch
2011-05-28 16:03:00 +09:00
Masayuki Nakano
1d5d965767
Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression
2011-05-28 13:50:19 +09:00
Masayuki Nakano
b8619f13f4
Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc
2011-05-27 13:53:03 +09:00
Masayuki Nakano
3b106893b1
Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
2011-05-25 15:32:00 +09:00
Michael Wu
3811549a41
Bug 656804 - build broken with --enable-raw r=blassey a=gavin
2011-05-23 17:23:13 -07:00
Chris Pearce
c3decc5c11
Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc
2011-05-19 21:00:39 +12:00
Chris Pearce
3fbee48020
Bug 652475 - Add media.volume_scale pref to scale output volume without changing reported volume. r=roc
2011-05-19 09:12:25 +12:00
Paul ADENOT
e0c70df099
Bug 620331 - Remote nsAudioStreamRemote::GetMinWriteSamples; r=kinetik
2011-05-15 12:53:55 +02:00
Chris Pearce
43bdab0f75
Bug 651023 - Round up wait times to 1ms to ensure we drop the decoder monitor when presenting video frames. r=kinetik
2011-05-12 14:02:34 +12:00
Chris Pearce
19de6e6d86
Bug 656480 - Make test_bug495300 use MediaTestManager. r=roc
2011-05-12 14:02:34 +12:00
Chris Pearce
2593dac8d6
Bug 566779 - Clean up media start and end time calculation. r=doublec
2011-05-09 09:10:28 +12:00
Chris Pearce
a6ed57a50c
Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec
2011-05-08 18:24:09 +12:00
Paul ADENOT
923942283e
Bug 654956 : Added private: statement in nsAudioStreamRemote. r=kinetik
2011-05-05 12:18:06 +02:00
Chris Jones
fbd51041fd
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Pearce
642add74ae
Bug 645773 - Typo fix in nsOggReader::GetSeekRanges(). r=roc
2011-04-26 11:32:08 +12:00
Landry Breuil
671be5d3d4
Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types. r=roc
2011-04-22 01:16:48 +02:00
Chris Pearce
ab25dce801
Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec
2011-04-15 13:29:54 +12:00
Zack Weinberg
2c36a76906
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
23271beb1d
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Ms2ger
dede322bd0
Bug 589894 - Fix a number of build warnings in content/; r=smaug
2011-04-14 14:04:12 +02:00
Landry Breuil
2b3882c63e
Bug 633857 - missing #includes for OpenBSD (media part). r=roc
2011-04-14 17:49:29 +09:00
Chris Pearce
be267ca595
Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik
2011-04-14 10:12:23 +12:00
Chris Pearce
9a2ed19646
Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
2011-04-14 10:12:23 +12:00
Yury
0a51ba5040
Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double
2011-04-11 17:15:45 -04:00
Ehsan Akhgari
36460489f3
Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange
2011-04-10 02:01:36 -04:00
Yury
4227360da1
Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double
2011-04-09 23:35:12 -04:00
Chris Double
5a63bcfce5
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
08c43219e7
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Mats Palmgren
8e1ef7794e
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)
694a16f241
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
373a8c69e0
Bug 641718 - Backout 44d43f095a4f. r=backout
2011-04-01 13:02:20 +13:00
Chris Jones
9c1402e650
Merge backout
2011-03-31 18:58:11 -05:00
Chris Jones
8a19459222
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)
c744ad1659
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
8715a63ac2
Bug 635400 - Null check state machine pointer in GetBuffered. r=cpearce
2011-03-24 18:04:16 +13:00
Matthew Gregan
9fe8a76bd1
Bug 645593 - Null check mAudioStream before use in PlaySilence. r=cpearce
2011-03-30 18:45:44 +13:00
Chris Double
de59afa900
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
ef7a20d005
Bug 644045 - Handle Theora granulepos 'pframe' of 0 when decrementing granulepos. r=derf
2011-04-01 11:10:49 +13:00
Chris Pearce
56a3d0ab1a
Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
2011-04-01 11:10:49 +13:00
Chris Double
8a780cc20d
Bug 646819 - Fix incorrect position calculation in nsWaveDecoder::DecodeAudioData causing OOM - r=kinetik
2011-04-01 03:49:07 +13:00
Chris Pearce
a2e11a762e
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
0657084c1e
Bug 646682 - Fix range check in test_wave_data media tests - r=kinetik
2011-03-31 14:08:49 +13:00
L. David Baron
c330efae3e
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
0cdda7d665
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
766c4b8b9d
Bug 577904 mark DEBUG only variables as ifdef DEBUG in media
...
r=doublec
2010-07-11 15:27:27 +03:00
Mounir Lamouri
1676363bcd
Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg
2011-03-25 12:14:19 +01:00
Chris Double
7a74cd4294
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
b6f326a26d
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
84bb999b10
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
b38671341f
Bug 639391 - Ensure WebM GetBuffered() is threadsafe. r=kinetik
2011-03-24 11:28:58 +13:00
Chris Pearce
ab58f7808d
Bug 639391 - Ensure Ogg GetBuffered() is threadsafe. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
3eeef58177
Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
f709c45bea
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
36d6e56061
Bug 639391 - Push Ogg specific seeking stuff down into nsOggReader. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
7ab7facd1d
Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc
2011-03-24 11:28:58 +13:00
Chris Pearce
c315c58902
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
f72c47e77c
Bug 628665 - Buffer media when low on undecoded data. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
f7ab69abdd
Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
f2eab9ebf2
Bug 628665 - Don't enqueue late Theora frames for playback. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
82eb514fc2
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
df6496cfdc
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
fa6037c7a1
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)
dc460d5e2d
Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc
2011-03-24 11:28:57 +13:00
Joel Maher
91c0971962
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
30026849fd
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
0116a2e12c
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
fe651aedd8
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
7fc15c8458
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
36e4e5cecd
Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc
2011-02-18 16:42:15 +13:00