Граф коммитов

848 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce 93b85eed54 Bug 635726 - Ignore Ogg header pages in seek timestamp capture. r=doublec 2011-07-07 09:50:44 +12:00
Chris Pearce c6b73f16a1 Bug 592833 - Backout due to suspected android crashtest permaorange. r=philor 2011-07-06 19:21:49 +12:00
Chris Pearce 3cb067296b Bug592833 - Update comments for new video decoder thread model. r=roc 2011-07-06 10:05:25 +12:00
Chris Pearce 41c252a53d 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 71b9bf3985 Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-06 10:05:24 +12:00
Chris Pearce 7c701aa361 Bug 592833 - Run media state machine as a series of events. r=roc 2011-07-06 10:05:24 +12:00
Chris Pearce bfd7ad4423 Bug 592833 - Move audio stream management to audio thread. r=roc 2011-07-06 10:05:08 +12:00
Chris Pearce d343bdfd2e Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc 2011-07-06 10:03:32 +12:00
Chris Pearce 48387c1643 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-06 10:03:21 +12:00
Chris Pearce 23e7bf406c Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-06 10:03:11 +12:00
Chris Pearce 3b48c23ee6 Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc 2011-07-06 10:03:01 +12:00
Daniel Holbert addd855796 Bug 669237: Fix init list order in nsBuiltinDecoderReader.h r=cpearce 2011-07-04 18:31:28 -07:00
Phil Ringnalda 620d9c0335 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 b217fabb67 Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik 2011-07-03 11:53:39 +02:00
Chris Pearce 19b07ffc2c 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 041ce477ba 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 3f49fdcb2a 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 92c1b9ecd3 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Ed Morley 6733296f4b Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc 2011-06-21 17:37:45 +02:00
Chris Pearce a9ead396e8 Bug 664354 - Make nsBuiltinDecoderStateMachine::GetUndecodedData() return result in usecs. r=roc 2011-06-15 14:26:33 +12:00
Chris Pearce be98f356e2 Bug 655648 - Don't enqueue expired theora frames. r=roc 2011-06-09 08:56:45 +12:00
Dominic Fandrey 968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ed Morley f13392fb42 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Masayuki Nakano 4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano 60459f3de7 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano c1ab9c6d97 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 e99d6b2176 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 7b13fbd2d9 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 9698631acb Bug 656804 - build broken with --enable-raw r=blassey a=gavin 2011-05-23 17:23:13 -07:00
Chris Pearce f13ccdbf75 Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc 2011-05-19 21:00:39 +12:00
Chris Pearce cee8a6285d 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 4a1b7fa323 Bug 620331 - Remote nsAudioStreamRemote::GetMinWriteSamples; r=kinetik 2011-05-15 12:53:55 +02:00
Chris Pearce 4571f1e1c0 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 28cf54b4a6 Bug 656480 - Make test_bug495300 use MediaTestManager. r=roc 2011-05-12 14:02:34 +12:00
Chris Pearce 61d1102801 Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Chris Pearce 0c662cc62d Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Paul ADENOT 6dc2dfc41a Bug 654956 : Added private: statement in nsAudioStreamRemote. r=kinetik 2011-05-05 12:18:06 +02:00
Chris Jones 31aa2c4e77 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 68454aca67 Bug 645773 - Typo fix in nsOggReader::GetSeekRanges(). r=roc 2011-04-26 11:32:08 +12:00
Landry Breuil 1fa19bd7f2 Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types. r=roc 2011-04-22 01:16:48 +02:00
Chris Pearce 5d950fcb8f Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec 2011-04-15 13:29:54 +12:00
Zack Weinberg 1628ea1551 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 c510bc3046 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 473cebda59 Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Landry Breuil d658ec0096 Bug 633857 - missing #includes for OpenBSD (media part). r=roc 2011-04-14 17:49:29 +09:00
Chris Pearce db70e38a67 Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Pearce 73310e4cd6 Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Yury a665c60451 Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-11 17:15:45 -04:00
Ehsan Akhgari d69ef514f0 Backout changeset c51a334e99d9 (bug 638807) because of crashtest orange 2011-04-10 02:01:36 -04:00
Yury 864fbd225d Bug 638807 - Data race on nsBuiltinDecoder::mFrameBufferLength; r=chris.double 2011-04-09 23:35:12 -04:00
Chris Double 6b4ec95ffc 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 4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Mats Palmgren c293465f18 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) 2c92e3ecd5 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 5e2c8c0e56 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +13:00
Chris Jones 912845af59 Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones 699024f868 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) 0ce53bb598 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 943eb1d91a Bug 635400 - Null check state machine pointer in GetBuffered. r=cpearce 2011-03-24 18:04:16 +13:00
Matthew Gregan b267b9a24b Bug 645593 - Null check mAudioStream before use in PlaySilence. r=cpearce 2011-03-30 18:45:44 +13:00
Chris Double 8c92942a6f 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 051f10c4f3 Bug 644045 - Handle Theora granulepos 'pframe' of 0 when decrementing granulepos. r=derf 2011-04-01 11:10:49 +13:00
Chris Pearce de44f0f3fe Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-01 11:10:49 +13:00
Chris Double 0654d49ed0 Bug 646819 - Fix incorrect position calculation in nsWaveDecoder::DecodeAudioData causing OOM - r=kinetik 2011-04-01 03:49:07 +13:00
Chris Pearce 977bfeecc2 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 7894c8e0db Bug 646682 - Fix range check in test_wave_data media tests - r=kinetik 2011-03-31 14:08:49 +13:00
L. David Baron db6289bc0a 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 7f14c5ec51 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 6ceffb47be Bug 577904 mark DEBUG only variables as ifdef DEBUG in media
r=doublec
2010-07-11 15:27:27 +03:00
Mounir Lamouri 6f29076965 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Chris Double 1c2d3ceecf 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 d89a94c4c6 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 7ee1f56a07 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 6d85c92e19 Bug 639391 - Ensure WebM GetBuffered() is threadsafe. r=kinetik 2011-03-24 11:28:58 +13:00
Chris Pearce df9a15ba57 Bug 639391 - Ensure Ogg GetBuffered() is threadsafe. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce 3bc0fa6ae7 Bug 693391 - Pin nsMediaStream while determining buffered ranges. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce 740652ece1 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 a7114ca3c3 Bug 639391 - Push Ogg specific seeking stuff down into nsOggReader. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce ad1de1d7b7 Bug 628665 - Supress warnings in nsBuiltinDecoderStateMachine. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce e04303e3b7 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 fad00f36b2 Bug 628665 - Buffer media when low on undecoded data. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce 674a3dbffa Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce 7974d4e2a8 Bug 628665 - Don't enqueue late Theora frames for playback. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce f9ce305480 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 79f37e1734 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 932cb44722 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) 1e9b87276b Bug 580531 - Add video demuxing/decoding stats. r=kinetik sr=roc 2011-03-24 11:28:57 +13:00
Joel Maher 69ccb3b80f 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 8e50623882 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 659508a56b 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 6270f7c86b 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 bed980d822 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 d775fc1de4 Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc 2011-02-18 16:42:15 +13:00
Chris Pearce 702f1b5a46 Bug 627153 - Be less conservative when determining video readyState. r=kinetik a=roc 2011-02-21 10:21:40 +13:00
Doug Turner 87e2b003c4 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Mats Palmgren 147463d6d8 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 03c1ff1edc 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 e2a8a2bcc2 Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston c2d4e3781d 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 d82383b23c Bug 631058 - Set WebM decoder mDataOffset to zero. r=kinetik a=blocking-fennec 2011-02-15 16:54:47 -08:00
Wes Johnston 4854b37ebb 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 e6fb5bf0d2 Bug 629618 - Correct Ogg seek bisection's backoff and termination. r=doublec a=roc 2011-02-16 11:08:31 +13:00
Matthew Gregan 61e449b79d Bug 631953 - Check codec is initialized before using cached serial number. r=cpearce a=roc 2011-02-08 15:45:20 +13:00
Ms2ger 2558ae86f4 Bug 620359 - Reorder members in nsAudioStreamRemote::nsAudioStreamRemote() constructor; r=kinetik a=dbaron 2011-02-15 13:34:38 -08:00
Matthew Gregan db0d4b9abc 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 8062be7215 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 ac9940ca51 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 c28587e2c5 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 ba41fb22e4 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 be77043286 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 678b392bed 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 0c3dfa07cd 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 3154fd89cc 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 ecfa3aacda 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 bbdaf318b3 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 d335992328 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 71c4a6c4d2 Bug 622517 - Only use remoted audio streams on Android. r=dougt a=dbaron 2011-01-10 12:47:43 +13:00
Matthew Gregan 06c770b22f 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 84b8ab4f74 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 5e9829c7c7 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 ba2c53afe2 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 aefbfd9156 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 de26124762 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 7ccc3a7d9d 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 73167bf6d1 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 ae02f0728c Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Matthew Gregan 537af77ca8 Bug 605457 - Remove concurrent use of Ogg stream hash table. r=cpearce a=roc 2010-12-17 14:39:01 +13:00
Jesse Ruderman 9c713c0283 Bug 576612 - add crashtest 2010-12-12 12:54:27 -08:00
timeless@mozdev.org ff28064073 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 461a2eb686 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 d96f71fdba 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 ad76fe42d0 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 398df2694e 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 de3da3bac8 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 11e7768654 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 ba635a0e69 Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc 2010-11-25 07:34:57 +13:00
Doug Turner e0afc1f867 [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 52cb9c62a0 Bug 613289: Remove unused variable 'result' from nsAudioStream::AllocateStream. r+a=dougt DONTBUILD 2010-11-19 08:56:23 -08:00
Doug Turner 56cee04483 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 4ac9425f68 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 7d7e1df455 Backed out changeset c1351e1799b8 2010-11-15 12:49:37 +13:00
Matthew Gregan 2acd07f0ed 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 0965268b8a 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 e7bc30c680 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 b0e11ccb38 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 4f96e20ff5 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 0a91190210 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 a7ffa56226 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 3bcb9ab5e3 Bug 577653 - Allow to build against system libvpx. r=khuey a=roc 2010-11-05 18:24:28 +01:00
Chris Pearce 4d86c92c46 Bug 608630 - Make media simple events not bubble. r=roc a=blocking2.0 2010-11-05 13:44:33 +13:00
Chris Pearce 50692b0a9a 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 a269ad916b 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 c6f8992c9d 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 7ca833d22a More bustage fix from mochi not having info(). a=bustage 2010-10-31 23:19:37 -04:00
Justin Wood fb40df0f3e 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 81e227c513 Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce 8397897ffc 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 1d83aa8c08 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 038de97c0d 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 4e0bd98447 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 a551687556 Bug 604067 - Test invalid video in iframe gets error state correctly. a=test 2010-10-17 08:58:20 +13:00
Chris Pearce ba5cd52aca 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 84e276b818 Bug 602072 - Ensure media play() overrides preload='none'. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Chris Pearce eb4e29d363 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Chris Pearce 4f1c63029f Bug 603226 - Backed out changeset f63595eb0733 a=backout 2010-10-17 10:05:21 +13:00
Chris Pearce 5bb116ba37 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-17 07:41:53 +13:00
Ehsan Akhgari 60ab044952 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 fdc6d11174 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 d1db22de53 Backed out changeset 00382c4a8b22 a=backout 2010-10-13 20:10:37 +13:00
Chris Pearce 700f990b78 Bug 603226 - Remove nsBuiltinDecoderStateMachine::mBufferExhausted because its unreliable. r=roc a=blocking2.0 2010-10-13 19:36:03 +13:00
L. David Baron eb10eff046 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 ab30fce5db 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 2ea96c9f5a Bug 600455 - Fix index in indexed ogg file. r=test-fix 2010-10-07 11:58:36 +13:00
Chris Pearce e635cd56ec 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 92c10eecf7 Bug 598812 - Fix time attribute of audio available event. r=cpearce a=blocking2.0 2010-10-07 11:58:36 +13:00
Chris Pearce 8a7fe6029c 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 9b7b34eac2 Bug 598242 - Normalize WebM buffered TimeRanges. r=kinetik a=blocking2.0 2010-10-07 11:58:36 +13:00
Matthew Gregan 95077776f3 Bug 598217 - Share nsWebMBufferedState between cloned decoders. r=roc a=blocking2.0 2010-09-21 12:49:50 +12:00
Jonas Sicking 3067963e65 Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Chris Double ac2c75b396 Bug 584480 - Send Referer header with media requests - r=roc a=blocking2.0 2010-09-17 05:36:23 +12:00
Chris Double d1a1d2f027 Bug 557479 - Auto manage VideoData and SoundData objects. r=cpearce a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce 8e2fd6839f 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 79322e3ec4 Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-14 16:24:47 -07:00
Chris Pearce 418d54c14c Bug 589626 - Refactor timestamp notation in nsBuiltinDecoderStateMachine. r=kinetik a=blocking2.0 2010-09-14 16:24:47 -07:00
Matthew Gregan 8be3c96056 Bustage fix for bug 570904. a=bustage-fix 2010-09-14 20:23:33 +12:00
Chris Double 9ecee5f8f0 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 ed56635970 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 ad1369055d 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 c7ba136cea Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45:50 +12:00
Robert Sayre 2547e2702e jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Chris Pearce b49b964daa 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 f0f4b31995 Bug 589626 - Commit merge of backout. a=backout 2010-09-06 16:54:16 +12:00
Chris Pearce fb48311436 Backed out changeset 619459aa5005 a=backout 2010-09-06 16:53:39 +12:00
Chris Pearce dbc8aacdeb Bug 589626 merge backout. a=backout 2010-09-06 16:53:03 +12:00
Chris Pearce 93aed894ab Backed out changeset 528a97f6bc3b a=backout 2010-09-06 16:52:22 +12:00
Chris Pearce acb9e628bd Bug 578804 - Defer media volume to the audio thread. r=kinetik a=blocking2.0 2010-09-06 14:14:50 +12:00
Chris Pearce 8a0660c558 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 75bb37cff2 Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 14:14:43 +12:00
Chris Pearce c5fcd015fa Bug 589626 - Make video buffing logic consistent. r=kinetik a=blocking2.0 2010-09-06 11:59:50 +12:00
Marco Bonardo ed93850a83 Backed out changeset 96b74fec2915 2010-09-11 11:17:11 +02:00