Index: content/common/gpu/media/vaapi_h264_decoder_unittest.cc |
diff --git a/content/common/gpu/media/vaapi_h264_decoder_unittest.cc b/content/common/gpu/media/vaapi_h264_decoder_unittest.cc |
index 6bd873e88eab04eac9b4cc95c4526a2695e4b2a8..b14c50b153e8e92a56e31f2ca71732f8a1b6d85f 100644 |
--- a/content/common/gpu/media/vaapi_h264_decoder_unittest.cc |
+++ b/content/common/gpu/media/vaapi_h264_decoder_unittest.cc |
@@ -127,7 +127,8 @@ bool VaapiH264DecoderLoop::Initialize(base::FilePath input_file, |
media::VideoCodecProfile profile = media::H264PROFILE_BASELINE; |
base::Closure report_error_cb = |
base::Bind(&LogOnError, VaapiH264Decoder::VAAPI_ERROR); |
- wrapper_ = VaapiWrapper::Create(profile, x_display_, report_error_cb); |
+ wrapper_ = VaapiWrapper::Create( |
+ VaapiWrapper::kDecode, profile, x_display_, report_error_cb); |
if (!wrapper_.get()) { |
LOG(ERROR) << "Can't create vaapi wrapper"; |
return false; |