Ben Kelly
1ac006397f
Bug 961441: Use MallocSizeOf to report decoded-audio memory. r=cpearce r=njn
2014-01-22 22:14:45 -05:00
Robert O'Callahan
d4e6ad4a05
Bug 943461. Part 8: When a MediaDecoder is decoding to a stream, run PlaybackEnded when the stream finishes. r=padenot
...
--HG--
extra : rebase_source : 92c8b55c5d8330bcf8242d379bc608fa3d30bc6b
2013-12-07 01:01:33 +13:00
Robert O'Callahan
b2d1fa5018
Bug 938022. Part 6: Have MediaDecoder/MediaDecoderStateMachine that's producing a MediaStream use that stream's current time as the media clock. r=padenot
...
We monitor the stream's output current time via a new MediaStreamListener
owned by DecodedStreamData. We also track its main-thread Finished status.
While we're writing to a DecodedStreamData stream that hasn't finished its
output, we stay in the DECODER_STATE_COMPLETED state so we can keep updating
video and firing timeupdates.
GetClock() uses the DecodedStreamData stream's current time as the source for
the clock if there is one.
--HG--
extra : rebase_source : aba1d092d3d347e26ebd823d61fcbfa40a8cd1fe
2013-12-02 10:09:06 +13:00
Robert O'Callahan
161ce6418f
Bug 938022. Part 2: Block captured MediaStream when the MediaDecoderStateMachine is not playing. r=cpearce
...
--HG--
extra : rebase_source : 01d887b3b5917b7c51a286d61feb10e7b2426d9a
2013-11-23 22:48:24 +13:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Vincent Chang
9f6565be60
Bug 898864 - RTSP content process crash when press the play button at the end of video. r=sworkman
2013-11-20 11:08:10 +08:00
Matthew Gregan
aca39c9f09
Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
2013-11-18 17:22:47 +13:00
Phil Ringnalda
aa4f4a9e99
Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
...
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan
fdcb4e1cac
Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
...
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Mike Hommey
668fe90971
Bug 935857 - Replace MOZ_RTSP with proper NECKO_PROTOCOL handling. r=gps,r=vchang
2013-11-12 07:52:33 +09:00
Matthew Gregan
15ae6a844f
Bug 935349 - Remove remaining disabled DASH code. r=doublec
2013-11-07 17:08:42 +13:00
Benjamin Chen
a9ca45668c
Bug 831645 - part2, Rtsp media resource and decoder. r=roc, doublec, sworkman, khuey, gps
2013-09-23 17:53:36 +08:00
Matt Woodrow
e61f859e65
Bug 886219 - Force an invalidation when an async video finishes. r=nical
2013-10-02 16:05:34 +13:00
Chris Pearce
499a20ae5f
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
Edwin Flores
df276e7296
Bug 914479 - AudioToolbox MP3 backend on OSX r=cpearce
2013-09-14 13:14:42 +12:00
Chris Pearce
c438f19ab9
Bug 910897 - Use MP3FrameParser in DirectShow in order to calculate the duration. r=padenot
2013-09-10 12:45:33 +12:00
Ehsan Akhgari
3b48889d78
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-05 16:25:17 -04:00
Ehsan Akhgari
22fac42fb0
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
2ce2ec0cdb
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-04 17:58:14 -04:00
Robert O'Callahan
3dffe95932
Bug 904926. Remove unnecessary lock. r=cpearce
...
--HG--
extra : rebase_source : 0088907b65ff3ce2e1f15b2bb1b5e0cdb7126f24
2013-09-04 23:13:06 +12:00
Sotaro Ikeda
b8ce56f688
Bug 905008 - Block bogus MetadataLoaded event. r=doublec
2013-08-26 12:11:58 -04:00
Gabriele Svelto
619cc7ccf1
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
b5df99e7e3
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Thomas Zimmermann
92f7e9a735
Bug 831224: Allow update of the media duration, r=padenot
...
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
2013-05-03 09:48:37 +02:00
Ed Morley
77fbd30f54
Backed out changeset 43953e9233a2 (bug 831224)
2013-08-08 09:59:49 -07:00
Thomas Zimmermann
e02e53b720
Bug 831224: Allow update of the media duration, r=padenot
...
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
--HG--
extra : rebase_source : f417b968e81d9c9a1aff8ae3174079a297eb371b
2013-05-03 09:48:37 +02:00
Robert O'Callahan
383c6492bc
Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce
...
--HG--
extra : rebase_source : db895d3d2d91a92d0c8c381940a0e0ccc9d9a8d0
2013-07-24 21:55:23 +12:00
Matthew Gregan
8c5e04ae01
Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec
2013-07-24 11:46:43 +12:00
Joshua Cranmer
46c5cc932a
Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
...
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Matthew Gregan
deb8ac1d03
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
...
Media Source Extensions specification). r=roc
2013-06-21 15:14:18 +12:00
Phil Ringnalda
223d1262f5
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
dd3855fa0e
Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
...
---
content/html/content/public/HTMLVideoElement.h | 4 ++
content/html/content/src/HTMLVideoElement.cpp | 27 ++++++++++
content/media/MediaDecoder.h | 17 +++++++
content/media/MediaDecoderStateMachine.cpp | 6 ++-
content/media/VideoPlaybackQuality.cpp | 53 ++++++++++++++++++++
content/media/VideoPlaybackQuality.h | 68 ++++++++++++++++++++++++++
content/media/moz.build | 2 +
dom/base/moz.build | 2 +
dom/bindings/Bindings.conf | 4 ++
dom/webidl/HTMLVideoElement.webidl | 6 +++
dom/webidl/VideoPlaybackQuality.webidl | 20 ++++++++
dom/webidl/WebIDL.mk | 1 +
12 files changed, 209 insertions(+), 1 deletion(-)
create mode 100644 content/media/VideoPlaybackQuality.cpp
create mode 100644 content/media/VideoPlaybackQuality.h
create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Robert O'Callahan
21d8f99f47
Bug 882027. Make MediaDecoder::UpdateReadyStateForData always be responsible for calling GetNextFrameStatus when that value is passed to HTMLMediaElement::UpdateReadyStateForData, but keep calling GetNextFrameStatus on the state machine thread to suppress dispatching of redundant runnables when nothing has changed. r=cpearce
2013-06-17 17:15:32 +12:00
Sotaro Ikeda
2d8e4dae08
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
2013-06-10 08:22:05 -04:00
Ryan VanderMeulen
5108144eb8
Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures.
2013-06-07 09:57:05 -04:00
Sotaro Ikeda
a610c06f76
Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc
2013-06-07 08:15:44 -04:00
Michael Wu
d59dd9ac0f
Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium
2013-05-02 17:21:22 -04:00
Chris Pearce
16011bf3ac
Bug 847267 - Use DXVA2 to offload H.264 decoding to the GPU on Windows. r=Bas
2013-05-04 22:12:41 +12:00
Chris Pearce
c8081a14c7
Bug 862182. r=roc,doublec
2013-05-03 10:59:18 +12:00
Chris Pearce
3262662a85
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
f7895b7d0b
Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc
2013-05-01 11:23:46 +12:00
Andrea Marchesini
8eaecd7c18
Bug 841014 - Rename nsTimeRanges.h to TimeRanges.h. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsTimeRanges.cpp => content/html/content/src/TimeRanges.cpp
rename : content/html/content/src/nsTimeRanges.h => content/html/content/src/TimeRanges.h
2013-03-02 14:14:44 -05:00
Paul Adenot
e3f9f4377e
Bug 844951 - Setting playbackRate and mozPreservesPitch before the decoder creation should work. r=kinetik
2013-02-26 09:52:23 +01:00
Robert O'Callahan
f42503daeb
Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
...
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.
--HG--
extra : rebase_source : 751114a1befd73b405dff3ee986496efb6f76201
2013-02-04 23:04:24 +13:00
Ehsan Akhgari
598f705578
Backed out 14 changesets (bug 804387) because of Android M2 crashes
...
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Robert O'Callahan
e4dcc9be99
Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
...
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.
2013-02-04 23:04:24 +13:00
Chris Pearce
661c2de3a5
Bug 836927 - Make WMFByteStream bug compatible with WMF's IMFByteStream implementation. r=padenot
2013-02-05 10:34:23 +13:00