JW Wang
371885330d
Bug 1001317 - reset |MediaCacheStream::mDidNotifyDataEnded| so that it can notify data ended correctly upon 2nd download. r=roc
2014-05-11 20:43:00 +02:00
Eric Rahm
039aec2db2
Bug 1001419 - Use SizeOfExcludingThis for non-heap allocated member variable. r=njn
2014-04-29 14:47:56 -07:00
Ryan VanderMeulen
5dd599514c
Backed out changeset 090bd7835f82 (bug 1001419) for Linux mochitest-other failures.
2014-05-01 15:22:02 -04:00
Eric Rahm
daac73d06d
Bug 1001419 - Use SizeOfExcludingThis for non-heap allocated member variable. r=njn
2014-04-29 14:47:56 -07:00
Eric Rahm
5419f1b49f
Bug 969117 - Report memory usage of MediaResources. r=njn
2014-03-05 13:31:04 -08:00
Chris Pearce
0516c820f0
Bug 975858 - Ensure that MediaResource dtor always runs on the main thread, making it safe to deref on non-main threads. r=roc
2014-02-26 13:36:54 +13:00
Sotaro Ikeda
bc039bb881
Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec
2013-12-02 10:22:33 -05:00
Ryan VanderMeulen
0464ebbd62
Backed out changeset a1628c9ba4af (bug 929029) for timeouts/crashes in test_dataChannel_basicAudio.html.
2013-12-02 12:12:45 -05:00
Sotaro Ikeda
5dea3e9bb1
Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec
2013-12-02 10:22:33 -05:00
Matthew Gregan
bf52a0e2d7
Bug 935349 - Remove remaining disabled DASH code. r=doublec
2013-11-07 17:08:42 +13:00
Benjamin Chen
a5637c000c
Bug 831645 - part2, Rtsp media resource and decoder. r=roc, doublec, sworkman, khuey, gps
2013-09-23 17:53:36 +08:00
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
Chris Double
05e2fb80be
Bug 860599 - Use DataSource::CreateFromURI instead of MediaStreamSource - r=cpearce
...
--HG--
extra : rebase_source : da5a909d64ad903f86ad7fb76cb306252d8ccaad
2013-08-30 16:51:38 +12:00
Gabriele Svelto
c8251ce6f3
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Joshua Cranmer
5de0e3c9a1
Bug 884061 - Part 1: Use mozilla::Atomic in NS_DECL_INLINE_THREADSAFE_REFCOUNTING, r=jlebar
...
--HG--
extra : rebase_source : a3a987a2a4a52603e0461f40396cca06b6cbe989
2013-07-13 20:18:03 -05:00
Chris Double
f341d51ee6
Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce
2013-07-17 13:54:52 +12:00
Patrick McManus
38d761b516
Bug 831998 - Make the media canplaythrough estimation less conservative. r=cpearce
2013-05-05 17:02:25 -07: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
Steve Workman
0574e54c10
Bug 855064 - Exclude DASH code from default builds r=cpearce
2013-04-02 17:05:00 -07:00
Jacek Caban
c7103f6a75
Bug 844905 - Change MediaResource::GetContentType return type to nsCString. r=cpearce
2013-02-26 12:02:20 +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
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
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
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
Steve Workman
c5ea79ed89
Bug 734546: Add full byte range request ability to ChannelMediaResource r=cpearce
2012-09-29 16:29:04 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Paul Adenot
80b3876f46
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
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
7a041e9a4b
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01: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
Robert O'Callahan
c80165838e
Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce
2012-03-20 20:55:40 +13: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