Commit Graph

1421 Commits

Author SHA1 Message Date
JW Wang
73a373e963 Bug 1116006 - add debugging logs. r=cpearce 2014-12-28 22:33:00 +01:00
Benjamin Chen
935a404340 Bug 1094678 - MediaCodecReader::CreateTaskQueues() runs at main thread. r=cpearce, r=brsun 2014-12-23 14:31:30 +08:00
Carsten "Tomcat" Book
7acda539a7 Backed out changeset d1f3c8d40cdf (bug 1116355) for breaking w-4 tests on a CLOSED TREE 2014-12-30 09:46:51 +01:00
Bobby Holley
def3e6cbb3 Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt 2014-12-29 23:20:03 -08:00
Bobby Holley
81fc7d1d4b Bug 1114840 - Don't start playback during prerolling. r=cpearce 2014-12-29 23:16:48 -08:00
Bobby Holley
c3291e8b61 Bug 1114840 - Dynamically compute preroll thresholds. r=cpearce
Currently, the preroll threshold ends up higher than the ample threshold in the
audio-only case where we slash the audio thresholds by a factor of 8. The best
way to avoid these sorts of bugs is to compute the values dynamically.
2014-12-29 23:16:48 -08:00
Bobby Holley
01990f4d69 Bug 1114840 - Hoist arms-length conditions and rename StartPlayback() to MaybeStartPlayback(). r=cpearce 2014-12-29 23:16:48 -08:00
Bobby Holley
1eefb9ac1f Bug 1114840 - Use StartDecoding() rather than SetState in PlayInternal. r=cpearce
This makes sure that decode tasks are dispatched and that all the preroll state
is appropriately set up.
2014-12-29 23:16:48 -08:00
Bobby Holley
680cba307f Bug 1114840 - Make MediaDecoderStateMachine::Play run on the state machine thread. r=cpearce
We want to invoke StartDecoding() from Play, but that calls into a bunch of stuff
that asserts that we're on the state machine thread. It's not clear to me whether
that's actually necessary, but this seems like the right thing to do regardless
given that this is all supposed to be async anyway.
2014-12-29 23:16:48 -08:00
Jean-Yves Avenard
b1596dcc70 Bug 1115594: Fix indentation in AppleVDADecoder. r=rillian
--HG--
extra : rebase_source : 6f12f00194507d9000f11d48df8350eed968c30d
2014-12-30 12:06:22 +11:00
Bobby Holley
fe6a11e4f9 Bug 1115749 - Hold the demuxer lock while accessing metadata. r=rillian
We're invoking a number of methods on mDemuxer here.
2014-12-29 16:10:16 -08:00
Bobby Holley
47687b23ea Bug 1115749 - Hold the demuxer monitor in MP4Reader::Seek. r=rillian
This method invokes Seek* on mDemuxer.
2014-12-29 16:10:16 -08:00
Bobby Holley
e6e1fb5905 Bug 1115749 - Rename mIndexMonitor to mDemuxerMonitor. r=rillian 2014-12-29 16:10:16 -08:00
Karl Tomlinson
98e1dfd45e bug 975782 bring media resource loads out of background while they delay the load event r=cpearce
This will happen after a stalled load doesn't delay the load event but such a
load then delays the load event again when it receives progress.

--HG--
extra : rebase_source : a04dd7416f86306cfc62aabba20fb30415572d98
2014-12-23 14:16:05 +13:00
Ryan VanderMeulen
3d3603fd0c Bug 1091965 - Skip test_mixingRules.html on Android 2.3 due to high intermittent failure rate. 2014-12-26 12:22:56 -05:00
Ryan VanderMeulen
beb4598a7f Bug 1115148 - Skip test_WaitingOnMissingData.html on Android 2.3 due to high intermittent failure rate. 2014-12-26 12:18:34 -05:00
JW Wang
7079de5df9 Bug 1110922 - Add logs to debug test_played.html timeouts. r=cpearce 2014-12-22 23:12:00 -05:00
Jean-Yves Avenard
a3c28798a1 Bug 1111319: Reorder video frames with respect to decoding sliding window. r=rillian 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
cb16fdaa24 Bug 1111328: Retrieve video dimensions from H264 SPS when possible. r=rillian 2014-12-24 23:11:35 +11:00
Blake
bc4de955f9 Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir 2014-12-23 10:20:25 +08:00
Ryan VanderMeulen
539cbb2493 Merge inbound to m-c. a=merge 2014-12-23 13:17:16 -05:00
Carsten "Tomcat" Book
bf58b7f6ca Backed out changeset aef3ce3b89b9 (bug 1073003) 2014-12-23 13:35:05 +01:00
Carsten "Tomcat" Book
86c35b85c1 Backed out changeset 3d81c5b78567 (bug 1073003) 2014-12-23 13:35:04 +01:00
Carsten "Tomcat" Book
2ab649cfb7 Backed out changeset ad0bb596da2c (bug 1073003) 2014-12-23 13:35:02 +01:00
Carsten "Tomcat" Book
42f8b57b0a Backed out changeset 4902a8efe178 (bug 1073003) 2014-12-23 13:34:57 +01:00
Bobby Holley
51e382d00c Bug 1114830 - Only enter buffering mode when the pending request is waiting for data. r=cpearce a=philor 2014-12-22 20:54:01 -08:00
Ryan VanderMeulen
93534bdf01 Merge inbound to m-c. a=merge 2014-12-22 17:55:32 -05:00
Jean-Yves Avenard
1b4e25aac8 Bug 1114802: MP4: Hold demuxer monitor while resetting. r=kentuckyfriedtakahe 2014-12-23 13:39:35 +11:00
JW Wang
7d14ddd10c Bug 1080685 - add logs to debug vp9cake.webm timeout in test_playback.html. r=cpearce 2014-12-22 19:43:00 +01:00
Chris Pearce
03dbaa0232 Bug 1101308 - Remove code to zero stack after GMP device binding as it's causing crashes. r=edwin 2014-12-22 19:59:00 +01:00
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