Nicolas Silva
047b99ba78
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
David Zbarsky
d50e4a7565
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Ralph Giles
f63a794f44
Bug 763010 - Expose media element metadata. r=cpearce
...
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.
Currently this is only implemented for Ogg Vorbis streams.
Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.
The hash pointer is passed up to the media element as part of the MetadataLoaded event.
The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
88371b030a
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Paul Adenot
67bfe4f064
Bug 756372 - Change |seeking| to prevent seeking in WebM livestream. r=kinetik
2012-05-18 13:35:43 -04:00
Robert O'Callahan
f1893f0756
Bug 750769. Clarify that mNextState can only be PLAY_STATE_PAUSED or PLAY_STATE_PLAYING. r=cpearce
2012-05-15 17:57:23 +12:00
Robert O'Callahan
cbe63bfaf7
Bug 750769. Clarify thread-safety guarantees around mPlayState and mNextState. r=cpearce
2012-05-15 17:57:17 +12:00
Robert O'Callahan
0fab284fc7
Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
...
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Paul ADENOT
c3d69642e4
Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce
2012-04-28 11:01:10 -04:00
Robert O'Callahan
4840bbe976
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
1e90444bb6
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
Chris DeCairos
6a271f929d
Bug 715323 - Make offset paramater in NotifyDataArrived PRInt64 r=cpearce
2012-02-01 11:05:51 +13:00
Robert O'Callahan
4f2e71dc44
Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec
2011-11-25 15:06:20 +13:00
Robert O'Callahan
1a60edba9a
Backing out part of bug 703379 to fix build failure of nsRawReader
2011-11-24 12:30:03 +13:00
Robert O'Callahan
fc5886fa9f
Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec
2011-11-24 12:05:12 +13:00
Chris Pearce
b01fd7d70f
Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik
2011-11-22 13:34:21 +13:00
Matthew Gregan
3cd3f41ec2
Bug 700555 - Add null check in nsBuiltinDecoder::NotifyDataArrived. r=doublec
2011-11-09 15:42:26 +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
49589fa033
Bug 682593 - Avoid possible null dereference during state machine shutdown. r=cpearce
2011-09-21 19:01:00 +12:00
Chris Double
1e5e4609a1
Bug 648595 - Part 1/2: Implement temporal dimension portion of Media Fragments URI specification for video/audio - r=cpearce
...
--HG--
extra : rebase_source : f9b5986e739a091c37caeb882904434f21fb6d81
2011-08-25 11:42:23 +12:00
Paul ADENOT
36cf6a91a7
Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce
2011-08-09 12:10:48 +02:00
Paul ADENOT
99d65b2f85
Bug 619752 part 1 - Duration should be +Inf on infinite length video streams. Core changes and corresponding test fixes. r=cpearce
2011-08-01 14:11:20 -04:00
Matthew Gregan
db3428cfec
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
Chris Pearce
94901f979a
Bug 592833 - Update comments for new video decoder thread model. r=roc
2011-07-12 15:39:39 +12:00
Chris Pearce
f75f5e57e5
Bug 592833 - Merge all media state machines into a single thread. r=roc
2011-07-12 15:39:34 +12:00
Chris Pearce
09f21e3e39
Bug 592833 - Run media state machine as a series of events. r=roc
2011-07-12 15:39:32 +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
c47b80f93b
Bug 566779 - Clean up media start and end time calculation. r=doublec
2011-05-09 09:10:28 +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
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
Matthew Gregan
498ae5a9a8
Bug 635400 - Null check state machine pointer in GetBuffered. r=cpearce
2011-03-24 18:04:16 +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
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
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
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
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
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
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
Matthew Gregan
f3d96bd23a
Bug 598217 - Share nsWebMBufferedState between cloned decoders. r=roc a=blocking2.0
2010-09-21 12:49:50 +12:00