Commit Graph

1503 Commits

Author SHA1 Message Date
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