Commit Graph

272 Commits

Author SHA1 Message Date
Timothy B. Terriberry
27775e1a04 Bug 759612 - Update granule position accounting for Opus, r=kinetik 2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
a8ffafda76 Bug 759399 - Handle preroll correctly during an Opus seek, r=doublec 2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
48f030f55f Bug 759490 - Use Opus streams when seeking in Ogg, if present, r=doublec 2012-05-31 11:13:11 -07:00
David Anderson
1fcc6211a4 Merge from mozilla-central. 2012-02-22 19:25:06 -08:00
David Anderson
7659e2e097 Merge from mozilla-central.
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 13:45:39 -08:00
Matthew Gregan
dfc90699bc Bug 783940 - Remove unnecessary nsOggDecoderStateMachine class. r=cpearce 2012-08-20 15:59:25 +12:00
Paul Adenot
29b17248c6 Bug 762282 - Don't notify the HTMLMediaElement if we reach the end of the media while seeking for metadata. r=chris.double 2012-08-17 10:01:08 -07:00
Robert O'Callahan
ad4c67538b Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00
Robert O'Callahan
8b57a3e190 Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec 2012-02-15 17:35:01 +13:00
Ching Wei Tseng
9bb78b0653 Bug 601535 - content/media should use CheckedInt.h. r=doublec 2012-02-22 13:28:06 +01:00
Abhishek Bhatnagar
a1f068120f Bug 620164 - Remove CheckedInt and Muloverflow from nsTheoraState::MaxKeyframeOffset. r=cpearce 2012-04-11 07:44:28 -04:00
Benoit Jacob
6598b33e08 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Ms2ger
f721014338 Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted 2012-01-11 09:23:07 +01:00
Chris Pearce
5d037cdaf0 Bug 726400 - Backed out changeset 4ad6c040729f. r=backout. 2012-03-26 14:41:14 +13:00
Christopher De Cairos
49bf77143e Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce 2012-03-26 14:21:53 +13:00
Phil Ringnalda
f0b85848e1 Back out c4a4b0171b99 (bug 736400) for Android build bustage 2012-03-25 15:35:37 -07:00
Christopher De Cairos
b9927ed2b5 Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce 2012-03-26 10:48:40 +13:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Paul Adenot
744ee4cb46 Bug 756372 - Change |seeking| to prevent seeking in WebM livestream. r=kinetik 2012-05-18 13:35:43 -04:00
Ms2ger
b1ec8ac12a Bug 754643 - Disable FAIL_ON_WARNINGS in content/media because new warnings were introduced. 2012-05-18 10:57:20 +02:00
Ms2ger
1c8f2530d8 Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc 2012-05-18 10:29:38 +02:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Robert O'Callahan
882adb220d Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-25 15:06:20 +13:00
Robert O'Callahan
e5c5e6b988 Backing out part of bug 703379 to fix build failure of nsRawReader 2011-11-24 12:30:03 +13:00
Robert O'Callahan
84b2fe0e79 Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec 2011-11-24 12:05:12 +13:00
Matthew Gregan
b91f76289a Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec 2011-09-30 12:34:37 +13:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matthew Gregan
bd4295528f Bug 689432 - Disambiguate use of "samples" by introducing "frames" in a number of places. r=doublec 2011-09-27 16:31:18 +13:00
Martin Richard
398b044837 Bug 646333 - Make video constants consistently const T. r=cpearce 2011-09-15 07:39:50 +12:00
Felix Fung
1efc4b73a9 Bug 577266 - Correct misspellings in source code: 'verion' -> 'version' 2011-09-06 22:50:26 -07:00
Matthew Gregan
1eaa941a74 Bug 679269 - Rename SoundData{,Value} to AudioData{,Value} and fix inconsistent use of "sound" vs "audio". r=doublec 2011-08-16 17:19:51 +12:00
Paul ADENOT
36cf6a91a7 Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Chris Pearce
e9746ae18e Bug 675747 - Handle multiple bos pages in a single ogg bitstream. r=doublec 2011-08-05 08:44:24 +12:00
Chris Double
155df8e73f Bug 666132: Account for trailing data in the last frame of audio data in ogg backend debug code - r=cpearce 2011-08-03 15:08:56 +12:00
David Volgyes
2b21de9549 Bug 673154 - Use nsAutoArrayPtr for SoundDataValue allocations to simplify ownership. r=cpearce 2011-07-29 13:54:21 +12:00
Matthew Gregan
5ed522c02f Bug 645773 - Reorder a sensitive computation to avoid signed vs unsigned issues. Return a null range from SelectSeekRange when stream length is unknown. r=cpearce 2011-04-01 17:18:43 +13:00
Chris Pearce
0cf7b30f03 Bug 671438 - Make nsOggCodecState::PacketOutUntilGranulepos() return an error on failure. r=doublec 2011-07-19 09:36:30 +12:00
Chris Pearce
f2608ac6df Bug 670726 - Remove ns{Ogg,WebM}Reader::CanDecodeToTarget(), it makes invalid assumptions. r=kinetik 2011-07-14 09:24:35 +12:00
Chris Pearce
fabed158ed Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc 2011-07-12 15:39:28 +12:00
Chris Pearce
1e2942a0a5 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-12 15:39:25 +12:00
Chris Pearce
b6b4964da4 Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-12 15:39:23 +12:00
Chris Pearce
740b9b2109 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
fb29383b24 Bug 635726 - Ignore Ogg header pages in seek timestamp capture. r=doublec 2011-07-07 09:50:44 +12:00
Chris Pearce
a24dd67388 Bug 592833 - Backout due to suspected android crashtest permaorange. r=philor 2011-07-06 19:21:49 +12:00
Chris Pearce
0811c3e838 Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc 2011-07-06 10:03:32 +12:00
Chris Pearce
7da896cb74 Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-06 10:03:21 +12:00
Chris Pearce
863da21429 Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-06 10:03:11 +12:00
Paul ADENOT
913b92aa91 Bug 667929 - OGG media buffered member is not correct when the stream is infinite; r=cpearce 2011-06-30 14:25:27 +02:00
Chris Pearce
b364e365c4 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Chris Pearce
0ce10721e9 Bug 655648 - Don't enqueue expired theora frames. r=roc 2011-06-09 08:56:45 +12:00
Chris Pearce
c47b80f93b Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Chris Pearce
ccae22ade2 Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Chris Jones
ed22df8f64 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
036c423acb Bug 645773 - Typo fix in nsOggReader::GetSeekRanges(). r=roc 2011-04-26 11:32:08 +12:00
Chris Pearce
bf7fe4cec2 Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec 2011-04-15 13:29:54 +12:00
Chris Pearce
a259c20cba Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Pearce
48f5b7cc07 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +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
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
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
207244234b Bug 639391 - Ensure Ogg GetBuffered() is threadsafe. 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
a77b17534e Bug 628665 - Buffer media when low on undecoded data. 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
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
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
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 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
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
0e9083fe01 Bug 605457 - Remove concurrent use of Ogg stream hash table. r=cpearce a=roc 2010-12-17 14:39:01 +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
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
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
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04: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 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
48fd3a8330 Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45: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 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
Chris Pearce
b07055071f Bug 519897 - Supported indexed Ogg files. r=doublec 2010-08-20 10:50:37 +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
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
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
fb117ca2e7 Bug 462957 - DOM implementation of HTMLMediaElement.buffered. r=roc a=blocking2.0 2010-08-05 19:40:35 +12: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
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
Robert O'Callahan
7e335145c1 Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec 2010-07-20 13:29:27 +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
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
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
673772b5ef Bug 568431 - Remove the requirement for mCallbackPeriod from the generic media backend. r=doublec 2010-05-31 16:02:00 +12: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
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
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02: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
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
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
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
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
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
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
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
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
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
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
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
0eddd5d926 Bug 504843 - Abort ogg decode with excessively large video frame sizes. r=doublec 2009-10-03 17:08:12 +13:00