Birunthan Mohanathas
63dbcb194c
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Jean-Yves Avenard
1ad7067797
Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow
2015-05-18 16:15:47 +10:00
Jean-Yves Avenard
097184f909
Bug 1165145: Part2. Only extends source buffer ranges if non-empty. r=karlt
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
02a02ef5c7
Bug 1165145: Part1. Don't add a negative time range to empty buffered ranges. r=karlt
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
ce031f8029
Bug 1163485: Part1. Enable MediaFormatReader by default. r=kentuckyfriedtakahe
2015-05-18 15:42:32 +10:00
Jean-Yves Avenard
5528155431
Bug 1156708: Part3. Disable audio track when using combined track sourcebuffer. r=kentuckyfriedtakahe
...
This is an unsupported configuration. We currently only whitelist MSE clients
using separate audio and video tracks.
2015-05-18 15:41:22 +10:00
Jean-Yves Avenard
84a6a82bf6
Bug 1156708: Part2. Add pref to toggle new code. r=kentuckyfriedtakahe
...
media.format-reader.mp4=true: Will enable the new format decoder for mp4
media.mediasource.format-reader.mp4=true: Will enable new format decoder for
mp4 within MSE.
2015-05-18 15:41:22 +10:00
Anthony Jones
0bcc6bd9e0
Bug 1163076 - Whitelist Daily Motion; r=jya
2015-05-18 15:06:56 +12:00
James Willcox
63290562a6
Bug 1084456 - Enable MSE on Android r=ajones,ehsan
2015-05-14 14:52:09 -05:00
Eric Rahm
0c5f2525a6
Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Jean-Yves Avenard
063a11859e
Bug 1162861: Don't disconnect promise outside target thread. r=bholley
2015-05-11 20:52:11 +10:00
Karl Tomlinson
7a2c4e822d
bug 1161892 use separate thread pool for platform decoder task queues r=bholley
...
so that platform decoder tasks will run when their readers wait and block
their thread pool.
2015-05-07 16:01:43 +12:00
Bobby Holley
090e5a6bee
Bug 1161901 - Make MDSM::ScheduleStateMachine runs on the state machine task queue only. r=jww
2015-05-07 09:50:35 -07:00
Jean-Yves Avenard
76d15eeeff
Bug 1157075: Part2. Use MediaPromise to read TrackBuffer metadata. r=bholley,r=karlt
2015-05-01 15:37:31 +10:00
Chris Double
8f864ec3cd
Bug 1160027 - Move ResourceQueue implementation from header file - r=cpearce
2015-05-01 14:09:22 +12:00
Boris Zbarsky
0c57b3bfed
Bug 1159756. Stop forcing the media.mediasource.enabled preference to true and the media.mediasource.whitelist preference to false in the test harness. r=kinetik
2015-04-30 14:25:03 -04:00
JW Wang
9244034300
Bug 1159162 - Remove unnecessary testing prefs from media mochitests for they are defined in testing/profiles/prefs_general.js. r=kinetik.
2015-04-29 10:22:15 +08:00
Bobby Holley
833500a4af
Bug 1144481 - Force state machine setting to go through a setter. r=jww
...
We need this so that we can hook up the state mirroring in the subsequent patch.
2015-04-23 11:55:13 -07:00
Bobby Holley
13c48d68da
Bug 1144486 - Fix Bogus test. r=cajbir
...
cajbir said we should do this in the media meeting.
2015-04-22 21:38:09 -07:00
Andrea Marchesini
fb6be711d9
Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan
2015-04-22 08:29:17 +02:00
Bobby Holley
fa335dee6c
Bug 1154782 - Align the failure handling of the TemporaryRef Dispatch overload with its companion. r=jww
...
Most of the callers ignore the return values. The MOZ_DIAGNOSTIC_ASSERTS will
tell us if any of these actually fail in practice.
2015-04-15 22:30:36 -07:00
Jean-Yves Avenard
d444fdc20b
Bug 1153094: Rename LargeDataBuffer and DataBuffer object. r=cpearce
...
This causes conflicts with webRTC libraries that use those names already. The
linker appears to get it wrong and calls the destructor of the wrong class.
2015-04-15 15:27:38 +10:00
Gerald Squelart
852d3a5f6e
Bug 1151676 - [MSE] Add missing ^headers^ files to tests - r=jya
2015-04-06 19:38:00 +02:00
Carsten "Tomcat" Book
7f204261b4
Backed out changeset 52f7770a996c (bug 1151676)
2015-04-07 16:40:53 +02:00
Gerald Squelart
5c6f8ad6f3
Bug 1151676 - [MSE] Add missing ^headers^ files to tests - r=jya
2015-04-06 19:38:00 +02:00
Jean-Yves Avenard
a461a7402f
Bug 1151299: Part1. Only attempt to decode first frame when available. r=mattwoodrow
...
Don't rely on the demuxer to be blocking when attempting to decode the first
MSE frame.
2015-04-07 20:33:17 +10:00
Bobby Holley
7b1b28e48a
Bug 1150687 - Have callers pass an AbstractThread directly to promise APIs and remove wrapper-style AbstractThreads for MediaTaskQueue. r=jww
2015-04-06 11:09:27 -07:00
Matt Woodrow
4029568f02
Bug 1102612 - Don't attempt to read data from a resource if we've evicted the start position. r=jya
2015-04-02 11:10:34 +13:00
Gerald Squelart
720f3e263e
Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce
2015-04-01 03:36:00 -04:00
Chris Pearce
47e7b35b82
Bug 1148286 - Ensure we don't nullpointer deref if the CDM crashes in MediaKeys and Reader::SetCDMProxy implementations. r=edwin
2015-04-01 20:48:43 +13:00
Ryan VanderMeulen
df418065ad
Backed out changeset 95866bc69415 (bug 1144409) for bustage.
2015-03-31 11:16:29 -04:00
Gerald Squelart
ccf533d6e5
Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce
2015-03-26 18:57:00 -04:00
Bobby Holley
09f0153b4f
Bug 1144519 - Rename MediaDecoder::OnDecodeThread to MediaDecoder::OnDecodeTaskQueue. r=jya
2015-03-27 11:50:21 -07:00
Bobby Holley
ca940f4d38
Bug 1144519 - Rename MediaDecoderReader::OnDecodeThread to MediaDecoderReader::OnTaskQueue. r=jya
2015-03-27 11:50:20 -07:00
Bobby Holley
79bed83dbd
Bug 1144519 - Rename OnStateMachineThread-like functions to reflect the fact that it's a task queue. r=jya
2015-03-27 11:50:19 -07:00
Chris Pearce
70f880c263
Bug 1147730 part 1 - Prevent data race between CDMProxy and CDM caps and video decoder startup. r=edwin
2015-03-26 19:53:05 +13:00
Jean-Yves Avenard
1721a17e16
Bug 1145815: Do not report discontinuities less than 35ms. r=k17e
2015-03-25 22:32:21 +11:00
Bobby Holley
3d7cf9b65a
Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow
...
This allows for parallel MDSM execution. \o/
2015-03-25 17:46:26 -07:00
Wes Kocher
d93d614326
Backed out changeset f3b3547c610a (bug 1144409) for eme test failures CLOSED TREE
2015-03-23 16:06:32 -07:00
Bobby Holley
53e59c8781
Bug 1136873 - Deliver NotifyWaitingForResourcesStatusChanged asynchronously on the state machine task queue. r=mattwoodrow
...
The previous setup is wacky, and can cause the notification to reach the state
machine before the promise rejection, which causes us to stall intermittently.
We also take the opportunity to be a bit less trigger happy when we fire it
in MediaSourceReader.cpp.
2015-03-23 13:17:52 -07:00
Gerald Squelart
8a1b12bdcf
Bug 1144409 - Encrypted event should be fired once per initData; part 1: first initData. r=cpearce
2015-03-22 23:26:00 -04:00
Jean-Yves Avenard
6c37c24830
Bug 1143971: Rebase bustage fix. r=bustage ON A CLOSED TREE
2015-03-23 21:26:16 +11:00
Jean-Yves Avenard
15740093e3
Bug 1144617: Part2. Allow seek to end of mediasource.duration. r=mattwoodrow
...
When seeking to the end of a mediasource media data, we will instead seek
to the last audio and video sample. The MediaDecoderStateMachine will then
request more audio or video data that will make it hit End Of Stream and
complete the seek.
2015-03-23 21:08:05 +11:00
Jean-Yves Avenard
e30d995d7f
Bug 1144617: Part1. Add MediaResource::IsLiveStream() API. r=cpearce
...
We can't just rely on the MediaResource size to be -1 with MSE. It needs a
dedicated method.
2015-03-23 21:08:05 +11:00
Jean-Yves Avenard
befe07bd6d
Bug 1143971: Part1. Come out of waiting mode when mediasource is ended. r=mattwoodrow
2015-03-23 21:08:05 +11:00
Jean-Yves Avenard
5805d0fdc7
Bug 1141333: Mark reader has ended when EndOfStream explicit. r=mattwoodrow
2015-03-23 21:08:05 +11:00
Karl Tomlinson
c9a9125dc1
bug 1144341 RemoveDecoder() when initialization is aborted r=jya
2015-03-23 18:13:38 +13:00
Edwin Flores
3b999ebf25
Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage
2015-03-23 16:44:20 +13:00
Edwin Flores
b6f093015a
Bug 1134434 - Fire loadedmetadata before encrypted event on encrypted MP4s - r=cpearce
2015-03-23 15:31:15 +13:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00