Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(940)

Unified Diff: media/base/media_switches.cc

Issue 285343003: Add 4k HW decode override flag and support larger bitstream buffers in V4L2VDA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index e7982da16d695eb00879625be31089d77b0a9852..166fb5dd3da33da72e063277593bada4ef141b98 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -15,6 +15,11 @@ const char kVideoThreads[] = "video-threads";
// Enables ADTS stream parser for Media Source Extensions.
const char kEnableADTSStreamParser[] = "enable-adts-stream-parser";
+// Force hardware decode of 4k video even if we were not able to detect
+// this capability.
+const char kForce4kAcceleratedVideoDecode[] =
Ami GONE FROM CHROMIUM 2014/05/15 16:00:42 kAssume4kHWVideoDecodeIsSupported is closer to wha
Pawel Osciak 2014/05/16 03:53:01 I'd prefer s/Size/Resolution/. This will probably
Ami GONE FROM CHROMIUM 2014/05/16 16:49:59 \grumpycat{good} (it's not like this is a flag tha
+ "force-4k-accelerated-video-decode";
+
#if defined(OS_ANDROID)
// Disables the infobar popup for accessing protected media identifier.
const char kDisableInfobarForProtectedMediaIdentifier[] =

Powered by Google App Engine
This is Rietveld 408576698