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

5936 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book cee1a58936 Backed out changeset 15058cd33731 (bug 1250054) for leaks
--HG--
extra : rebase_source : 4586059d7b80f6d417aa07dbf9877b170a64ccab
2016-03-29 15:52:29 +02:00
Carsten "Tomcat" Book c7515d6856 Backed out changeset fe425b8cb8cb (bug 1250054)
--HG--
extra : rebase_source : ea79fd42beb7cf841989816b227ce57209494355
2016-03-29 15:45:32 +02:00
Carsten "Tomcat" Book d65d442422 Backed out changeset ea3d6ace0405 (bug 1250054)
--HG--
extra : rebase_source : 2b4bcf5d740e874a146bb4993456717ae904d7ea
2016-03-29 15:45:31 +02:00
JW Wang 234c4687d6 Bug 1250054. Part 3 - employ MediaDecoderReaderWrapper and remove code about adjusting start time. r=jya. 2016-03-02 21:20:40 +08:00
JW Wang cd4fad046a Bug 1250054. Part 2 - implement MediaDecoderReaderWrapper. r=jya. 2016-03-02 21:16:00 +08:00
JW Wang 635996582d Bug 1250054. Part 1 - add new files and move StartTimeRendezvous from MediaDecoderStateMachine.h to MediaDecoderReaderWrapper.cpp. r=jya. 2016-03-29 14:48:11 +08:00
Sotaro Ikeda 505c880bbe Bug 1259366 - Flush after eos of android::MediaCodec r=jolin 2016-03-28 21:39:05 -07:00
Randell Jesup 3fd01980f6 Bug 1258144: warnings-as-errors bustage r=cpearce
MozReview-Commit-ID: 6CIkX6F6cl2
2016-03-28 21:00:21 -04:00
Randell Jesup d990461ce1 Bug 1258144: Flip warning sense typo in original patch for bug r=cpearce
MozReview-Commit-ID: dztvbBSYyI
2016-03-28 20:02:40 -04:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey 20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Jean-Yves Avenard 37d629b09b Bug 1259916: [MSE] P3. Simplify eviction calculation logic. r=gerald
Also, remove no longer used code and update comments to properly reflect the current algorithms used.

MozReview-Commit-ID: GwsGC70xM85

--HG--
extra : rebase_source : 2c1a2cd449eac243d8e3d77cc1bf80c2adc64cdf
2016-03-28 00:58:37 +11:00
Jean-Yves Avenard 9867dc58c5 Bug 1259916: [MSE] P2. Bump audio source buffer eviction threshold to 30MB. r=gerald
20MB appears to work, but just to be safe until we get confirmation from YouTube on what is a safe value to use.

MozReview-Commit-ID: BnGaVLeCRJ5

--HG--
extra : rebase_source : 6333dd4c8dbd6f846344218dd50124797fc5cb23
2016-03-28 00:48:57 +11:00
Jean-Yves Avenard c7c99753a2 Bug 1259916: [MSE] P1. Fix eviction. r=gerald
Bug 1216460 introduced a regression which would cause to always evict from both ends of the current track buffer.

MozReview-Commit-ID: 4f01tNQ2KU8

--HG--
extra : rebase_source : 7da96fc1cbca03d60705fce681ee9259dd81d173
2016-03-28 00:41:31 +11:00
Alex Chronopoulos bc6563f248 Bug 1251502 - Use `devid` instead of `device_id` when getting the ID for a cubeb device. r=jesup
MozReview-Commit-ID: JojzRPFhYJ
2016-03-25 17:41:45 +01:00
Jean-Yves Avenard 70a7329e7e Bug 1259274: [MSE] P5. Use new AutoTaskQueue with MSE objects. r=gerald
It was possible for a TrackBuffersManager to have pending tasks currently running while the MediaSourceDemuxer was shutting down the task queue. This would cause an assertion upon resolution of the promise attempting to schedule a new runnable as the task queue was now shutdown.

The AutoTaskQueue only shuts down once it's no longer used.

MozReview-Commit-ID: IzPh2OdGbvN

--HG--
extra : rebase_source : 3b39ca72f1bbb1d64e7f9f7a376b5b9cb68da0f6
2016-03-26 02:14:49 +11:00
Jean-Yves Avenard e7f959b6f8 Bug 1259274: [MSE] P4. Add AutoTaskQueue convenience class. r=gerald
Just like TaskQueue, but doesn't require to be shutdown.

MozReview-Commit-ID: 9JR9mZZuP4w

--HG--
extra : rebase_source : c98aaafdad31e34afe7a58d1113f5835f777c1c0
2016-03-26 02:09:26 +11:00
Jean-Yves Avenard 5f3b4ca5d5 Bug 1259274: [MSE] P3. Refactor handling of tasks so they only ever run concurrently. r=gerald
MozReview-Commit-ID: 1U8r82kTR0t

--HG--
extra : rebase_source : 0646125364bee89f37cfff426c1034a6feb3a516
2016-03-27 20:20:40 +11:00
Jean-Yves Avenard 8da4d6ea4d Bug 1259274: [MSE] P2. Remove unused code path. r=gerald
MozReview-Commit-ID: FHj3u1WL1ul

--HG--
extra : rebase_source : aa5303670890056e716edb3ce50e774df143c6e7
2016-03-27 18:44:10 +11:00
Jean-Yves Avenard 734a39347d Bug 1259274: [MSE] P1. Remove unnecessary abstraction layer. r=gerald
We now longer require an abstraction layer with the TrackBuffersManager now that the old MSE has been removed.

MozReview-Commit-ID: 3uEejohvFQD

--HG--
extra : rebase_source : 2e89fe4c7b9d13910fb6f26f0090fca26d19726f
2016-03-25 11:31:30 +11:00
Gerald Squelart f2bfa841c1 Bug 1259985 - Add missing return after null-check - r=jya
MozReview-Commit-ID: 138NM9xTmVA

--HG--
extra : rebase_source : 6f594e905b1d8d8f623a02ea8fb78b7dc3b846f0
2016-03-27 19:57:25 +11:00
Bryce Van Dyk 51ca385004 Bug 1232045 - Add tests for WebM with resolution changes. r=jya
Added a test WebM file containing resolution changes. This file has been added
to gPlayTests to test playback of such files. A new test has been added,
test_resolution_change.html, which reads a new test array,
gResolutionChangeTests, of media files containing resolution changes. This new
test check that after playing a file through at least one resolution change has
taken place.

MozReview-Commit-ID: 8yz1ccz8g6O

--HG--
extra : rebase_source : 3fddc9116e9a5d20afcf58d795d288875084a08e
2016-03-14 15:13:51 +13:00
Bryce Van Dyk a0436efae3 Bug 1232045 - WebMDemuxer handles resolution changes. r=jya
Update the WebMDemuxer to detect changes in resolution. When it does so it
changes the streamID so that we get a new decoder created to handle the
resolution change. The demuxer will also update media info in these cases, so
the new decoder has the correct information. The demuxer will only handle
resolution changes on key frames, files that attempt changes other times are not
considered valid at this stage. If a resolution change cannot be performed
because nest_egg cannot read track info, or because the new resolution is
invalid, a change will not take place.

MozReview-Commit-ID: 1JKz3mGbEvi

--HG--
extra : rebase_source : aebd609651dfbd48d2f6ea3e33986a7e12b1495e
2016-03-15 00:28:47 +13:00
JW Wang 1d4102375a Bug 1258966 - Remove unnecessary null-checks of MediaDecoderStateMachine::mReader. r=bechen.
MozReview-Commit-ID: HXbFkSd3SZA
2016-03-24 16:54:36 +08:00
JW Wang 2572fe3414 Bug 1256520 - use SyncRunnable to create DecodedStreamData synchronously to ensure the creation and destruction of DecodedStreamData happen in order. r=kikuo.
This greatly simplify the code because:
1. we don't have to dispatch the newly created DecodedStreamData to the work thread and store it to |mData|.
2. no need to deal with dispatch failure incurred by 1 due to task queue shutdown.
   (see: https://hg.mozilla.org/mozilla-central/file/f0c0480732d36153e8839c7f17394d45f679f87d/dom/media/mediasink/DecodedStream.cpp#l392)

MozReview-Commit-ID: FwySgwKp8dV
2016-03-15 08:54:52 +08:00
Jan-Ivar Bruaroey 55cbfcbe09 Bug 1259236 - test pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: E1qFH7xYY0H

--HG--
extra : rebase_source : 1a60fe32b364baa4396aeed3d654c33b313f3e07
2016-03-24 13:32:10 -04:00
Jan-Ivar Bruaroey 9ff449087b Bug 1259236 - throw NotSupportedError on pc.addTrack of track in constructed stream. r=bwc
MozReview-Commit-ID: LBP9CybRmrI

--HG--
extra : rebase_source : f9deb3cca7e891562a3cbe5766f027dabcdf6ed9
2016-03-24 12:45:22 -04:00
JW Wang ed30277439 Bug 1258673. Part 2 - since mStreamOffset is not updated until the end of MediaCacheStream::Read(), we have to pass stream offset to MediaCache::NoteBlockUsage explicitly to avoid hitting the assertion. r=jya. 2016-03-24 14:59:33 +08:00
JW Wang b5553c6b2b Bug 1258673. Part 1 - cache mStreamOffset so we won't read at the wrong position when Other Read() interrupt the current Read(). r=jya. 2016-03-23 21:40:18 +08:00
Chris Pearce 921ff0472b Bug 1258220 - Disable Adobe GMP if SSE2 isn't supported. r=gerald 2016-03-25 07:56:47 +13:00
Jan Henning 9e046f3ff6 Bug 1256590 - Part 2 - Add a test case for skipping over false positive syncs at the beginning of an MP3 file. r=esawin 2016-03-20 22:08:45 +01:00
Jan Henning 4c248c7249 Bug 1256590 - Part 1 - Try detecting the actual frame start even when parsing starts mid-stream. r=esawin
So far we've simply assumed that the first MPEG Layer 3 frame sync we find is automatically valid. However if the audio data has been improperly cut, parsing might start somewhere in mid-stream, so the first frame sync we hit upon might be a false positive. This naturally leads to problems if we try to check later frame syncs for consistency (same MPEG version, sample rate, etc.) with that first frame sync.

Therefore, this patch changes demuxer initialisation to only accept a frame sync if it is followed by a number of further frame syncs consistent with the initial frame.
2016-03-22 21:39:05 +01:00
Martin Thomson 2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Phil Ringnalda fd64e52ef9 Back out 1726498035c1 (bug 1258299) for xpcshell failures in test_rtcIdentityProvider.js
CLOSED TREE
2016-03-23 19:25:39 -07:00
Gregory Szorc 6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Martin Thomson 15fbbd24ab Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: EP1fCvQlYqH

--HG--
extra : rebase_source : df44c64ca5614b1ff351d3aa9ffc78e513f97d58
2016-03-24 03:03:06 +11:00
Maja Frydrychowicz 4e86317cea Bug 1238733 - Bump version for firefox-puppeteer and update dependencies; r=sydpolk,whimboo
firefox-puppeteer = 4.0.0
firefox-ui-harness = 1.3.0
external-media-tests = 2.0

MozReview-Commit-ID: BfiL39umlrA

--HG--
extra : rebase_source : 9950079b855fa2dd3b7e0434e2bd7564eac643cd
2016-03-22 14:47:23 -04:00
Maja Frydrychowicz b985b77b7b Bug 1238733 - Remove dependency on Marionette harness in firefox-puppeteer; r=whimboo
BaseFirefoxTestCase inherits from unittest.TestCase and takes
advantage of super() to serve as a cooperative base class
for children of MarionetteTestCase.

This includes moving UpdateTestCase back into firefox-ui-harness

Also update external-media-tests and Firefox UI and Update tests to
use BaseFirefoxTestCase


MozReview-Commit-ID: 4gsKztEOFrt

--HG--
rename : testing/puppeteer/firefox/firefox_puppeteer/testcases/update.py => testing/firefox-ui/harness/firefox_ui_harness/testcases.py
extra : rebase_source : e3383f9633f26061af9521a719cae57db87ccf10
2016-03-22 12:21:30 -04:00
Jean-Yves Avenard f32aca05b7 Bug 1258410: [MSE] P2. Disconnect init promise if any pending. r=gerald
MozReview-Commit-ID: 9iOPqSeDzdH

--HG--
extra : rebase_source : a5a840c31c7f5348870dc9f9ca3a408d91a96a88
2016-03-23 16:35:10 +11:00
Jean-Yves Avenard d2e51e6dd6 Bug 1258410: [MSE] P1. Abort if mInputDemuxer has been reset. r=gerald
MozReview-Commit-ID: 3irSFFSnXFp

--HG--
extra : rebase_source : a10d067d54ad3f4a67027efae50282270732c265
2016-03-23 13:44:00 +11:00
JW Wang 38e7d661e6 Bug 1258627 - always schedule next cycle so MDSM has a chance to leave buffering state. r=cpearce.
MozReview-Commit-ID: ByCHVF9IxvS
2016-03-23 10:25:58 +08:00
Jean-Yves Avenard a8b76dc318 Bug 1256038: Remove special NotifyDataArrived handling in the DirectShow reader. r=cpearce
Following bug 1223599, NotifyDataArrived is called extremely often (every 32kB block downloaded). The combination of pinning the MediaResource with small cache reads while reading on another thread can causes incorrect read.
While this issue needs to be addressed, the special handling of NotifyDataArrived with DirectShow ultimately serves no purpose. By the time we have read the metadata, we have already identified if the MP3 has a known duration. If not, the duration will be amended as data is being returned to the MDSM.

Continually feeding new data to the MP3FrameParser only allow to account for the new data downloaded ahead of the last decoded sample and to get a slightly more accurate buffered range and duration.

The new MP3Demuxer doesn't do it, and ultimately this makes the DirectShowReader behaves like the new MP3Demuxer and gives us consistency across the readers.

MozReview-Commit-ID: HKNWWrofIqV

--HG--
extra : rebase_source : 88d8ef9206e8a16097b2d493681e88b4c174d0c5
2016-03-22 22:59:50 +11:00
JW Wang 8be2af10c1 Bug 1258567 - per comment 3, ensure volume is only applied once to the AudioSegment. r=kinetik.
MozReview-Commit-ID: Bks59JySrep
2016-03-23 10:16:15 +08:00
David Anderson f7210bb6ef Add a driver crash guard to D3D11 DXVA. (bug 1253666, r=mattwoodrow) 2016-03-22 18:45:28 -07:00
Wes Kocher 7ee663302a Backed out 2 changesets (bug 1109614) for frequent failures in Web Platform Reftests
Backed out changeset 6b034852b39f (bug 1109614)
Backed out changeset 529a82416338 (bug 1109614)

MozReview-Commit-ID: AYafA2Dg0VG
2016-03-22 15:59:45 -07:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Syd Polk 3acf779e6f Bug 1254732 - External Media Tests needs comprehensive API documentation. r=maja_zf,SingingTree
MozReview-Commit-ID: 8KtnvUPx4LU

--HG--
extra : rebase_source : 3af6a38e28163974ce5adb86fa4ff6ee89a46cdd
2016-03-21 13:17:17 -05:00
Ruxton db725b3d91 Bug 1109614 - Part 1: Add tests for TextTrack cuechange on AudioElement. r=rillian
Disabled on Android for timeouts.

MozReview-Commit-ID: 5S32dpbjaM
2016-03-22 13:53:44 -07:00
Eugen Sawin 0d1db2c7f7 Bug 1216560 - [3.1] Make eviction thresholds const. r=jya 2016-03-22 21:32:58 +01:00
Eugen Sawin c94e9927bc Bug 1216460 - [2.2] Refactor SourceBuffer frame eviction and threshold defaults. r=jya
* Move eviction handling out of SourceBuffer into TrackBuffersManager
* Separate audio and video eviction thresholds
* Reduce default audio eviction threshold to 15MB
2016-03-22 21:24:45 +01:00