Commit Graph

1427 Commits

Author SHA1 Message Date
Robert O'Callahan
720b09430e Bug 1109644. Part 3: Make MediaEngineDefaultVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG--
extra : rebase_source : d2285dad46e5b089b49e5ddce12564d5518c45a3
2014-12-30 14:54:02 +13:00
Robert O'Callahan
88cf3c7e13 Bug 1109644. Part 2: Make MediaEngineWebRTCVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG--
extra : rebase_source : a1b716900bba01b5af1057e03bdc6360e327174b
2014-12-30 14:54:02 +13:00
Robert O'Callahan
265386ac32 Bug 1109644. Part 1: Create SourceMediaStream::GetEndOfAppendedData to reliably track how much data has been appended to a SourceMediaStream's track. r=jesup
--HG--
extra : rebase_source : 385ad9b704d35df7b70a75afe807e363e0929476
2014-12-30 14:54:01 +13:00
Jeff Gilbert
e2cd335ec4 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Bobby Holley
cbe75bc86d Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt,rs=Ms2ger 2014-12-30 12:22:45 -08:00
Ehsan Akhgari
8c483075ea Bug 1116358 - Directly call Release() on |this| when closing a GMP encoder/decoder proxies; r=cpearce
This is needed in order to avoid calling Release() on a smart pointer.
2014-12-30 14:53:12 -05:00
JW Wang
38d83a3f6e Bug 1116006 - add debugging logs. r=cpearce 2014-12-28 22:33:00 +01:00
Benjamin Chen
36a48402aa Bug 1094678 - MediaCodecReader::CreateTaskQueues() runs at main thread. r=cpearce, r=brsun 2014-12-23 14:31:30 +08:00
Carsten "Tomcat" Book
ac441c9c35 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
854b574038 Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt 2014-12-29 23:20:03 -08:00
Bobby Holley
82e8ada462 Bug 1114840 - Don't start playback during prerolling. r=cpearce 2014-12-29 23:16:48 -08:00
Bobby Holley
d1af9c784d 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
746d45dc2a Bug 1114840 - Hoist arms-length conditions and rename StartPlayback() to MaybeStartPlayback(). r=cpearce 2014-12-29 23:16:48 -08:00
Bobby Holley
756be06580 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
87a09e70db 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
096bde9ac8 Bug 1115594: Fix indentation in AppleVDADecoder. r=rillian
--HG--
extra : rebase_source : 6f12f00194507d9000f11d48df8350eed968c30d
2014-12-30 12:06:22 +11:00
Bobby Holley
e08defa96f 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
08c52e44de 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
db5abbc18f Bug 1115749 - Rename mIndexMonitor to mDemuxerMonitor. r=rillian 2014-12-29 16:10:16 -08:00
Karl Tomlinson
56fa1403ba 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
6ff0cf60d1 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
96ec5ebcc1 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
d23a9bd047 Bug 1110922 - Add logs to debug test_played.html timeouts. r=cpearce 2014-12-22 23:12:00 -05:00
Jean-Yves Avenard
0bdcd36639 Bug 1111319: Reorder video frames with respect to decoding sliding window. r=rillian 2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
e6f7add28c Bug 1111328: Retrieve video dimensions from H264 SPS when possible. r=rillian 2014-12-24 23:11:35 +11:00
Blake
786d13f62b Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir 2014-12-23 10:20:25 +08:00
Ryan VanderMeulen
3038dd77b4 Merge inbound to m-c. a=merge 2014-12-23 13:17:16 -05:00
Carsten "Tomcat" Book
881b43ac39 Backed out changeset aef3ce3b89b9 (bug 1073003) 2014-12-23 13:35:05 +01:00
Carsten "Tomcat" Book
b71e57324d Backed out changeset 3d81c5b78567 (bug 1073003) 2014-12-23 13:35:04 +01:00
Carsten "Tomcat" Book
2aabf236cc Backed out changeset ad0bb596da2c (bug 1073003) 2014-12-23 13:35:02 +01:00
Carsten "Tomcat" Book
4985837da0 Backed out changeset 4902a8efe178 (bug 1073003) 2014-12-23 13:34:57 +01:00
Bobby Holley
01fe4895c7 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
093bfc2f39 Merge inbound to m-c. a=merge 2014-12-22 17:55:32 -05:00
Jean-Yves Avenard
208cb5ccea Bug 1114802: MP4: Hold demuxer monitor while resetting. r=kentuckyfriedtakahe 2014-12-23 13:39:35 +11:00
JW Wang
ce630db186 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
c221e55320 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
5b3d4967e2 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
eedc46cd68 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
8ea0444268 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
86409607b7 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
2436fddb29 Bug 1105771: Allow playback of avc3 streams. r=cpearce 2014-12-23 14:42:55 +11:00
Jean-Yves Avenard
bd3199bb51 Bug 1113403: Make MP4Sample destructor virtual. r=kinetik 2014-12-23 14:40:29 +11:00
Jean-Yves Avenard
1b14dd3a15 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
6451597017 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
8c461bc41e 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
b41c7d8ede 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
5f13701065 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
36287b520b Bug 1110534: Make PlatformDecoderModule ref counted. r=edwin 2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
98dd294493 Bug 1110534: Add AnnexB support to FFmpeg h264 decoder. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
4f568fc6f0 Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe 2014-12-23 14:36:09 +11:00