Index: content/common/gpu/media/vaapi_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc |
index 360bd291704c75e725244f77424b4a182a11980f..18826c1e13411a5acc6b9f57f8e15e7a592efa5d 100644 |
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc |
@@ -300,7 +300,9 @@ bool VaapiVideoDecodeAccelerator::Initialize(media::VideoCodecProfile profile, |
} |
vaapi_wrapper_ = VaapiWrapper::Create( |
- profile, x_display_, |
+ VaapiWrapper::kDecode, |
+ profile, |
+ x_display_, |
base::Bind(&ReportToUMA, content::VaapiH264Decoder::VAAPI_ERROR)); |
if (!vaapi_wrapper_.get()) { |