Commit Graph

1605 Commits

Author SHA1 Message Date
Alastor Wu
b357dcd13a Bug 1105913 - [b2g] video can't playback after waking up from the dormant state, part 2 : revert changeset. r=roc. 2014-12-23 15:03:15 +08:00
Alastor Wu
35e5ba65a8 Bug 1105913 - [b2g] video can't playback after waking up from the dormant state, part 1 : avoid blocking. r=roc. 2014-12-23 15:04:20 +08:00
Botond Ballo
3beceb6904 Bug 1073003 - Remove a spurious line added to a moz.build file. r=glandium
--HG--
extra : rebase_source : 71549941e6b83322803519a0f5c9526e0ad56561
2014-12-23 01:16:36 -05:00
Botond Ballo
1356b6d4a6 Bug 1073003 - More Werror bustage fixes on a CLOSED TREE. r=bustage
--HG--
extra : rebase_source : 86466eea48ddfc7b5698d97ca574ed6cdf79326e
extra : amend_source : 9eb590b24276a068bbb078152509b3c743bb40f8
2014-12-23 00:03:15 -05:00
Jean-Yves Avenard
38d4caccab Bug 1105771: Allow playback of avc3 streams. r=cpearce 2014-12-23 14:42:55 +11:00
Jean-Yves Avenard
d7f0a4602f Bug 1113403: Make MP4Sample destructor virtual. r=kinetik 2014-12-23 14:40:29 +11:00
Jean-Yves Avenard
514510a632 Bug 1113045: Make AppleVT/VDA/AT/Decoder's destructors virtual. r=rillian
These decoders are accessed through a base class.
Additionally, the style guide dictates that we're supposed to add "virtual" keyword even when it's unnecessary, for documentation purposes.
2014-12-23 14:39:22 +11:00
Jean-Yves Avenard
b2f2b09c22 Bug 1110534: Use ref counted pointers to hold references in mac decoder. r=rillian 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
9cdf6937a4 Bug 1110534: Use AVCC wrapper for EME. Adds AnnexB and AVC3 support. r=cpearce 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
73cd5036a3 Bug 1110534: Use AVCC wrapper for mac decoder. Adds AnnexB and AVC3 support. r=cpearce 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
43dc514afc Bug 1110534: Create AVCC converter wrapper class. r=cpearce
This class easily allows an AVCC-only decoder (H264EME and Apple VDA/VideoToolbox) to support
AnnexB and AVC3 content.
This is done by lazily creating the decoder only once we have detected SPS/PPS in the data
stream, and converting all input to AVCC format.
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
c7723f6179 Bug 1110534: Make PlatformDecoderModule ref counted. r=edwin 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
037499d91e Bug 1110534: Add AnnexB support to FFmpeg h264 decoder. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
7341bcdb6e Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
8f57ec0db8 Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Botond Ballo
ac92460241 Bug 1073003 - Additional Werror bustage fixes in newly added webrtc code. r=bustage
--HG--
extra : rebase_source : bdf0d3d341a42608366912243c1e1cc9fd398b0c
2014-12-22 22:23:51 -05:00
Chris Pearce
387ccf2fbe Bug 1114825 - Bustage fix. r=bustage. 2014-12-23 16:10:39 +13:00
Botond Ballo
862614909b Bug 1073003 - Disable -Wattribute warnings in media/webrtc. r=bustage
--HG--
extra : rebase_source : a24a01f05596be3bc6a67e0b238eb3d599cd5eda
2014-12-22 21:45:18 -05:00
Chris Pearce
8a385751f6 Bug 1114825 - Don't try to deref an empty std::vector in gmp-clearkey. r=edwin 2014-12-23 15:23:14 +13:00
Ryan VanderMeulen
63ee28d4b7 Merge inbound to m-c. a=merge 2014-12-22 18:01:06 -05:00
Chris Pearce
c4e3f4a357 Bug 1113477 - Fix logging in GMPParent that incorrectly labels sending nodeId and startPlugin as failed when it actually succeeded. r=edwin 2014-12-23 11:21:54 +13:00
Ehsan Akhgari
c2194dba73 Bug 1114348 - Use mozilla::IsNaN() in Web Audio code; r=padenot
--HG--
extra : rebase_source : 0acc0643ed6a8800d02557f6e84312955e34a59e
2014-12-22 08:54:55 -05:00
Sotaro Ikeda
e636229ac6 Bug 1113769 - Handle out of gralloc in MediaEngineGonkVideoSource::RotateImage() r=jesup 2014-12-22 07:05:19 -08:00
Carsten "Tomcat" Book
71dd629331 Merge mozilla-central to b2g-inbound 2014-12-22 14:04:32 +01:00
Bobby Holley
f01bb671ea Bug 1109437 - Only switch to buffering mode when the reader is waiting for data. r=cpearce 2014-12-22 00:20:31 -08:00
Bobby Holley
49601684ad Bug 1109437 - Implement non-polling buffering. r=cpearce 2014-12-22 00:20:31 -08:00
Bobby Holley
05e1250b67 Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
This is necessary to get the state machine moving after it's initialized.
MediaDecoder::Load does this, but it looks like we missed this in the override.
So the current code relies on the ScheduleStateMachine call at the end of
TrackBuffer::AppendData to get things rolling. We're going to be removing that
call, so we need to fix this.
2014-12-22 00:20:31 -08:00
Bobby Holley
17a26db299 Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce 2014-12-22 00:20:31 -08:00
Bobby Holley
663679c83b Bug 1109437 - Stop using buffering heuristics when they're not requested. r=cpearce
Given that we set the buffering wait to 0 in this case already, the only practical
impact on our behavior of this change is that we'll no longer ping-pong between
states.
2014-12-22 00:20:30 -08:00
Bobby Holley
05224076bc Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce 2014-12-22 00:20:30 -08:00
Bobby Holley
ffd128ab61 Bug 1109437 - Remove MOZ_COUNT_{C,D}TOR on refcounted promise classes. r=cpearce
These were accidental and redundant, because refcounted classes get this behavior
automatically. And this is very lucky, because it turns out that our MOZ_COUNT_*
infrastructure can't handle varying-sized instances identified with the same
string, which is exactly what we can get with these templated types.

The only remaining use of these macros is on the non-templated ThenValueBase,
which is happily not variable-sized. \o/
2014-12-22 00:20:30 -08:00
Boris Chiou
ea4203738e Bug 1098970 - Part 6: Fix the usage of GonkNativeWindow in Omx. r=sotaro
Use new APIs for GonkNativeWindowLL.
2014-12-17 22:31:00 +01:00
Ryan VanderMeulen
facb39a4e0 Backed out 7 changesets (bug 1109437) for suspicious-looking crashes on a CLOSED TREE.
Backed out changeset dc45e97d102d (bug 1109437)
Backed out changeset e6350e4fb18b (bug 1109437)
Backed out changeset 4c38dda06880 (bug 1109437)
Backed out changeset 72f171ec04ba (bug 1109437)
Backed out changeset ec275f65c676 (bug 1109437)
Backed out changeset 65d172e7a1cf (bug 1109437)
Backed out changeset 0b8a156dcff0 (bug 1109437)
2014-12-19 17:02:27 -05:00
Nils Ohlmeier [:drno]
f41e9e1786 Bug 1016476: more bundle tests r=bwc 2014-12-17 11:55:00 -08:00
Benjamin Chen
d676e9ef65 Bug 1091992 - fix the flag skipToNextKeyFrame in DecodeVideo can't be raised if the video is slower than audio. r=cpearce, r=jwwang 2014-12-22 11:32:31 +08:00
Bobby Holley
6a0b2751fe Bug 1092025 - Hold the lock for the entire duration of MediaSourceReader::ReadMetaData. r=karlt 2014-12-21 23:14:59 -08:00
Bobby Holley
3a7dd07a3d Bug 1114383 - Unlock the demuxer monitor before calling out via MP4Stream. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley
6d0ec2b9a3 Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e 2014-12-21 22:04:36 -08:00
Bobby Holley
01bbb5b92f Bug 1114383 - Acquire the index monitor in MP4Reader::PopSample. r=k17e 2014-12-21 22:04:36 -08:00
Byron Campen [:bwc]
404d84f2d4 Bug 1016476 - Part 2: Test work. r=drno 2014-11-25 17:36:16 -08:00
Bobby Holley
d3178b735c Bug 1109437 - Only switch to buffering mode when the reader is waiting for data. r=cpearce 2014-12-19 11:39:15 -08:00
Bobby Holley
6b50bfd173 Bug 1109437 - Implement non-polling buffering. r=cpearce 2014-12-19 11:39:15 -08:00
Bobby Holley
1170137ae6 Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
This is necessary to get the state machine moving after it's initialized.
MediaDecoder::Load does this, but it looks like we missed this in the override.
So the current code relies on the ScheduleStateMachine call at the end of
TrackBuffer::AppendData to get things rolling. We're going to be removing that
call, so we need to fix this.
2014-12-19 11:39:15 -08:00
Bobby Holley
cb28e17a47 Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce 2014-12-19 11:39:15 -08:00
Bobby Holley
8a61e238be Bug 1109437 - Stop using buffering heuristics when they're not requested. r=cpearce
Given that we set the buffering wait to 0 in this case already, the only practical
impact on our behavior of this change is that we'll no longer ping-pong between
states.
2014-12-19 11:39:15 -08:00
Bobby Holley
afa50587e3 Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce 2014-12-19 11:39:14 -08:00
Bobby Holley
7d0e766c1e Bug 1109437 - Remove MOZ_COUNT_{C,D}TOR on refcounted promise classes. r=cpearce
These were accidental and redundant, because refcounted classes get this behavior
automatically. And this is very lucky, because it turns out that our MOZ_COUNT_*
infrastructure can't handle varying-sized instances identified with the same
string, which is exactly what we can get with these templated types.

The only remaining use of these macros is on the non-templated ThenValueBase,
which is happily not variable-sized. \o/
2014-12-19 11:39:14 -08:00
Daniel Holbert
3229ae5426 Bug 1105065: Remove an #ifdef, to fix a -Wunused-private-field build warning in GMPLoader.cpp for builds with --disable-sandbox. r=cpearce 2014-12-19 10:12:23 -08:00
Ehsan Akhgari
1813ae2d33 Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel,cpearce
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp.  Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles.  The first hunk in that file though
is a real bug that this analysis found.
2014-12-18 15:27:05 -05:00
Ryan VanderMeulen
c54bf72326 Backed out changesets 6bd00fa70b00, 4e2f8f3b8f6b, and c89fec9c8b55 (bug 879717) for introducting multiple new intermittent failures.
--HG--
extra : rebase_source : 4aad9383081f256484dd06e87f14cc82ecf186b5
2014-12-19 12:07:20 -05:00
Andreas Pehrson
099c1c9b78 Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata event. r=roc 2014-12-19 01:25:00 +01:00
Andreas Pehrson
a670bb9fa6 Bug 879717 - Part 2 - Test that drawing a video element to canvas never throws. r=roc 2014-11-26 18:30:00 +01:00
Andreas Pehrson
d92e123dc4 Bug 879717 - Part 1 - Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=roc 2014-11-26 18:29:00 +01:00
JW Wang
c1b3e5deb9 Bug 1108960 - notify all steams for the resource ID when any stream get closed/suspended/resumed. r=roc. 2014-12-18 23:48:00 +01:00
Bobby Holley
6de0fd24fb Bug 1113282 - Check during async TrackBuffer decoder initialization to make sure we haven't been shut down. r=cajbir 2014-12-18 13:59:00 +01:00
Nils Ohlmeier [:drno]
442ee5b598 Bug 1112967 - consolidate all 50 calls to requestFlkayTimeout in WebRTC tests into one. r=bwc 2014-12-17 19:09:00 +01:00
Carsten "Tomcat" Book
eacfeed59f Backed out changeset 4757a1d4a23e (bug 1113282) for e10s M1 test failures 2014-12-19 09:00:07 +01:00
Bobby Holley
a6dc11c7e3 Bug 1113282 - Check during async TrackBuffer decoder initialization to make sure we haven't been shut down. r=cajbir 2014-12-18 22:26:52 -08:00
Andreas Pehrson
0b6566fff1 Bug 1111831 - Play the video element in test_multiple_mediastreamtracks.html to ensure metadata gets loaded. r=roc 2014-12-15 14:45:00 -05:00
Ryan VanderMeulen
3d7d4af71d Backed out changesets acb4dd16755c and 40768f723990 (bug 867348) for static analysis bustage.
CLOSED TREE
2014-12-18 15:59:51 -05:00
Chris Pearce
a23d2bdf73 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-19 09:54:34 +13:00
Ehsan Akhgari
2e80a88820 Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp.  Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles.  The first hunk in that file though
is a real bug that this analysis found.

--HG--
extra : rebase_source : b44bb6d90d95551d860e0b5a1afcf2bb35cde084
2014-12-18 15:27:05 -05:00
Alfredo Yang
833002460c Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
Alfredo Yang
01779d04ac Bug 938034 - Add GonkCameraImage format. r=roc 2014-12-17 23:42:00 -05:00
Carsten "Tomcat" Book
ae839974ba Merge mozilla-central to mozilla-inbound 2014-12-18 13:54:52 +01:00
Carsten "Tomcat" Book
4755deb0c5 merge mozilla-inbound to mozilla-central a=merge 2014-12-18 13:50:27 +01:00
Jonathan Hao
4871501fd9 Bug 1111518 - Fix the logic in MediaDecoder::CanPlayThrough(). r=jwwang 2014-12-17 15:05:40 +08:00
Ryan VanderMeulen
7acf8539fb Backed out changesets 70428bb355a4 and a0ba2f134695 (bug 1109457) for EME failures and crashes on OSX 10.6. 2014-12-18 00:22:19 -05:00
Andrew Osmond
30195c7bb8 Bug 1104913 - Update WebRTC to handle additional camera hardware states. r=jesup 2014-12-13 12:22:11 -08:00
Ryan VanderMeulen
90f31ccf52 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Brad Lassey
cba2180972 bug 1112345 - Tab streaming should scroll stream with layers and not offsets r=snorp 2014-12-16 17:43:23 -05:00
Ryan VanderMeulen
37928576f6 Bug 1059116 - Disable test_seek-1.html on Android 2.3.
--HG--
extra : rebase_source : 4ff233bdc1145389d0de996478aabbc5472794ac
2014-12-17 13:39:12 -05:00
Carsten "Tomcat" Book
b8d80b14af Backed out changeset 0661a1b7ec14 (bug 1109644) for M-3 Test failures 2014-12-17 14:50:00 +01:00
Robert O'Callahan
ab57603bf9 Bug 1109644. Track data-produced-so-far in the MediaEngineSources themselves, so if we push data into the MediaStream for any reason we can account for it. r=jesup 2014-12-17 06:53:17 -05:00
Chris Pearce
65cccb08b1 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-18 16:16:13 +13:00
Chris Peterson
249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
JW Wang
9a707fcf22 Bug 1082203 - Route CDMCallbackProxy::Terminated to MediaKeys::Terminated so MediaKeys has a chance to handle CDM crashes and close sessions if necessary. r=cpearce 2014-12-16 20:01:00 -05:00
Ryan VanderMeulen
cb95b51b81 Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen
bf0212ce4f Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
CLOSED TREE
2014-12-17 20:57:12 -05:00
Chris Pearce
ddd4b18d14 Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin 2014-12-18 13:23:27 +13:00
Matt Woodrow
675718e2ea Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow
5bb2a0b324 Bug 1112444 - Add a pref to force each appended MSE segment to be in its own decoder. r=ajones 2014-12-18 12:39:34 +13:00
Matt Woodrow
38354269a6 Bug 1111966 - Fix reporting of parsed and decoded frames for MP4Reader. r=cpearce 2014-12-17 11:31:17 +13:00
Matt Woodrow
646b842413 Bug 1111413 - Part 2: Remove RequestSampleCallback. r=bholley 2014-12-16 23:08:42 +13:00
Matt Woodrow
2c7e571767 Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley 2014-12-16 22:52:57 +13:00
Ryan VanderMeulen
5be405b39f Merge m-c to inbound. a=merge
--HG--
rename : xpcom/tests/TestExpirationTracker.cpp => xpcom/glue/tests/gtest/TestExpirationTracker.cpp
2014-12-16 16:05:26 -05:00
Ryan VanderMeulen
db866399a5 Merge b2g-inbound to m-c. a=merge 2014-12-16 16:03:17 -05:00
Sotaro Ikeda
1247620b1d Bug 1043558 - Use gralloc for WebRTC camera preview r=jesup,nical 2014-12-16 07:11:48 -08:00
Alfredo Yang
b140d759be Bug 1105209 - Add media resource request API. r=kentuckyfriedtakahe 2014-12-15 22:25:00 -05:00
Carsten "Tomcat" Book
8c8eab8d31 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
JW Wang
5205c31de0 Bug 1111508 - cache GMP thread so we can access it after mPlugin is reset by GMPDecryptorParent. r=cpearce 2014-12-15 19:32:00 +01:00
Anthony Jones
f0ea196039 Bug 1110608 - Unit test for MP4 demuxer with CENC; r=edwin 2014-12-16 18:10:46 +13:00
Brad Lassey
a6571098ba bug 1088758 - Add the ability to mirror tabs from desktop to a second screen, restrict privledged GuM based on calling compartment rather than passed window's document r=rjesup 2014-12-10 09:06:02 -08:00
James Willcox
a0fe18b713 Bug 1097116 - Remove accidental debug spew r=me
--HG--
extra : rebase_source : 3d9e519901326a54cfe0867cda2f0c57c697c261
2014-12-09 08:58:55 -06:00
Anthony Jones
02faa200e5 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
92e8ac3174 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-16 18:10:45 +13:00
Wes Kocher
222bbef079 Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE 2014-12-15 14:16:59 -08:00
Wes Kocher
129894fc0d Backed out changeset 4dabf09c2e19 (bug 938034) for non-unified bustage on a CLOSED TREE 2014-12-15 14:16:45 -08:00
Paul Adenot
1497d8eae0 Bug 1108455 - r=jesup 2014-12-09 11:37:01 +01:00
Jan-Ivar Bruaroey
4f6ab2df19 Bug 1106675 - Replace _queueOrRun with a promise-chain. r=mt 2014-12-04 11:12:19 -08:00
Ryan VanderMeulen
e9df582545 Backed out changeset 938abddb1a2d (bug 1080995) for Linux mochitest failures. 2014-12-16 11:41:36 -05:00
Ralph Giles
206a008179 Bug 1080995 - Filter out h264parse gstreamer element. r=edwin
This avoids the crash but also blocks video decoding in general, at least with the fluendo decoder. The audio track still plays on valid videos.

We limit the blacklist by version.

Gstreamer 1.0 api calls are untested.
2014-12-16 10:45:48 -05:00
Carsten "Tomcat" Book
6822668b05 Backed out changeset 732d6e4e6bed (bug 1098126) 2014-12-15 09:03:08 +01:00
Carsten "Tomcat" Book
0b38e775a5 Backed out changeset 7da16258c33b (bug 1098126) 2014-12-15 09:03:06 +01:00
Nigel Babu
afb9264894 Backed out changeset 03e5a89726be (bug 1110608) for non-unified build failure on CLOSED TREE 2014-12-15 12:40:46 +05:30
Anthony Jones
fd4da456a4 Bug 1110608 - Unit test for MP4 demuxer with CENC; r=edwin 2014-12-15 17:44:00 +13:00
Anthony Jones
e67eb4ca12 Bug 1098126 - MoofParser fixes and disable for EME; r=mattwoodrow 2014-12-05 14:01:44 -08:00
Anthony Jones
346dfff41b Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-15 17:43:59 +13:00
Chris Pearce
0606140495 Bug 1111387 - Nullcheck mTaskQueue in TrackBuffer::QueueInitializeDecoder, as we can shutdown in between dispatching and running the task that calls QueueInitializeDecoder. r=cajbir 2014-12-15 15:30:20 +13:00
Chris Pearce
077f7aef2f Bug 1111114 - Make EMEDecryptor clear its weak ref to its MediaDataDecoderCallback. r=kinetik 2014-12-15 09:16:31 +13:00
Botond Ballo
efb3b4172d Bug 1073081 - Fix -Woverloaded-virtual warnings in the MediaDecoder hierarchy. r=cpearce
--HG--
extra : source : 9aba1a2b1b23b0640867501b1b92f96fb6d0b13a
2014-12-10 13:48:56 -05:00
Botond Ballo
37fdfeaeec Bug 1073081 - Fix -Wmultichar warnings by disabling them. r=ehsan,ted
--HG--
extra : source : be2421d1f5774650bfef732bdf046bf638293a5b
2014-12-10 21:09:33 -05:00
Botond Ballo
449bab4daf Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan
--HG--
extra : source : 18294144de5ff84e3a88945f7222e6eb8bbfcb34
2014-12-10 18:20:10 -05:00
Botond Ballo
c06e38f0f8 Bug 1073081 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
2014-11-26 17:57:40 -05:00
Botond Ballo
870235958c Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
b68f6489dc Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
8bcf931152 Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Sotaro Ikeda
e32c11d714 Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce 2014-12-12 17:29:24 -08:00
Bobby Holley
f99391c4c3 Bug 1109216 - Chain MediaOmxReader::ReleaseDecoder off MediaDecoderReader::Shutdown resolution. r=cpearce 2014-12-12 14:22:29 -08:00
Bobby Holley
da72b3891c Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce 2014-12-12 14:22:23 -08:00
Benjamin Smedberg
9f21c59029 Bug 1110818 - Measure crash and breakpad rates for subprocesses (plugin/gmplugin/content), r=gfritzsche
--HG--
extra : rebase_source : d5817f37804323f59d46c9c22c13f0588f2512fc
2014-12-12 14:13:28 -05:00
Jan-Ivar Bruaroey
4760e3d471 Bug 1110478 - Remove obsolete peerConnectionImpl.connectDataConnection. r=smaug, r=jesup 2014-12-12 13:00:42 -05:00
Alastor Wu
50d890e0f7 Bug 1100803 - Re-create a decoded media stream if necessary. r=roc 2014-12-15 09:22:15 +08:00
Alastor Wu
bf3526619d Bug 1100803 - Avoid repeated deletion of media ports. r=roc 2014-12-11 10:53:00 +08:00
Alfredo Yang
f089a2fa04 Bug 938034 - Enable new gUM recording callback. r=roc 2014-12-15 01:01:00 -05:00
Alfredo Yang
c623645cee Bug 938034 - Add new GonkCameraImage image type. r=roc 2014-12-15 01:01:00 -05:00
Jan-Ivar Bruaroey
1267c35d6d Bug 1098314 - Ignore and warn on turns: and stuns: urls until we support TURN/STUN TLS. r=bwc 2014-11-17 22:18:49 -05:00
Andreas Pehrson
773f7b483b Bug 1109405 - Fix shutdown of MediaEngineWebRTC sources with multiple attached streams. r=jesup 2014-12-11 23:52:00 -05:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Shelly Lin
d7e949d038 Bug 1003695 - Support multiple audio tracks and video tracks in DOMMediaStream. r=roc,jib,smaug 2014-12-12 11:54:12 +08:00
Anthony Jones
08736c299f Bug 1110595 - Fix MSE playback stalling; r=mattwoodrow 2014-12-12 17:11:51 +13:00
Wes Kocher
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
Wes Kocher
ccea819af8 Merge b2g-inbound to m-c a=merge 2014-12-11 16:48:00 -08:00
Wes Kocher
821c1dde56 Backed out changeset 22484b7bbff3 (bug 1108728) for mochitest-11 bustage on a CLOSED TREE 2014-12-11 15:19:50 -08:00
Sotaro Ikeda
256fdbd326 Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce 2014-12-11 12:15:12 -08:00
Ryan VanderMeulen
efca71336b Backed out changeset 0460160af653 (bug 1039639) for B2G debug mochitest crashes. 2014-12-11 11:59:47 -05:00
Jonathan Hao
7523ecd024 Bug 1105201 - [RTSP] Can't play if tap pause/play continuously. r=bechen 2014-12-02 15:59:27 -08:00
Jim Porter
ca6add6d5f Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir 2014-12-02 16:37:00 -05:00
Bob Owen
d921ff4edf Bug 1103946 Part 1: Change --content-sandbox mach / mochitest option to --strict-content-sandbox. r=jmaher
Also, change tests that are skipped using (contentSandbox != off) to (strictContentSandbox).
2014-12-10 09:34:03 +00:00
Chris Pearce
e859dcdb44 Bug 1109389 - Don't share task queues with all EMEDecryptors the EME PDM creates. r=kinetik 2014-12-09 20:34:00 +01:00
Jean-Yves Avenard
3b9c59eb6d Bug 1107339 - Add support for MP4 with VP6F video track (FFmpeg only). r=k17e 2014-12-04 11:58:00 -08:00
Karl Tomlinson
a5bc939348 bug 1108846 notify MediaSourceDecoder of bytes downloaded to trigger progress events r=kinetik
--HG--
extra : rebase_source : d13f3a9c46cce745cffc86a179875f34e7a52428
2014-12-10 10:45:06 +13:00
Karl Tomlinson
d95ab8bc85 bug 1108838 dispatch "stalled" even when no bytes have been received r=cpearce
This is important for MediaSource, where there is no initial request to set up
the stall counter by sending an initial progress event.

For sources using ChannelMediaResource, this means that stalled can now fire
before an HTTP response is received.

Also reset stalled timer on transitions to NETWORK_LOADING,
and don't run the progress timer while stalled.

--HG--
extra : rebase_source : cf2cf8a4de37ca4859761941946393e9747c0706
2014-11-28 17:07:15 +13:00
Karl Tomlinson
d21db9fc16 bug 1108838 move stalled/progress timing from MediaDecoder to HTMLMediaElement r=cpearce
This provides that mNetworkState is available for determining whether progress
notification from the resource/MediaCache after stalled should resume progress
events.  The timer will be stopped while stalled in a subsequent patch, and
should not be restarted unless NETWORK_LOADING.

--HG--
extra : rebase_source : e335555de404f6a899762be3c05b8f5444c357e3
2014-11-28 12:17:18 +13:00
Karl Tomlinson
42023d1511 bug 1108787 use NowLoRes() for progress event timing r=cpearce
Precision is not required, and is more costly on some platforms.

--HG--
extra : rebase_source : de36a0d249a89e579a7433f40c89b339f7db5b49
2014-11-21 15:45:29 +13:00
Karl Tomlinson
4834bbd250 bug 1108787 dispatch progress even when timer runs late r=cpearce
avoiding skipping progress events when data is received only soon after the
previous progress event.

--HG--
extra : rebase_source : 5108ae7d91bac613ed67f85c0963c6ca020bee07
2014-11-21 17:37:44 +13:00
Bobby Holley
312651fc98 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce (relanding on a CLOSED TREE because it wasn't the source of the leaks) 2014-12-09 11:43:21 -08:00
Ryan VanderMeulen
073573c2a9 Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
CLOSED TREE
2014-12-09 15:49:38 -05:00
Chris Pearce
b392b7de2a Bug 1077159 - Use macros for GMP API names, to make them implicitly versionable. r=jesup 2014-12-10 09:35:26 +13:00
Bobby Holley
fc5e0383a6 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce 2014-12-09 11:43:21 -08:00
Paul Adenot
1a9942004c Bug 1065924 - Make sure we correctly update the variables tracking the number of samples written. r=jesup
--HG--
extra : rebase_source : 0f42c4a6d612a98f56edf93811cccca6d210795e
2014-12-09 14:11:32 +01:00
Byron Campen [:bwc]
9f12762413 Bug 1091242 - Part 7: Wiring the build system together. r=jesup, r=ted 2014-11-17 17:03:28 -08:00
Byron Campen [:bwc]
3af28ea884 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Byron Campen [:bwc]
0019770636 Bug 1091242 - Part 3: Mochitest work. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jib 2014-11-19 16:18:10 -08:00
Ehsan Akhgari
d60d0c93f5 Bug 1108687 - Fix the MOZ_STACK_CLASS annotation on DecodersToInitialize; r=jyavenard
The attribute syntax should appear after class.

--HG--
extra : rebase_source : 2793470bf5bcd8b701729906987ce9958016b4e7
2014-12-08 23:24:55 -05:00
Phil Ringnalda
5fe54ea0fd Backed out 10 changesets (bug 1091242) for Android/b2g non-unified build bustage
CLOSED TREE

Backed out changeset 7f72b55c5de7 (bug 1091242)
Backed out changeset f1501aa24397 (bug 1091242)
Backed out changeset 7fde5994aee5 (bug 1091242)
Backed out changeset 59b415714087 (bug 1091242)
Backed out changeset dadb65fedc08 (bug 1091242)
Backed out changeset 21be81424e4e (bug 1091242)
Backed out changeset 498fb1dafba5 (bug 1091242)
Backed out changeset 8d0653eb85ab (bug 1091242)
Backed out changeset c82d484e135a (bug 1091242)
Backed out changeset 3e0c8932f1b1 (bug 1091242)
2014-12-08 20:53:07 -08:00
Chris Peterson
e424225899 Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps 2014-12-04 01:11:14 -08:00
Chris Peterson
22d0c4b343 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Bobby Holley
9ef2bbc703 Bug 1108767 - Add the ability to chain same-type promises. r=cpearce 2014-12-08 17:19:05 -08:00
Bobby Holley
a143dac86d Bug 1108767 - Allow promises to be resolved without a MediaPromiseHolder. r=cpearce
It turns out that there are use-cases where this restriction is clunky.
2014-12-08 17:19:05 -08:00
Bobby Holley
dc54f0958e Bug 1108767 - Add MediaPromise::{Resolve,Reject}IfExists. r=cpearce 2014-12-08 17:19:05 -08:00
Bobby Holley
0f8a47ff4f Bug 1108767 - Stop including MediaTaskQueue.h from MediaPromise.h. r=cpearce
We need this so that MediaTaskQueue can use promises.
2014-12-08 17:19:05 -08:00
Bobby Holley
2a3ae3c23c Bug 1108767 - Separate ThenValueRunnable so that the constructors don't collide when the resolve value is the same as the reject value. r=cpearce 2014-12-08 17:19:05 -08:00
Wes Kocher
126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Bobby Holley
138a71a52a Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 14:45:37 -08:00
Bobby Holley
143aa4f9db Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-08 14:45:37 -08:00
Bobby Holley
8c9d29f7fe Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Byron Campen [:bwc]
c29c3be2eb Bug 1091242 - Part 7: Wiring the build system together. r=jesup, r=ted 2014-11-17 17:03:28 -08:00
Byron Campen [:bwc]
bb404e8254 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Byron Campen [:bwc]
711f732dd9 Bug 1091242 - Part 3: Mochitest work. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jib 2014-11-19 16:18:10 -08:00
Ryan VanderMeulen
529edd40b5 Merge inbound to m-c. a=merge 2014-12-08 15:46:14 -05:00
Ryan VanderMeulen
0aae88bf85 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
1a45088976 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley
881af4ca94 Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-08 11:34:50 -08:00
Bobby Holley
7aa1467674 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Jay Wang
56bf9455a1 Bug 1105452 - Need to use new Audio system APIs for audio offload playback. r=roc, r=jld, r=ggrisco
Resolve the build failure caused by API changes

There are some changes in Audio APIs in Android version
21. Modifying the code to use the new APIs.

Change-Id: I24fdeb20f8f957d05fb6c0c317de0a6f0769c347

Resolve seccomp violation caused by syscall 256

Modify the filter to allow syscall 256 (set_tid_address).

Change-Id: I49461770c4c5e70bf68462d34321381b0b7ead0a
2014-12-02 17:10:00 -05:00
Andreas Pehrson
27ed59b426 Bug 1106963 - Resync media stream clock before destroying decoded stream. r=roc 2014-12-04 19:29:00 +01:00
Jan-Ivar Bruaroey
afad2eeeee Bug 1053407 - return DOMError rather than string in peerConnection callbacks. r=bz, r=jesup 2014-11-26 15:26:37 -05:00
Bobby Holley
aa27b00ccd Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley
4867c99ce8 Backed out changeset 8dfbe042e946 (bug 1097823) 2014-12-07 17:09:11 -08:00
Bobby Holley
b55769853e Backed out changeset b56e5e762329 (bug 1097823) 2014-12-07 17:09:09 -08:00
Bobby Holley
8327697375 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley
60f876f46a Backed out changeset ab6ddc8ac28a (bug 1097823) 2014-12-07 17:09:06 -08:00
Bobby Holley
5864562a3f Backed out changeset 47c97b8b490c (bug 1097823) 2014-12-07 17:09:04 -08:00
Bobby Holley
d6b8543ed2 Backed out changeset 1ea671313ad3 (bug 1097823) 2014-12-07 17:09:03 -08:00
Bobby Holley
31f9bf9d0b Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley
da23a71bbe Bug 1097823 - Followup to remove the assertions cpearce asked for because they don't hold. rpending=cpearce 2014-12-07 15:41:46 -08:00
Bobby Holley
7b4b4838ca Bug 1097823 - Followup to avoid null-derefing when promises have already been rejected during shutdown. rpending=cpearce 2014-12-07 15:08:47 -08:00
Bobby Holley
3871f53bf6 Bug 1097823 - Followup fix to ensure that the borrowed task queue doesn't get destroyed before subdecoders shut down. rpending=cpearce 2014-12-07 13:25:11 -08:00
Bobby Holley
b5f3305d3c Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00
Bobby Holley
61900e1d2d Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley
ecd1b4cbb2 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
6318733591 Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-07 11:21:34 -08:00
Bobby Holley
14e9457ae3 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Ryan VanderMeulen
ba53ff1161 Backed out 5 changesets (bug 1098126) for Windows web-platform-test failures.
Backed out changeset 7cf7a6ea28c2 (bug 1098126)
Backed out changeset 21aab02fb41c (bug 1098126)
Backed out changeset 55dba2167b36 (bug 1098126)
Backed out changeset 73c2707c4f60 (bug 1098126)
Backed out changeset 4d6a52c5fb75 (bug 1098126)
2014-12-05 20:09:54 -05:00
Anthony Jones
4a402212d8 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-05 14:17:23 -08:00
Chris Pearce
179eab15d6 Bug 1049272 - Expose sandbox vouchers to GMPs. r=jesup 2014-12-05 00:43:41 -08:00
JW Wang
2846b24d9c Bug 1107545 - add off-main-thread tests for GMPStorage APIs. r=cpearce. 2014-12-04 21:34:00 +01:00
JW Wang
06779af85b Bug 1107545 - introduce a test manager to make storage tests scalable. r=cpearce. 2014-12-04 21:32:00 +01:00
Jan-Ivar Bruaroey
2bce7166b3 Bug 1091898 - restore exception-handling around legacy callbacks. r=mt 2014-12-08 09:37:14 -06:00
Jan-Ivar Bruaroey
118455dc22 Bug 1091898 - promise-chain test + converted non-harness-using tests to promises. r=drno 2014-12-08 10:28:52 -06:00
Jan-Ivar Bruaroey
2e35a02c83 Bug 1091898 - remove old non-spec exceptionhandling around callbacks. r=jesup, r=drno 2014-11-26 22:35:54 -05:00
Jan-Ivar Bruaroey
1a862d4145 Bug 1091898 - add RTCPeerConnection hybrid with promises. r=bz, r=mt 2014-12-08 09:36:18 -06:00
Jan-Ivar Bruaroey
a9af3c3a27 Bug 1091898 - pass in getWebIDLCallerPrincipal().origin to IdP to allow use of Promises. r=mt 2014-12-08 09:53:47 -06:00
Jan-Ivar Bruaroey
30a709ff3c Bug 1091898 - remove webrtc-specific testing of webidl exceptions. r=jesup, r=drno 2014-12-08 09:50:35 -06:00
Jan-Ivar Bruaroey
275a55cc97 Bug 1091898 - add Error names to PeerConnection errors rather than empty string. r=jesup 2014-12-08 09:35:32 -06:00
Edwin Flores
5c4fa9cdc7 Bug 1109540 - Improve GStreamerReader duration handling. r=k17e 2014-12-22 09:43:23 -05:00
Jean-Yves Avenard
5fce4dd1c9 Bug 1107264 - Enable the use of FFmpeg on mac. r=k17e 2014-12-03 14:41:49 -08:00
Paul Adenot
e3aea8a8ea Bug 1092831 - AnalyserNode should have channelCountMode set to "max" by default. r=ehsan
Spec change: https://github.com/WebAudio/web-audio-api/issues/450

--HG--
extra : rebase_source : f8e71f73e45f31e31c745e29e4b694778d7db445
2014-12-04 11:22:51 -08:00
Paul Adenot
ff43667e52 Bug 1100349 - Tests for the StereoPannerNode. r=ehsan
--HG--
extra : rebase_source : 4944c4626f5e6ab40a95be8bc02b4389572077a7
2014-11-19 18:16:07 +01:00
Paul Adenot
538c6b59c6 Bug 1100349 - Implement StereoPannerNode. r=ehsan,smaug
--HG--
extra : rebase_source : c0d3df3c4ea01001c0800997edbdf441c7287fb8
2014-11-19 18:15:13 +01:00
Matt Woodrow
7e527a7d82 Bug 1107274 - Don't return EOS from MP4Reader until all frames have been output. r=cpearce 2014-12-04 11:51:30 -08:00
Chris Pearce
d928f41d37 Bug 1104970 - Store GMPStorage record names at the start of each record. r=jesup 2014-12-03 13:36:00 +01:00
Chris Pearce
b42661434f Bug 1104970 - Handle GMPStorage write failure in gtest. r=edwin 2014-12-03 13:34:00 +01:00
Mike Habicher
2c017fb242 Bug 1103400 - add autofocus support to WebRTC on Gonk, r=aosmond,jesup 2014-12-03 17:08:00 +01:00
Matthew Gregan
b341a046f7 Bug 1106657 - Move MOZ_PDM_VPX definition to moz.build. r=bholley 2014-12-02 14:00:45 +13:00
Andreas Pehrson
fd315ba8ff Bug 1106547 - Return EOS after drain is complete, rather than before. r=cpearce 2014-12-01 22:10:00 +01:00
Andreas Pehrson
b65d1620f8 Bug 1105126 - Change test_eme_stream_capture_blocked.html to check loadeddata instead of canplay. r=cpearce 2014-12-01 19:24:00 +01:00
Bobby Holley
dba2651569 Bug 1104964 - Make MediaDecoderReader own the task queue. r=cpearce 2014-12-01 21:51:03 -08:00
Bobby Holley
e693d3e685 Bug 1104964 - Rename the task queue for hardware video decoding to something more obvious. r=cpearce
Otherwise it will shadow the mTaskQueue that we're about to introduce on
MediaDecoderReader.
2014-12-01 21:51:02 -08:00
Bobby Holley
38d5cddf88 Bug 1104964 - Split shutdown initiatation and queue-drain-waiting into separate pieces. r=cpearce
This patch shouldn't change any behavior. The upcoming patch takes advantage of
these separate pieces.
2014-12-01 21:51:02 -08:00
Bobby Holley
79860bf9ab Bug 1104964 - Make sure that MediaDecoderReader::Shutdown is always called. r=cpearce 2014-12-01 21:51:02 -08:00
Bobby Holley
bd6a57b08d Bug 1104964 - Handle ShutdownPoolsEvent race. r=cpearce 2014-12-01 21:51:02 -08:00
Matthew Gregan
0e219a07c0 Bug 1104410 - Add a test.
--HG--
extra : rebase_source : 5350acb0503b650ba322cebe14d39e1df5778e51
2014-12-02 11:59:45 +13:00
JW Wang
a62d6f881c Bug 1102607 - make GMPStorage APIs callable off the main thread. r=cpearce. 2014-11-28 00:34:00 +01:00
awake
58280aba48 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00
Ralph Giles
879c02cca2 Bug 1065111 - Remove more obsolete AppleUtils includes. r=jya 2014-11-27 15:23:00 -08:00
Ralph Giles
e9517830eb Bug 1065111 - Move logging function AppleDecoderModule. r=jya
This allows us to remove the AppleUtils.cpp source file entirely.
2014-11-27 13:23:00 -08:00
Ralph Giles
3652364aeb Bug 1065111 - Remove obsolete logging macros. r=jya 2014-11-27 13:21:00 -08:00
Ralph Giles
9ec93827d5 Bug 1065111 - Remove obsolete SetCFDict helpers. r=jya
We use CFDictionaryCreate with array literals for the keys and values
now instead.
2014-11-27 13:20:00 -08:00
Paul Adenot
5a1d2a6385 Bug 1087944 - Test for the promise returned by OfflineAudioContext.startRendering(). r=ehsan
--HG--
extra : rebase_source : 134c1bb8684be1cefe9bd75efc9868eaf42a674e
2014-11-19 18:18:24 +01:00
Paul Adenot
55bfef5f81 Bug 1087944 - Implement the promise version of OfflineAudioContext. r=ehsan,smaug
--HG--
extra : rebase_source : b5546f150ae8b2307e82dc8c6aae5bfbd5b5e670
2014-11-19 11:38:39 +01:00
Phil Ringnalda
ed3d451991 Merge b-i to m-c, a=merge 2014-11-28 15:08:30 -08:00
Blake
e705b029da Bug 1104411- Continue to read next frame if the length is 0. r=sotaro 2014-11-26 10:59:17 +08:00
Matt Woodrow
995f7c4289 Bug 1102647 - Always call Shutdown when removing decoders from TrackBuffer. r=karlt 2014-11-28 13:20:09 +13:00
Matt Woodrow
c08b56480c Bug 1105553 - Handle 'CANCELLED' NotDecodedReason in MediaSourceReader. r=ajones 2014-11-28 13:17:32 +13:00
JW Wang
6bcdf3a3ad Bug 886188 - add debuggins logs to diagnose test15 timeouts in test_preload_actions.html. r=cpearce 2014-11-24 19:46:00 +01:00
Ryan VanderMeulen
9e581b1d56 Merge m-c to inbound. a=merge 2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
792273e467 Merge inbound to m-c. a=merge 2014-11-26 20:34:29 -05:00
Mike Habicher
34426c6b7a Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05:00
Chris Double
4dbe18e896 Bug 1104410 - Check mVideoDecoder before usage to prevent nullptr crash - r=kinetik 2014-11-25 17:19:10 +13:00
Matthew Gregan
412d460280 Bug 1104357 - Ensure MediaDecoderReader is shutdown on all exit paths from MediaDecodeTask::Decode. r=cpearce
Also adds an assertion to MediaDecoderReader::Shutdown to ensure it is called from the appropriate thread.
2014-11-25 14:09:19 +13:00
Trevor Saunders
1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Ryan VanderMeulen
63636768a1 Backed out changeset 6dad5fe1d22b (bug 1087944) for Linux64 mochitest-e10s orange. 2014-11-26 17:40:52 -05:00
Ryan VanderMeulen
e20a2085ce Backed out changeset e82170d665d8 (bug 1087944) 2014-11-26 17:40:42 -05:00
Paul Adenot
d4eb8e50b2 Bug 1087944 - Test for the promise returned by OfflineAudioContext.startRendering(). r=ehsan
--HG--
extra : rebase_source : 351f66c2cd7f2c269d7f2c05214d0f291488cf23
2014-11-19 18:18:24 +01:00
Paul Adenot
1215625738 Bug 1087944 - Implement the promise version of OfflineAudioContext. r=ehsan,smaug
--HG--
extra : rebase_source : 1ede286a68f592038320ed5b82051bb9dd3cc0db
2014-11-19 11:38:39 +01:00
James Willcox
2af9674001 Bug 1097116 - Disable Android MediaCodec on PowerVR devices r=cpearce
--HG--
extra : rebase_source : 8c852f321f5755f4af702011f6cf72ba9c605104
2014-11-26 15:16:08 -06:00
James Willcox
fe1117609c Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
--HG--
extra : rebase_source : d3165eb2d9534f82c84e3399e744e0c31b64c2dd
2014-11-26 15:16:07 -06:00