Граф коммитов

5245 Коммитов

Автор SHA1 Сообщение Дата
JW Wang bcd91fefed Bug 1231091. Part 6 - fix test_streams_element_capture.html timeout. r=roc. 2015-12-22 08:42:38 +08:00
JW Wang a03dc1e4e1 Bug 1231091. Part 5 - Remove DecodedStream::IsFinished() and unused code. r=roc. 2015-12-22 08:42:38 +08:00
JW Wang 43c45372af Bug 1231091. Part 4 - ensure the end promise is resolved in the special case where video duration is 0. r=roc. 2015-12-22 08:42:38 +08:00
JW Wang 2bdedb0118 Bug 1231091. Part 3 - resolve the end promise when all frames are rendered. r=roc. 2015-12-22 08:42:38 +08:00
JW Wang 5cf3e3bfa5 Bug 1231091. Part 2 - return correct promises when audio/video track is asked. r=roc. 2015-12-22 08:42:38 +08:00
JW Wang 38684677a2 Bug 1231091. Part 1 - Add mVideoCompleted so MDSM can check when audio/video is done rendering. This removes the only caller of DecodedStream::IsFinished(). r=roc. 2015-12-22 08:42:38 +08:00
Randell Jesup 73cd5786cf Bug 1234363: Re-enable a few disabled-on-e10s WebRTC tests r=drno 2015-12-21 19:53:31 -05:00
Alfredo Yang 3360b91b6f Bug 1231257 - Flush individual port instead of flush OMX_ALL ports. r=sotaro 2015-12-16 21:56:00 +01:00
Alfredo Yang d3a2880ccb Bug 1231939 - change Shutdown() as a block API. r=cpearce 2015-12-17 04:03:00 +01:00
Gerald Squelart 5354b4cb60 Bug 1228673 - Clean-up 'Then' before ~MediaTimer. r=jya
Destroying an unlapsed timer will trigger an assertion in its 'Then' request.
So in case the Fuzzing Wrapper is flushed or errors when there are pending
delayed frames, the 'Then' request attached to the MediaTimer is now
disconnected before being let go.
This also needs to be done when shutting down.
2015-12-19 02:06:00 +01:00
Chris Peterson 7634434873 Bug 1232223 - Part 5: Run wave tests unconditionally. r=jya 2015-12-18 00:27:56 -08:00
Chris Peterson fbf756d382 Bug 1232223 - Part 4: Run webm tests unconditionally. r=jya 2015-12-12 13:49:07 -05:00
Chris Peterson 90c0e0da61 Bug 1232223 - Part 3: Remove MOZ_WAVE #ifdefs because Wave is always supported. r=jya 2015-12-18 00:51:16 -08:00
Chris Peterson 88051371a9 Bug 1232223 - Part 1: Remove MOZ_WEBM #ifdefs because WebM is always supported, though not necessarily enabled. r=jya r=glandium 2015-12-12 13:49:07 -05:00
Jesse Ruderman 554d619f84 crashtest for bug 1228484 r=karlt
--HG--
extra : rebase_source : 0721ac827d904e07d1c64145eaf7c36f545c54da
2015-12-04 12:45:47 +13:00
Jean-Yves Avenard 52c16ccf40 Bug 1233340: [ffmpeg] Support YUV420J pixel format. r=kentuckyfriedtakahe
YUV420J is 12bpp YUV420P.
2015-12-21 13:20:23 +11:00
Paul Adenot 8ea628a72b Bug 1203585 - Remove some dead code in GraphDriver.cpp. r=jesup
--HG--
extra : commitid : LDSLPjpJdAz
2015-12-01 11:48:08 +01:00
Paul Adenot fa96e4558d Bug 1203585 - Add comments about threading and locking on GraphDriver's members. r=jesup
--HG--
extra : commitid : DLgo3xduShJ
2015-12-01 11:48:06 +01:00
Paul Adenot 507c38edb6 Bug 1203585 - Update the MediaStreamGraph code to lock properly. r=jesup
--HG--
extra : commitid : 1Z2bwSfIbnB
2015-12-01 11:48:02 +01:00
Paul Adenot 2a78933e79 Bug 1203585 - Add threading assertions to GraphDriver switching methods. r=jesup
--HG--
extra : commitid : 6stjXK4ET1x
2015-12-01 11:47:59 +01:00
Paul Adenot 50fb895637 Bug 1203585 - Add new methods to GraphDriver to assert that locks are held. r=jesup
--HG--
extra : commitid : E8XmcSExg9V
2015-12-01 11:47:31 +01:00
Paul Adenot b5c707b433 Bug 1203585 - Add a comment block on how MediaStreamGraph switch GraphDrivers. r=jesup
--HG--
extra : commitid : CVaELpK3iU1
2015-12-01 11:36:28 +01:00
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