Gerald Squelart
51b6885024
Bug 1144409 - Encrypted event should be fired once per initData; part 2: future initData. r=cpearce
2015-03-22 23:27:00 -04:00
Gerald Squelart
e9b08e251b
Bug 1144409 - Encrypted event should be fired once per initData; part 1: first initData. r=cpearce
2015-03-22 23:26:00 -04:00
Byron Campen [:bwc]
ae13d463e0
Bug 1145407: Another mochitest 3 bustage fix on CLOSED TREE. r=bustage
...
--HG--
extra : amend_source : b35ca98cbfb6d3e745dbb1d7fbfa36f9f3ba93a4
2015-03-23 10:29:53 -07:00
Byron Campen [:bwc]
534d79b207
Bug 1145407: Fix mochitest 3 bustage on CLOSED TREE. r=bustage
...
--HG--
extra : rebase_source : d7e281e62c03169b80e07bdf205c40455fb231e9
2015-03-23 10:21:23 -07:00
Byron Campen [:bwc]
286f76f96c
Bug 1145407: Add mochitests that cause multiple tracks of the same type to be placed in the same remote stream. r=mt
...
--HG--
extra : rebase_source : a713ec8aa5e387f2d414c02d5932977f128129cb
extra : amend_source : fdbe09e35959651df4d0004c1cfe9b4e5bb47097
2015-03-19 16:18:42 -07:00
Jean-Yves Avenard
65525c3610
Bug 1143971: Rebase bustage fix. r=bustage ON A CLOSED TREE
...
--HG--
extra : rebase_source : 9c76279d11fdcd747fc69b24939b888372c6f5ca
2015-03-23 21:26:16 +11:00
Jean-Yves Avenard
586ae964db
Bug 1145411
: Reduce Apple audio decoder verbosity. r=mattwoodrow
2015-03-23 21:09:05 +11:00
Jean-Yves Avenard
40a01374c1
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
964b3518d3
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
7340f59893
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
ece3ad624d
Bug 1141333: Mark reader has ended when EndOfStream explicit. r=mattwoodrow
2015-03-23 21:08:05 +11:00
Karl Tomlinson
9b81843d7f
bug 1144189 don't dispatch runnable again after immediate dispatch in RunAfterPendingUpdates r=roc
...
--HG--
extra : rebase_source : 62cdf00643cbf1591fe147f932905f190cd7bf8a
2015-03-18 09:29:33 +13:00
Karl Tomlinson
8abd20cef2
bug 1144341 RemoveDecoder() when initialization is aborted r=jya
...
--HG--
extra : rebase_source : c19a2d8d2f8e736bbcf12925ea7792a0d6bfdcd9
2015-03-23 18:13:38 +13:00
Edwin Flores
d3bddb14f8
Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage
2015-03-23 16:44:20 +13:00
Stephen Pohl
d123931436
Bug 1145336
: Remove old GMPs during updates. r=jwwang
2015-03-22 23:12:03 -04:00
Edwin Flores
9a9b42ccdf
Bug 1134434 - Fire loadedmetadata before encrypted event on encrypted MP4s - r=cpearce
2015-03-23 15:31:15 +13:00
Edwin Flores
bee5912b34
Bug 1134434 - Change test_eme_non_fragmented to expect a loadedmetadata' event instead of
encrypted' - r=cpearce
2015-03-23 15:31:15 +13:00
Jean-Yves Avenard
ec3133be54
Bug 1145101: Part6. Remove the PDM::Shutdown() method. r=cpearce
...
PDM::Shutdown() was documented in some implementation as running from the main
thread which wasn't the case. It served no purpose and all can be done from the
destructor instead.
The PDM being a refcounted object can be referenced by more than one object.
Shutting it down too early could cause crash. This is now avoided.
2015-03-23 11:12:59 +11:00
Jean-Yves Avenard
29c3f07735
Bug 1145101: Part5. Re-use the same PDM when recreating a decoder. r=mattwoodrow
...
This ensure proper balance of PDM/Media Data Decoder Shutdown()
2015-03-22 13:13:42 +11:00
Jean-Yves Avenard
eba783fa56
Bug 1145101: Part4. Fix coding style. r=cpearce
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard
2a25b5ab4d
Bug 1145101: Part3. Ensure PDM is shutdown after decoder. r=cpearce
...
A MediaDataDecoder object can't be used once the PDM that created it is
shutdown.
We ensure that if the PDM is in use by the SharedDecoderManager we do not
shut it down.
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard
51d848ba61
Bug 1145101: Part2. Unset VDA/VT system functions when unlinking framework. r=cpearce
...
Makes it much easier to debug when framework got unlinked but is incorrectly
still later used as it will crash as a null deref.
2015-03-23 11:12:58 +11:00
Jean-Yves Avenard
5c5bf460e7
Bug 1145101: Part1. Correct log entry. r=cpearce
2015-03-23 11:12:57 +11:00
Ehsan Akhgari
883849ee32
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
Wes Kocher
14f75f943c
Merge m-c to inbound a=merge CLOSED TREE
2015-03-20 18:01:17 -07:00
Wes Kocher
5e68488fa0
Bug 1145816 - Disable test_mediaStreamAudioDestinationNode.html as well for frequent timeouts CLOSED TREE
2015-03-20 16:22:05 -07:00
Ryan VanderMeulen
edd40992cc
Bug 1145816 - Disable test_mediaElementAudioSourceNodePassThrough.html on Android for being nearly perma-timeout.
...
CLOSED TREE
2015-03-20 17:15:43 -04:00
Byron Campen [:bwc]
3d398312bf
Bug 1141230: Stop using getLocalStreams() to drive checking of various things in the mochitest suite. r=jib
...
--HG--
extra : rebase_source : 27e7d4f3d86d33a1c4e046fa0e677c4d3bccc247
2015-03-12 17:30:12 -07:00
Jan-Ivar Bruaroey
e9cc1b61ab
Bug 1145403 - Don't open MediaManager on shutdown. r=jesup
2015-03-19 18:43:25 -04:00
Alexandre Lissy
77d1e01b3c
Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal
2015-03-20 00:45:00 +01:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Matt Woodrow
bfd6201948
Bug 1145029 - Disable DXVA for 4k videos on AMD hardware since it performs poorly. r=jya
...
--HG--
extra : rebase_source : b2b686f7b6774fb04766b47133299c78061793b5
2015-03-19 22:01:47 +13:00
Jan-Ivar Bruaroey
d9836cc0ca
Bug 1144984 - add missing includes in MediaTimer.cpp. r=bobbyholley
2015-03-18 21:21:15 -04:00
JW Wang
88d592058a
Bug 1143562. Part2 - only init |mStorageBaseDir| in the chrome process. r=cpearce
2015-03-18 19:15:00 +01:00
JW Wang
80b1b90328
Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce
2015-03-16 19:51:00 +01:00
Phil Ringnalda
0400bc353a
Back out 59fd15407a79 (bug 1142336) for shutdown hangs
...
CLOSED TREE
2015-03-18 20:38:43 -07:00
Bobby Holley
7afd45ea42
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-18 18:00:49 -07:00
Matt Woodrow
cfd81254b3
Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce
...
--HG--
extra : rebase_source : f42bec1f1f15eb9e825643df87f3f9285dcb7189
2015-03-19 10:16:23 +13:00
Matt Woodrow
a426242c6b
Bug 1138967 - Part 1: Remove ISharedImage. r=nical
...
--HG--
extra : rebase_source : e8ddd7c6cd6d3bb76befb65fe32210ed65d22eeb
2015-03-19 10:15:38 +13:00
Bobby Holley
c64dbd1ed9
Bug 1144487 - Implement AbstractThread. r=mattwoodrow
2015-03-18 08:25:55 -07:00
Sylvestre Ledru
57e754e11c
Bug 1144176 - Remove a useless declaration. r=bholley
2015-03-18 14:10:08 +01:00
Benjamin Chen
5fb5f6af9a
Bug 1138825 - Fix the crash at mAudioPromise: call decode audio data when the audio queue is empty and check the mAudioPromise is empty or not. r=sotaro
2015-03-10 14:38:39 +08:00
Nigel Babu
0a587c5cdd
Backed out changeset 05850dac2882 (bug 1143562) for B2G Emulator ICS M2 bustage CLOSED TREE
2015-03-18 12:20:57 +05:30
Jean-Yves Avenard
09f736c2cc
Bug 1143987: Use SharedDecoderManager with EME PDM. r=cpearce
...
--HG--
extra : rebase_source : cf3c5fff87bdca3b55d10e41d5b4f44678253c72
2015-03-18 14:10:59 +11:00
Jean-Yves Avenard
c9bc9c96bd
Bug 1128332: Part3. Re-attempt to decode from last failed position. r=mattwoodrow
...
--HG--
extra : rebase_source : e583e0255e21c32f5d35a97d17f4dec92e2ba10c
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
44a39a5316
Bug 1128332: Part2. Don't consider decoding error as fatal. r=mattwoodrow
...
A decoding error may be temporary. In particular should the range removal
algorithm be called while attempting to demux frames about to be evicted.
--HG--
extra : rebase_source : 0bc4f1a3a2eb389c6f4735614a1d4fdf0c850f49
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
9b95bf6cfe
Bug 1128332: Part1. Add useful informations to logging. r=mattwoodrow
...
--HG--
extra : rebase_source : ace658fb62ed051b63852c7f991c0a603e83d9c3
2015-03-18 14:10:58 +11:00
Jean-Yves Avenard
0e069551e7
Bug 1143586: Part1. Be more relaxed when parsing h264 codecs' levels. r=cpearce
...
--HG--
extra : rebase_source : f1dd779a298894ae81cbae62d96396a2c41dc0db
2015-03-18 14:10:57 +11:00
Jean-Yves Avenard
77358caae1
Bug 1143514: Update mochitest. r=cajbir
...
sourcebuffer is added to ms.activeSourceBuffers only once the first init
segment has been appended.
--HG--
extra : rebase_source : fe1bfedce8aa377914be6ea99579e3267da760d5
2015-03-18 14:10:57 +11:00
Jean-Yves Avenard
2bc6b14368
Bug 1143514: Part1. Only add sourcebuffer to ActiveSourceBuffers once active. r=cajbir
...
--HG--
extra : rebase_source : 766249adc3b7a3cbb4aa63c24aaefbe855c121fd
2015-03-18 14:10:56 +11:00