Index: content/browser/gpu/gpu_data_manager_impl_private.cc |
=================================================================== |
--- content/browser/gpu/gpu_data_manager_impl_private.cc (revision 254895) |
+++ content/browser/gpu/gpu_data_manager_impl_private.cc (working copy) |
@@ -805,6 +805,12 @@ |
prefs->pepper_3d_enabled = false; |
} |
#endif |
+ |
+ if (!IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE) && |
+ !CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableAcceleratedVideoDecode)) { |
+ prefs->pepper_accelerated_video_decode_enabled = true; |
+ } |
} |
void GpuDataManagerImplPrivate::DisableHardwareAcceleration() { |