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
Jean-Yves Avenard
5434717edd
Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe
2014-12-23 14:36:09 +11:00
Botond Ballo
3cf8c4168e
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
a21116113e
Bug 1114825 - Bustage fix. r=bustage.
2014-12-23 16:10:39 +13:00
Botond Ballo
ad41aadeff
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
e75e9d0971
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
9cfebe04db
Merge inbound to m-c. a=merge
2014-12-22 18:01:06 -05:00
Ryan VanderMeulen
093bfc2f39
Merge inbound to m-c. a=merge
2014-12-22 17:55:32 -05:00
Chris Pearce
beace20c1b
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
b7f57788cf
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
35b8e4d189
Bug 1113769 - Handle out of gralloc in MediaEngineGonkVideoSource::RotateImage() r=jesup
2014-12-22 07:05:19 -08:00
Carsten "Tomcat" Book
2ccb8ed152
Merge mozilla-central to b2g-inbound
2014-12-22 14:04:32 +01:00
Bobby Holley
078237732a
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
10d012cc54
Bug 1109437 - Implement non-polling buffering. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
4e63580a0f
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
cdd1259acb
Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
4166dff3db
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
72d88fedcb
Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce
2014-12-22 00:20:30 -08:00
Bobby Holley
fa6c808af5
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
46319f32f9
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
ae24bc27ec
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]
4d38849b46
Bug 1016476: more bundle tests r=bwc
2014-12-17 11:55:00 -08:00
Benjamin Chen
6cc8984e6e
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
5e16905d15
Bug 1092025 - Hold the lock for the entire duration of MediaSourceReader::ReadMetaData. r=karlt
2014-12-21 23:14:59 -08:00
Bobby Holley
47671649c2
Bug 1114383 - Unlock the demuxer monitor before calling out via MP4Stream. r=k17e
2014-12-21 22:04:36 -08:00
Bobby Holley
7a0f2ef977
Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e
2014-12-21 22:04:36 -08:00
Bobby Holley
922148c922
Bug 1114383 - Acquire the index monitor in MP4Reader::PopSample. r=k17e
2014-12-21 22:04:36 -08:00
Byron Campen [:bwc]
9a12e66f3b
Bug 1016476 - Part 2: Test work. r=drno
2014-11-25 17:36:16 -08:00
Bobby Holley
447da79bd5
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
8a5aede8a0
Bug 1109437 - Implement non-polling buffering. r=cpearce
2014-12-19 11:39:15 -08:00
Bobby Holley
58574f4e00
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
dd4ae4741d
Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce
2014-12-19 11:39:15 -08:00
Bobby Holley
73f3b712e9
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
314500bba3
Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce
2014-12-19 11:39:14 -08:00