Commit Graph

1869 Commits

Author SHA1 Message Date
Paul Adenot
90647a2ea3 Bug 1125804 - Remove the mixer callback when failing to open an audio stream when switching to an audio driver. r=jesup 2015-02-09 14:43:55 +01:00
Carsten "Tomcat" Book
6e54f0c718 Backed out changeset 0813db72fe3e (bug 1125804) for bustage on a CLOSED TREE 2015-02-09 16:26:28 +01:00
Paul Adenot
0427dd9fa1 Bug 1125804 - Remove the mixer callback when failing to open an audio stream when switching to an audio driver. r=jesup 2015-02-09 14:43:55 +01:00
Joel Maher
97f62104fb Bug 1110982 - Disabled tests for oth chunk and leaks (run-by-dir). r=RyanVM 2014-12-27 00:44:52 +05:30
Jean-Yves Avenard
0a376c1d06 Bug 1125469: Part3. Make sure we stop dropping frames from previous operation after seeking. r=mattwoodrow 2015-02-09 23:29:01 +11:00
Jean-Yves Avenard
d0fcfbe806 Bug 1125469: Part2. Ensure discontinuity flag is set after seeking. r=mattwoodrow
Under some circumstances, the discontinuity flag value would be lost, leading
the state machine to drop all frames being decoded.
2015-02-09 23:29:01 +11:00
Jean-Yves Avenard
173a0c1120 Bug 1125469: Part1. Don't attempt to seek on time found with fuzz search. r=mattwoodrow
Instead seek to the actual time available.
2015-02-06 23:51:46 +11:00
Jean-Yves Avenard
72355abc0d Bug 1129732: Part4. Use sourcebufferdecoder's end time. r=mattwoodrow 2015-02-09 23:29:00 +11:00
Jean-Yves Avenard
5f935a5b97 Bug 1129732: Part3. Assume buffered range starting close enough to 0 to be 0. r=mattwoodrow 2015-02-09 23:29:00 +11:00
Jean-Yves Avenard
06bd0c931a Bug 1129732: Part2. Fix VideoData copy. r=cpearce
mDiscontinuity member must be copied.
2015-02-09 23:29:00 +11:00
Jean-Yves Avenard
67411f1d5e Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Jean-Yves Avenard
c4ea46ee90 Bug 1114805: Don't use hard assertion should start time be <= 0. r=cpearce
This prevents some MP4 files to play, and there is no strict requirements that
a start time be positive.
2015-02-09 23:28:59 +11:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Jeff Gilbert
56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Bobby Holley
b472f52bed Bug 1126052 - Reenable test_SeekTwice.mp4. r=RyanVM 2015-02-05 14:29:32 -08:00
Edwin Flores
9a2cccac4c Bug 1129722 - Add {Hold,Drop}JSObjects to MediaKeyStatusMap - r=jwwang,bz 2015-02-06 11:04:47 +13:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
51f96dd133 Bug 1127845 - Skip test_audioBufferSourceNodeNeutered.html for being nearly permafail on Windows. 2015-02-05 14:02:21 -05:00
Blake Wu
9a06424267 Bug 1113527 - Change isDormantNeeded() behavior. r=sotaro. r=cpearce.
From 8bf5259ba58ae5b37eaceece04a7f217c3ad4284 Mon Sep 17 00:00:00 2001
2015-01-30 18:24:31 +08:00
Bobby Holley
41a5994f7f Bug 1128811 - Reject data wait promises when we seek. r=cpearce 2015-02-04 17:33:40 -08:00
Matthew Gregan
ef1844681b Bug 1128794 - Refactor EME decoders on top of GMP decoders. r=cpearce
--HG--
rename : dom/media/fmp4/eme/EMEH264Decoder.cpp => dom/media/fmp4/eme/EMEVideoDecoder.cpp
rename : dom/media/fmp4/eme/EMEH264Decoder.h => dom/media/fmp4/eme/EMEVideoDecoder.h
2015-02-02 21:49:00 +13:00
Matthew Gregan
6e2bccf8bb Bug 1121258 - Add a GMP PDM to allow MP4 playback via OpenH264. r=cpearce 2015-02-02 21:49:00 +13:00
Bobby Holley
a15ce311b8 Bug 1129523 - Use ProxyMediaCall for video decode tasks. r=cpearce,r=mattwoodrow 2015-02-04 17:12:51 -08:00
Bobby Holley
1bedd8d3d7 Bug 1129523 - Implement MediaPromise proxies. r=cpearce,r=mattwoodrow 2015-02-04 17:12:51 -08:00
Jeff Gilbert
680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Bobby Holley
8f668dcd13 Bug 1129247 - Use MOZ_DIAGNOSTIC_ASSERT instead of MOZ_RELEASE_ASSERT in media code. r=mattwoodrow 2015-02-04 13:13:59 -08:00
Chris Pearce
348ef34fe4 Bug 1129229 - Recognize com.adobe.primetime keysystem string. r=edwin 2015-02-05 09:36:44 +13:00
James Willcox
6afea890f1 Bug 1100126 - Enable the AndroidDecoderModule on PowerVR, but don't copy the SurfaceTexture r=jgilbert 2015-02-04 08:43:44 -06:00
Jean-Yves Avenard
48957f6bed Bug 1125776: Part11. Fix potential crash. r=mattwoodrow.
Under some circumstances, it was possible for shutdown to have completed
right before the initialization task got to run. Resulting in a null
dereference.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
5d1d3d69ba Bug 1125776: Part10. Handle concurrent aborts. r=mattwoodrow
Under some circumstances, it was possible for a cancelled queued task to run
and the following one would have been cancelled.
Also add more robust handling in cancelling the trackbuffer initialization
task.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
ddfc051736 Bug 1125776: Part9. Always attempt to create a new decoder if we don't have one. r=mattwoodrow
YouTube continues to call appendBuffer even when the previous call failed.
So we attempt to re-create a decoder where we can should it be a temporary
failure.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
a28eaa9992 Bug 1125776: Part8. We don't always need an init segment to be ready. r=mattwoodrow
If abort was called on the source buffer, the parser would have been reset.
The content in the Track Buffer is still valid for playback.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
e2f51fe35f Bug 1125776: Part7. Only notify reader we have data, when we actually do. r=mattwoodrow 2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
bf8e4f0b72 Bug 1122358: Implement partial reset parser. r=cajbir
Only handles resetting parser and incomplete init segments at this stage.
2015-02-04 20:20:16 +11:00
Jean-Yves Avenard
a3bb11c20d Bug 1128115: MediaSource.removeSourceBuffer should call SourceBuffer.abort. r=cajbir 2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
fcfd4609a0 Bug 1125776: Part5. Limit metadata parsing to init segment size if known. r=kinetik 2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
723701aeca Bug 1125776: Part4. Add support for partial WebM init segment. r=kinetik 2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
80c7f80672 Bug 1125776: Part3. Add support for partial init segment. r=cajbir
Now that we rely on appendBuffer to scan the init segment, it has become
imperative to handle partial segments as it could otherwise lead to
appendBuffer never firing update/updateend
2015-02-02 11:41:43 +11:00
Jean-Yves Avenard
a7911540c6 Bug 1125776: Part2. appendBuffer scanning the data before firing updateend. r=mattwoodrow 2015-02-04 20:20:15 +11:00
Jean-Yves Avenard
80732517a0 Bug 1125776: Part1. Fix initialization of variables. r=cajbir
They could be used when non-initialized.
2015-02-04 20:20:14 +11:00
Alfredo Yang
1a6c2aefad Bug 1128858 - release media element after playing webm in testcases. r=cajbir 2015-02-03 01:05:00 +01:00
Alfredo Yang
44e89e8d9d Bug 1128845 - disable test cases due to webm OMX codec limitation. r=ajones 2015-02-02 23:42:00 +01:00
Jean-Yves Avenard
672121e19f Bug 1129224: Ensure the target is always unref in the target thread. r:bholley 2015-02-04 16:38:27 +11:00
Phil Ringnalda
34a9ee669a Bug 1123195 - Skip some more crashtests that time out on OS X 10.10 debug 2015-02-03 21:22:18 -08:00
Chris Pearce
eb27bb22f8 Bug 1123535 - Make dormant ResetPlayback assertion more lenient. r=jwwang 2015-02-04 10:17:28 +13:00
Sotaro Ikeda
16749fec58 Bug 1112519 - Clear mDropVideoUntilNextDiscontinuity when we do not seek r=cpearce 2015-02-03 12:53:12 -08:00
Bill McCloskey
c04f106018 Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Paul Adenot
b40239c553 Bug 1128494 - Change the default panning model of the PannerNode to "equalpower". r=smaug
--HG--
extra : rebase_source : 34877a4b518ac354cf1732a16f70b1659986aabc
2015-02-03 11:25:37 +01:00
Jan-Ivar Bruaroey
4993ea6729 Bug 997365 - End support for hold-out mandatory/optional: facingMode constraint on mobile. r=smaug, r=mt 2015-02-02 10:11:00 -05:00
Carsten "Tomcat" Book
656400c6b6 Merge mozilla-central to mozilla-inbound 2015-02-03 15:11:12 +01:00