Add flag to enable MJPEG acceleration for video capture
BUG=335778
TEST=apprtc.appspot.com on intel platform
Review URL: https://codereview.chromium.org/1153163003
Cr-Commit-Position: refs/heads/master@{#336560}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 3dd43f42..e354e5c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2009,6 +2009,13 @@
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
#endif
+#if defined(OS_CHROMEOS)
+ {"enable-accelerated-mjpeg-decode",
+ IDS_FLAGS_ENABLE_ACCELERATED_MJPEG_DECODE_NAME,
+ IDS_FLAGS_ENABLE_ACCELERATED_MJPEG_DECODE_DESCRIPTION,
+ kOsCrOS,
+ SINGLE_VALUE_TYPE(switches::kEnableAcceleratedMjpegDecode)},
+#endif // OS_CHROMEOS
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.