Commit Graph

43 Commits

Author SHA1 Message Date
Chris Pearce
abf5ab3771 Bug 1331829 - Remove async shutdown GMP API. r=gerald
Now that we're not supporting Adobe EME anymore, we don't need to
provide a mechanism for GMPs to block browser shutdown.

MozReview-Commit-ID: KUC94IBQiod

--HG--
extra : rebase_source : ed521f28e272de11b2d0c4546b98baf6bd7c6e72
2017-01-18 15:01:56 +13:00
Gerald Squelart
6f289c28b5 Bug 1329824 - media.wmf.allow-unsupported-resolutions - r=jya
MozReview-Commit-ID: 64CC6inOluH

--HG--
extra : rebase_source : ecf82c1c6194430a42b8c093e167a472926c96d6
2017-01-16 09:26:54 +11:00
James Cheng
4724a58460 Bug 1299105 - Part 2: Make Part 1 works behind a pref. r=jya
MozReview-Commit-ID: AcEFAGP8kuR

--HG--
extra : rebase_source : e537acd0311a9f2a0746a5b8306292cdc04d05ac
2016-11-29 15:03:14 +08:00
Jean-Yves Avenard
d3a0f99985 Bug 1313632: P1. Remove unused OggReader. r=kaku
Also remove related preference.

MozReview-Commit-ID: D5pkyPXAoG9

--HG--
extra : rebase_source : 845d14a7059ae54d939300bb0f7f51664da05ff4
2016-11-09 11:54:41 +11:00
Gerald Squelart
6f36d2e8a8 Bug 1313343 - media.wmf.skip-blacklist controls D3D blaclists - r=cpearce
If pref "media.wmf.skip-blacklist" is true, disable D3D blacklisting based on
"media.wmf.disable-d3d9-for-dlls" and "media.wmf.disable-d3d11-for-dlls".

MozReview-Commit-ID: IothZlUnK7h

--HG--
extra : rebase_source : 1731b39808526fce70d84342a016bd25b6cd8571
2016-11-07 18:12:51 +11:00
JW Wang
2d31845215 Bug 1311872. Part 3 - enter dormant when being paused for a while. r=cpearce,jya
MozReview-Commit-ID: HJjhFebQ8WI

--HG--
extra : rebase_source : 4d1c68c2ce2d4b156d962c61d24b8fe1d4cbae0e
extra : intermediate-source : f45501530b47ad269f471e58d711d34267478cfa
extra : source : 3cd38509ca63b789bfc6325222e7ef80133958ec
2016-10-20 14:45:05 +08:00
Matt Woodrow
552d016944 Bug 1300678 - Use gfxPrefs for media vars that get accessed from the GPU process. r=jya 2016-11-03 09:57:18 +13:00
Ryan VanderMeulen
a41f7d1058 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Chris Pearce
b691c3f403 Bug 1310879 - Remove EME persistent-license sessions. r=gerald
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: FXj5YORxpas

--HG--
extra : source : b69b2435f1059a5c7b1dd26947ea500b381ec7f0
2016-10-18 15:42:02 +13:00
Jean-Yves Avenard
788c9353cc Bug 1292374: P3. Enable VP9 hardware acceleration on windows. r=gerald
MozReview-Commit-ID: BETY7nFDu5o

--HG--
extra : rebase_source : 2264dee30253c98885e761054799ae893cb927c3
2016-10-28 17:03:56 +11:00
Jean-Yves Avenard
fea3627b11 Bug 1292374: P2. Change preference name as it's no longer restricted to intel. r=gerald
MozReview-Commit-ID: EKZjkj9SFDw

--HG--
extra : rebase_source : e022610307232edc17b746f01879b2cddc16b6ef
2016-10-28 17:03:25 +11:00
Gerald Squelart
e076c9edaa Bug 1263665 - media.libavcodec.allow-obsolete=true bypasses blocking - r=jya
If "media.libavcodec.allow-obsolete" is set to true, the checks for older
libavcodec library versions are ignored.

MozReview-Commit-ID: HBhHfFomsrr

--HG--
extra : rebase_source : 6bfe06bd4354fcda90d7d33bedcbd176663cab31
2016-10-05 15:04:04 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Carsten "Tomcat" Book
f907696c77 Backed out changeset 5db740625292 (bug 1263665)
--HG--
extra : rebase_source : c288221771dfe66ac860504e7c8fa5e51abc6775
2016-10-05 16:05:06 +02:00
Gerald Squelart
0599e78abf Bug 1263665 - media.libavcodec.allow-obsolete=true bypasses blocking - r=jya
If "media.libavcodec.allow-obsolete" is set to true, the checks for older
libavcodec library versions are ignored.

MozReview-Commit-ID: HBhHfFomsrr

--HG--
extra : rebase_source : 2f42348018b19d20be64001df737b342e1813274
2016-10-04 23:52:45 -07:00
Matt Woodrow
d4df25998c Bug 1288618 - Part 11: Add a pref to enable GPU process video decoding. r=cpearce 2016-09-21 21:24:44 +12:00
Carsten "Tomcat" Book
f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matthew Gregan
8a99e587f7 Bug 1303247 - Add a dev-only pref to treat mismatches between Rust and Stagefright as a fatal error. r=rillian
MozReview-Commit-ID: Jl69N9VQTXR
2016-09-21 17:45:47 +12:00
Matt Woodrow
3689c6beb9 Bug 1288618 - Part 11: Add a pref to enable GPU process video decoding. r=cpearce
--HG--
extra : rebase_source : 41d489b9e8d0450d01ba5c3afa50c90aabeccf25
2016-09-21 15:36:10 +12:00
Iris Hsiao
2b06627798 Backed out changeset 85cacbef3243 (bug 1303247) for GTest Assertion failures
CLOSED TREE
2016-09-21 12:25:36 +08:00
Matthew Gregan
1b172c6726 Bug 1303247 - Add a dev-only pref to treat mismatches between Rust and Stagefright as a fatal error. r=rillian 2016-09-19 14:31:45 +12:00
Carsten "Tomcat" Book
dba0934b8e Backed out changeset 86e71b1c4edf (bug 1288618) 2016-09-15 16:34:03 +02:00
Matt Woodrow
e5633d1525 Bug 1288618 - Part 11: Add a pref to enable GPU process video decoding. r=cpearce 2016-09-15 23:18:00 +12:00
Jean-Yves Avenard
ee63d6aef9 Bug 1195723: [flac] P8. Add flac MediaDecoder. r=kamidphish
MozReview-Commit-ID: BQ9fERFEFcg

--HG--
extra : rebase_source : 04d365967a1caa1104e17b78b5b7c1fa46da27ae
2016-08-17 15:42:18 +10:00
Jean-Yves Avenard
f27ae02841 Bug 1195723: [ogg] P2. Refactor mimetype parsing for ogg. r=kamidphish
Make it just like MP4, WebM and all the others new demuxers.
Additionally, make the ogg related preferences part of MediaPrefs.

MozReview-Commit-ID: DTedHyIMv9I

--HG--
extra : rebase_source : 8bfdf971993281454776a7c4fa644c9fc7c5ee8c
2016-08-04 17:14:28 +10:00
Wes Kocher
24cb21d4f6 Backed out 15 changesets (bug 1195723) for various media test failures/unexpected-passes a=backout
Backed out changeset 2a3b10281c9c (bug 1195723)
Backed out changeset c3775a6225d8 (bug 1195723)
Backed out changeset ba0aeb71c672 (bug 1195723)
Backed out changeset 894061e6037e (bug 1195723)
Backed out changeset 4637f8be98bb (bug 1195723)
Backed out changeset c2664064fa55 (bug 1195723)
Backed out changeset 39908ea4c390 (bug 1195723)
Backed out changeset 3fcb5682049a (bug 1195723)
Backed out changeset 867d6507a381 (bug 1195723)
Backed out changeset c938ad9dd11c (bug 1195723)
Backed out changeset 7bdb9540b60f (bug 1195723)
Backed out changeset a4f7a73c04fa (bug 1195723)
Backed out changeset 7f86beff4263 (bug 1195723)
Backed out changeset efb6bcf743e7 (bug 1195723)
Backed out changeset 04eceefa54c7 (bug 1195723)
2016-08-22 10:07:25 -07:00
Jean-Yves Avenard
2fe396da19 Bug 1195723: [flac] P8. Add flac MediaDecoder. r=kamidphish
MozReview-Commit-ID: BQ9fERFEFcg

--HG--
extra : rebase_source : 259d428b921e11b1149811b15b2cbe81c5f76d14
2016-08-17 15:42:18 +10:00
Jean-Yves Avenard
5dd2775ab5 Bug 1195723: [ogg] P2. Refactor mimetype parsing for ogg. r=kamidphish
Make it just like MP4, WebM and all the others new demuxers.
Additionally, make the ogg related preferences part of MediaPrefs.

MozReview-Commit-ID: DTedHyIMv9I

--HG--
extra : rebase_source : 5ab806335b4ad17b04a20e37caf87eeb37f68bed
2016-08-04 17:14:28 +10:00
Chris Pearce
b20d1d8c23 Bug 1295630 - Provide a way for A/V sync to be ruined, so talos can test compositor throughput by painting expired frames. r=mattwoodrow
In bug 1258870 I changed the media code so that we dropped all late video
frames. Without this, our A/V sync was broken when the decode was struggling
to keep up, and we weren't reporting dropped frames when the decode couldn't
keep up, and so players couldn't adapt to a bitrate which the decode could keep
up on.

However, dropping all late frames broke talos tests which relied on the old
behaviour of us rendering video frames that were late. So this patch adds a
pref to cause the frame dropping code to not drop the last frame in the
queue, so there will always be something for the compositor to composit. This
means talos will once again be able to test how fast it can composit frames
that aren't supposed to be drawn.

The pref is media.ruin-av-sync.enabled.

It defaults to false.

MozReview-Commit-ID: J3VvpzoDRmI

--HG--
extra : rebase_source : ee24f37f201ef266e0894ca2c5afda498629ec0a
2016-08-19 21:34:42 +12:00
John Lin
d7cf8502c8 Bug 1257777 - Part 6: Implement remote data decoders and enable/disable them with pref. r=snorp
MozReview-Commit-ID: 54ZEckQHsBI

--HG--
extra : rebase_source : e655067a487aafeccb866877157616036044ba4b
2016-08-05 15:24:46 +08:00
JW Wang
6d0290635c Bug 1286766 - make MediaPrefs::MDSMSuspendBackgroundVideoDelay() safe to read off main thread using Preferences::AddAtomicUintVarCache(). r=gerald,kamidphish
MozReview-Commit-ID: FAplUTE07l0

--HG--
extra : rebase_source : 729a56f13c68621d03313b460d95e90796e66412
2016-07-14 15:50:23 +08:00
Eugen Sawin
bbee0cfc68 Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-23 15:26:11 +02:00
Gerald Squelart
2c4f274202 Bug 1271483 - p1. Optionally treat media.wmf.disabled as WMF failure for Decoder Doctor - r=cpearce
This can be used to test Decoder Doctor on Windows, but disabling WMF through
prefs, to trigger an Decoder Doctor infobar.

MozReview-Commit-ID: 1aRk111VFO7
2016-05-24 01:33:37 +10:00
Phil Ringnalda
94e97ec88d Back out changeset 87d0b9d9da94 (bug 1278574) for WinXP debug failures in services/sync/ tests related to SingletonExists() assertion failures 2016-06-20 13:38:40 -07:00
Eugen Sawin
7948d9d8d0 Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-20 16:14:30 +02:00
Eugen Sawin
a368c596cb Bug 1214710 - [1.11] Implement ReaderQueue for simultaneous decoder limit enforcement. r=jya,jwwang 2016-06-08 18:04:32 +02:00
Carsten "Tomcat" Book
d8feaef998 Backed out changeset 74a7d364f5a3 (bug 1214710) for bustage on a CLOSED TREE 2016-06-08 12:08:53 +02:00
Eugen Sawin
5a015f6bec Bug 1214710 - [1.11] Implement ReaderQueue for simultaneous decoder limit enforcement. r=jya,jwwang 2016-06-08 11:29:11 +02:00
Dan Glastonbury
dc5ff72da8 Bug 1275481: Suspend video decoding via timer. r=jwwang
Suspend decoding of video in background tabs once timer fires. The timer
is trigger on switch to invisible and reset each time becomes
visible. Default timer is set at 10 seconds and is controlled via pref
media.suspend-bkgnd-video.delay-ms.

MozReview-Commit-ID: IPIQ1g7Hkpw

--HG--
extra : rebase_source : d3610dced708ea79611beeed40fc8c8a07ee2d1b
2016-05-30 17:25:10 +10:00
Jean-Yves Avenard
c1e4f58ec9 Bug 1271491: [WMF] P1. Don't use main thread only preferences methods. r=cpearce
Instead rely on MediaPrefs.

MozReview-Commit-ID: 2O1eGHYycTX

--HG--
extra : rebase_source : 275b9e8cdbcd8c5deb738d279cef47f9490b6ac6
2016-05-10 12:15:58 +10:00
Jean-Yves Avenard
88d66c4a43 Bug 1271490: Use MediaPrefs to read preferences. r=cpearce
MozReview-Commit-ID: Ak5mUfGA4kc

--HG--
extra : rebase_source : 8ac6e232081bbf512354f006bd5ae78c09240924
2016-05-10 11:27:05 +10:00
Jean-Yves Avenard
d31cb0499b Bug 1206637: P2. Replace all cached preferences with MediaPrefs ones. r=cpearce
Additionally, clean up stray and unused Preferences.h header.

MozReview-Commit-ID: IcPrD2inkDE

--HG--
extra : rebase_source : c3c6e37767627db3601090c2855a3dfa98cb4368
2016-05-10 11:02:28 +10:00
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00