JW Wang
45b81db1ac
Bug 1233648 - Fix some insufficient includes. r=kinetik.
2015-12-18 15:12:45 +08:00
Jean-Yves Avenard
5597dadd65
Bug 1229987: P5. Drop frames during internal seeking early. r=cpearce
...
We would only start to drop frames once we had a request for data. On platforms such as windows WMF, following a drain we would typically hold over 33 decoded frames which would have been held resulting in unnecessarily high memory usage.
This also results in a simplified logic for the following steps.
2015-12-18 19:26:54 +11:00
Jean-Yves Avenard
08597229bb
Bug 1229987: P4. Stop pre-rolling when encountering WAITING_FOR_DATA. r=cpearce
...
This allows to start displaying frames even when we have less than 5 frames.
2015-12-18 19:26:54 +11:00
Jean-Yves Avenard
1e7e9a8d7c
Bug 1229987: P3. Update mochitests and add new one verifying behavior. r=cpearce
2015-12-18 19:26:53 +11:00
Jean-Yves Avenard
af9786e6b0
Bug 1229987: P2. Drain decoder when encountering gap. r=cpearce
...
This allows for all buffered frames to be playable.
2015-12-18 19:26:52 +11:00
Jean-Yves Avenard
7e9fd3bcf4
Bug 1229987: [MSE] P1. Ensure next random access point properly calculated after seek. r=gerald
...
When seeking, the next keyframe time would always be set to the seek time (as the next sample to be retrieved would be a keyframe). This could lead to the next key frame logic to be activated too aggressively.
2015-12-18 19:26:52 +11:00
Morris Tseng
ef261c0b38
Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc
...
--HG--
extra : commitid : H9H2n8GsBOK
2015-12-18 14:52:16 +08:00
JW Wang
480823b5c6
Bug 1232520 - dont' invoke AbstractThread::MainThread()->Dispatch() to avoid reentrant of AutoTaskDispatcher during tail dispatching phase. r=jya.
2015-12-18 11:50:32 +08:00
Alfredo Yang
514b142f92
Bug 1231353 - Release buffers at IDLE state. r=sotaro
2015-12-16 16:38:00 +01:00
JW Wang
f79563a6b5
Bug 1231075. Respect the timestamp of video frames and don't pop frames as fast as we can in real-time mode. r=roc.
2015-12-17 10:53:49 +08:00
Francois Marier
d63cc41a00
Bug 1231557 - Use the URL Classifier in Media elements. r=cpearce,r=gcp
...
--HG--
rename : dom/media/test/vp9.webm => toolkit/components/url-classifier/tests/mochitest/vp9.webm
2015-12-16 13:24:40 -08:00
Julian Seward
7f3e3b8977
Bug 1232326 - Uninitialised value use in AudioBufferInPlaceScale. r=dminor.
...
--HG--
extra : rebase_source : 608cb061bb6da051dd781ff6fdbbdb5ec8e1cc6d
2015-12-16 17:36:21 +01:00
Louis Christie
159adb84ce
Bug 864780 - Changed handling of the format chunk to skip any extension. r=cpearce
...
--HG--
extra : rebase_source : 113092d12941509682b551811ccb51b7f9fc2c32
2015-12-16 13:26:21 +13:00
Louis Christie
68dbc629d4
Bug 524109 - Added support for 24 bit wav files. r=cpearce
...
--HG--
extra : rebase_source : 3467db40f95e7fefee9852e0d5c34c420b88c1a6
2015-12-14 15:07:10 +13:00
Bogdan Postelnicu
76c1720d24
Bug 1232646 - initialize 3 variables: mCurve, mTimeConstant, mDuration. r=cpearce
...
--HG--
extra : rebase_source : 3a0899948c5bddfab76af0de03e85484156f416b
2015-12-15 05:21:00 +01:00
Chris Pearce
f212540c95
Bug 1232527 - Remove GMPVideoDecoderTrialCreator and friends. r=jwwang
...
Remove GMPVideoDecoderTrialCreator, and the tests and IPC/IDL supporting it.
--HG--
extra : commitid : HlbJPl2gPAl
extra : rebase_source : fe1773014e5d09da264f85d464e408aca46a60c4
2015-12-15 15:17:22 +13:00
Chris Pearce
966cf53003
Bug 1232527 - Call into WMF PDM to determine if WMF can decode instead of using GMPVideoDecoderTrialCreator. r=jwwang
...
Resurrect WMFDecoderModule::HasAAC() and HasH264(), and use those in
MediaKeySystemAccess.cpp to figure out whether we gmp-clearkey can decode,
rather than assuming Vista and later is always able to decode, as that's not
a valid assumption; Vista may not have the required Platfor Update installed,
or we may be on Windows N or KN without the Media Feature Pack.
--HG--
extra : commitid : 2QrVAGQ5OJa
extra : rebase_source : 8ad6e5c5f87cf2b2489f049543c021723927901a
2015-12-15 14:50:59 +13:00
Chris Pearce
7529a96ada
Bug 1232514 - Make GMPDecryptsAndDecodesH264() actually check for H.264 rather than AAC. r=jwwang
...
--HG--
extra : commitid : 1Gg4YjcvZXp
extra : rebase_source : 47153d7c9d865947f86845891d83a774ee41884b
2015-12-15 14:07:01 +13:00
Carsten "Tomcat" Book
5d5bb29645
Backed out changeset 7b7521d752a2 (bug 524109) for test regressions
2015-12-14 10:57:19 +01:00
Carsten "Tomcat" Book
4e46689636
Backed out changeset 2dba896ba45b (bug 864780)
2015-12-14 10:56:35 +01:00
JW Wang
9477651c83
Bug 1230882. Part 2 - remove DecodedStream::BeginShutdown() and other unused code. r=roc.
2015-12-14 11:32:19 +08:00
JW Wang
f8c0036f90
Bug 1230882. Part 1 - destroy DecodedStreamData properly when dispatch fails. r=roc.
2015-12-14 11:32:18 +08:00
Gerald Squelart
840a670aa1
Bug 1183972 - No sync-dispatch of new GMPParent - r=cpearce
...
Thanks to bug 1121676, GMPParent does not need to be created and destroyed
on the main thread. Main-thread constraints have been removed.
Also, this means that GeckoMediaPluginServiceParent::ClonePlugin() and
AddOnGMPThread (running on the GMP thread) do not need to sync-dispatch the
creation on the main thread.
This should remove the deadlock that prevents
GeckoMediaPluginServiceParent::UnloadPlugins() from running on the GMP thread.
2015-12-13 14:26:00 +01:00
Louis Christie
005c16d197
Bug 864780 - Changed the format chunk reader to skip any extention. r=cpearce
2015-12-14 15:30:57 +13:00
Louis Christie
1b5c5943f2
Bug 524109 - Added support for 24 bit wav files. r=cpearce
2015-12-14 15:07:10 +13:00
Jan-Ivar Bruaroey
fad5e24ed1
Bug 1229413 - remove MediaManager's xpcom-will-shutdown observer. r=jesup
...
--HG--
extra : transplant_source : %AF%E4%80id%2B%23%CD%9D%B1%DF%1F%B4%0B%F5%7Di%DCz%15
2015-12-01 12:13:47 -05:00
Phil Ringnalda
45242f7699
Back out 4 changesets (bug 1229987
) for ASan e10s timeout in test_playback.html, Mac timeouts in test_BufferingWait_mp4.html, and Win8 failures in test_WaitingToEndedTransition_mp4.html
...
Backed out changeset 707a87454058 (bug 1229987
)
Backed out changeset 37003d495f20 (bug 1229987
)
Backed out changeset c8f4e1eaf884 (bug 1229987
)
Backed out changeset 42ca05d8546d (bug 1229987
)
2015-12-10 23:10:20 -08:00
Phil Ringnalda
ef25b0a2b7
Back out 5a889d2cc25b (bug 1230428) for Windows 7 failures in 1230428.html
...
CLOSED TREE
2015-12-10 18:45:07 -08:00
Bob Owen
cb3fdf73ba
Bug 1217185: To allow for sandboxing, use null HWNDs when creating the D3D device for video decoding. r=mattwoodrow
2015-12-11 01:23:00 +00:00
Jean-Yves Avenard
ad5e2f804f
Bug 1230527: P2. Add mochitest. r=jwwang
...
It's also another way to check for 1130237: we make sure that seeking starts after playback when we have a gap at the beginning of the data
2015-12-10 14:08:06 -05:00
Jean-Yves Avenard
9621f06057
Bug 1230527: P1. Ensure seeked event is fired prior loadeddata. r=jwwang
2015-12-10 14:08:05 -05:00
Makoto Kato
6580374e9a
Bug 1230428 - Part 2. Add crashtest. r=eeejay
2015-12-10 13:46:46 -05:00
Makoto Kato
2f8f4466aa
Bug 1230428 - Part 1. Check mTask since end event is posted asynchronized. r=eeejay
2015-12-10 13:45:26 -05:00
Jean-Yves Avenard
b8bef7f3f2
Bug 1229987: P4. Stop pre-rolling when encountering WAITING_FOR_DATA. r=cpearce
...
This allows to start displaying frames even when we have less than 5 frames.
2015-12-10 12:17:29 -05:00
Jean-Yves Avenard
ce54507b17
Bug 1229987: P3. Update mochitests and add new one verifying behavior. r=cpearce
2015-12-10 12:17:26 -05:00
Jean-Yves Avenard
085e65d064
Bug 1229987: P2. Drain decoder when encountering gap. r=cpearce
...
This allows for all buffered frames to be playable.
2015-12-10 12:17:25 -05:00
Jean-Yves Avenard
18c2b9cb12
Bug 1229987: [MSE] P1. Ensure next random access point properly calculated after seek. r=gerald
...
When seeking, the next keyframe time would always be set to the seek time (as the next sample to be retrieved would be a keyframe). This could lead to the next key frame logic to be activated too aggressively.
2015-12-10 12:17:25 -05:00
Chris Pearce
f51937602c
Bug 1230295 - Add telemetry to report when Ogg chaining is used. r=rillian,r=vladan
2015-12-10 12:10:41 -05:00
Jean-Yves Avenard
e786add25c
Bug 1130237: [MSE] P3. Add mochitest testing behavior. r=gerald
...
We load data from [2ish, 4] and ensure that playback didn't start before data [0, 2ish] is loaded.
2015-12-09 09:55:37 -05:00
Bogdan Postelnicu
ac6c0718c7
Bug 1231124 - addded mCurve to constructor. r=smaug
2015-12-09 00:00:00 +01:00
Alfredo Yang
92abcfb61c
Bug 1224887: new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro
2015-12-08 15:57:58 +05:30
Bogdan Postelnicu
ae22c83be6
Bug 1230902 - initialize mSampleRate and mMicrophoneActive. r=cpearce
2015-12-07 02:17:00 +01:00
Boris Zbarsky
602de001f4
Bug 1230692. Fix WebAudioDecodeJob to properly suppress exceptions from its callbacks. r=ehsan
2015-12-07 18:42:11 -05:00
Carsten "Tomcat" Book
2257530fee
Backed out changeset b8a9e34748f1 (bug 1130237) for m2 test failures
2015-12-07 11:20:35 +01:00
Dan Glastonbury
856e41412c
Bug 1169212 - Part 2: Advertise support for ADTS via DecoderTraits. r=jya
...
for mimetype audio/aacp
2015-12-07 15:48:59 +10:00
Dan Glastonbury
5a8ca1d0d5
Bug 1169212 - Part 1: Implemented ADTS Decoder & Demuxer. r=jya
...
Implemented based upon MP3 Demuxer & Decoder.
2015-12-07 15:48:59 +10:00
Jean-Yves Avenard
7084f9ab9c
Bug 1130237: [MSE] P3. Add mochitest testing behavior. r=gerald
...
We load data from [2ish, 4] and ensure that playback didn't start before data [0, 2ish] is loaded.
2015-12-05 17:28:38 +11:00
Jean-Yves Avenard
9ae0949e75
Bug 1130237: P2. Reset decoder state even if no decoder has been created yet. r=gerald
2015-12-05 17:28:37 +11:00
Jean-Yves Avenard
a080f16503
Bug 1130237: [MSE] P1. Only ever return a frame if we have data. r=gerald
...
After a Reset() the definition is that the resource was seeked to 0. As such we should only return a frame if there's data at time==0.
2015-12-05 17:28:37 +11:00
Jan-Ivar Bruaroey
e23061aecc
Bug 1229926 - only fake cams and mics. r=jesup
...
--HG--
extra : transplant_source : %0F%90%21%94%14X%EC%83%03M%068p%D3%F9%0D%84%F29J
2015-12-02 22:51:03 -05:00