Chris Pearce
7fb506d1f8
Bug 915957 - Move MediaDecoder::NotifyBytesConsumed() calls into MediaResource, so we don't need to remember to do them in all decoder backends. r=kinetik
2013-09-18 15:37:23 +12:00
Ehsan Akhgari
143454cc1a
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-05 16:25:17 -04:00
Ehsan Akhgari
92ad73ef93
Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
...
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ehsan Akhgari
be1e68caf3
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-04 17:58:14 -04:00
Robert O'Callahan
979a3ae072
Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
...
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Chris Double
f341d51ee6
Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce
2013-07-17 13:54:52 +12:00
Masatoshi Kimura
af2068ecf9
Bug 859022 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/media. r=roc
2013-06-27 20:30:41 +09:00
Chris Pearce
64f507219b
Bug 872866 - Set length of MediaResource earlier in load. r=roc
2013-05-16 15:22:34 +12:00
Chris Pearce
ea957dfa74
Bug 862182. r=roc,doublec
2013-05-03 10:59:18 +12:00
Chris Pearce
a183f15892
Bug 862182 - Revert bug 862183 due to frequent orange in 459439 crashtest. CLOSED TREE. r=philor
2013-05-01 13:33:33 +12:00
Chris Pearce
53ff357687
Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc
2013-05-01 11:23:46 +12:00
Robert O'Callahan
6d53909612
Bug 786539. Part 2: AreAllStreamsForResourceSuspended should ignore streams that can't read the resource data we need. r=cpearce
2013-04-24 21:19:02 +12:00
Robert O'Callahan
2f9b7480b2
Bug 786539. Part 1: When receiving an HTTP 416 in response to a seek, tell the media cache that we reached the end of the resource. r=cpearce
...
See the comments. This is especially likely to happen if we reach the end of
a resource and then do our reopen-on-error dance because at some point we
paused and resumed and we fear the server may have timed out our connection
without giving us all the data.
2013-04-24 21:18:56 +12:00
Steve Workman
0574e54c10
Bug 855064 - Exclude DASH code from default builds r=cpearce
2013-04-02 17:05:00 -07:00
Andrea Marchesini
8c4773bbdb
Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
...
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Chris Pearce
45033dda72
Bug 839031 - Store the Content-Type/MIME-Type on MediaResource. r=padenot
2013-02-15 14:10:58 +13:00
Chris Pearce
a0a8f9ba33
Bug 836927 - Bustage fix. r=bustage
2013-02-05 10:57:29 +13:00
Chris Pearce
67fcb5bebb
Bug 836927 - Make WMFByteStream bug compatible with WMF's IMFByteStream implementation. r=padenot
2013-02-05 10:34:23 +13:00
Steve Workman
9b165aa46e
Bug 792935 - Remove code to cancel DASH subsegment downloads during a seek r=cpearce
2013-01-28 18:34:28 -08:00
Steve Workman
e30ae6ad32
Bug 792935 - Miscellaneous fixes for DASH Mochitests r=cpearce
2013-01-23 11:24:41 -08:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Marco Chen
bcc528b62f
Bug 823445 - Avoiding deadlocks and main-thread blockage on input streams, by not taking the lock in FileMediaResource::Close. r=roc, a=blocking-basecamp
2013-01-08 17:52:24 +08:00
Michal Novotny
12d630095e
Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in media cache, r=roc
2013-01-04 00:27:04 +01:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Steve Workman
f126d025a2
Bug 820588 - Aggregate and forward statistics in DASH decoder classes r=cpearce
2012-12-13 11:42:45 -08:00
Steve Workman
944aa9c5e2
Bug 816726 - Add seeking capabilities to DASH-WebM code r=cpearce
2012-12-13 11:42:45 -08:00
Steve Workman
9374cf3e90
Bug 792404 - Add code to enable adaptive decoder and reader switching for DASH-WebM r=cpearce
2012-12-06 15:27:08 -08:00
Paul Adenot
a641c73fd5
Bug 455165 - Add support for chained ogg audio file and proper metadata dispatching. r=cpearce
2012-11-30 14:17:54 +01:00
Scott Johnson
29411d3842
Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan]
2012-11-28 18:26:39 -06:00
Ehsan Akhgari
bc9d059d1b
Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
...
This refactoring is needed for the introduction of the BufferMediaResource class.
--HG--
extra : rebase_source : e4b5016e9b947948799f1b8975b23a3dd685a366
2012-11-16 20:31:53 -08:00
Ehsan Akhgari
a275e0b1d5
Backed out changeset f76720054116 (bug 813209) because of leaks
2012-11-19 18:15:18 -05:00
Ehsan Akhgari
d33e5a71df
Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
...
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00
Chris Pearce
9abb830db0
Bug 811381 - Remove ns prefix from media code. r=roc
...
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce
42d7fd21b1
Bug 811381 - Move media code into mozilla namespace. r=roc
2012-11-14 11:45:33 -08:00
Chris Pearce
f9e8b1f20a
Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc
2012-11-14 11:45:13 -08:00
Ehsan Akhgari
f739744839
Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
...
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface. In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Robert O'Callahan
d723594f8f
Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
...
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Nick Hurley
31985d7fa6
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Matthew Gregan
ef15388358
Bug 795892 - Fix CORS listener refcnt in ChannelMediaResource::OpenChannel. r=roc
2012-10-02 18:03:24 +13:00
Steve Workman
fd6793666f
Bug 734546: Add DASH Decoders and Readers r=cpearce r=ted
2012-09-29 16:29:04 -07:00
Steve Workman
c5ea79ed89
Bug 734546: Add full byte range request ability to ChannelMediaResource r=cpearce
2012-09-29 16:29:04 -07:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ehsan Akhgari
a17cac3016
Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
...
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Ryan VanderMeulen
564bdb74b5
Merge m-c to inbound.
2012-09-05 23:03:09 -04:00
Makoto Kato
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Paul Adenot
1328b09819
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 17:49:46 -07:00
Ryan VanderMeulen
07a63bd067
Backout bug 567077 for bustage.
2012-09-05 18:36:38 -04:00
Paul Adenot
bdab14e35c
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 16:24:12 -07:00
Paul Adenot
a8a6b828f5
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-09-04 14:53:52 -07:00
Chris Pearce
f59371d2c4
Bug 787805 - Improve correctness and thread safety of FileMediaResource::EnsureSizeInitialized. r=roc
2012-09-04 12:05:41 +12:00