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

76 Коммитов

Автор SHA1 Сообщение Дата
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