From e5633d1525914f7c5c1d40161c765b7a7dcaa0c7 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Thu, 15 Sep 2016 23:18:00 +1200 Subject: [PATCH] Bug 1288618 - Part 11: Add a pref to enable GPU process video decoding. r=cpearce --- dom/media/MediaPrefs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dom/media/MediaPrefs.h b/dom/media/MediaPrefs.h index 012d56b5c6cf..44485b422a14 100644 --- a/dom/media/MediaPrefs.h +++ b/dom/media/MediaPrefs.h @@ -101,6 +101,7 @@ private: DECL_MEDIA_PREF("media.gmp.async-shutdown-timeout", GMPAsyncShutdownTimeout, uint32_t, GMP_DEFAULT_ASYNC_SHUTDOWN_TIMEOUT); DECL_MEDIA_PREF("media.eme.enabled", EMEEnabled, bool, false); DECL_MEDIA_PREF("media.use-blank-decoder", PDMUseBlankDecoder, bool, false); + DECL_MEDIA_PREF("media.gpu-process-decoder", PDMUseGPUDecoder, bool, false); #ifdef MOZ_GONK_MEDIACODEC DECL_MEDIA_PREF("media.gonk.enabled", PDMGonkDecoderEnabled, bool, true); #endif