| Index: media/gpu/vaapi_video_decode_accelerator.cc
|
| diff --git a/media/gpu/vaapi_video_decode_accelerator.cc b/media/gpu/vaapi_video_decode_accelerator.cc
|
| index a119f0fd16b039ddefc831c5be2fef71e14837de..025ad6646fb6d5f19d04da436dd9c746afe8cfeb 100644
|
| --- a/media/gpu/vaapi_video_decode_accelerator.cc
|
| +++ b/media/gpu/vaapi_video_decode_accelerator.cc
|
| @@ -359,7 +359,7 @@ bool VaapiVideoDecodeAccelerator::Initialize(const Config& config,
|
|
|
| base::AutoLock auto_lock(lock_);
|
| DCHECK_EQ(state_, kUninitialized);
|
| - DVLOG(2) << "Initializing VAVDA, profile: " << profile;
|
| + DVLOG(2) << "Initializing VAVDA, profile: " << GetProfileName(profile);
|
|
|
| #if defined(USE_X11)
|
| if (gl::GetGLImplementation() != gl::kGLImplementationDesktopGL) {
|
| @@ -379,7 +379,8 @@ bool VaapiVideoDecodeAccelerator::Initialize(const Config& config,
|
| VaapiWrapper::kDecode, profile, base::Bind(&ReportToUMA, VAAPI_ERROR));
|
|
|
| if (!vaapi_wrapper_.get()) {
|
| - DVLOG(1) << "Failed initializing VAAPI for profile " << profile;
|
| + DVLOG(1) << "Failed initializing VAAPI for profile "
|
| + << GetProfileName(profile);
|
| return false;
|
| }
|
|
|
| @@ -394,7 +395,7 @@ bool VaapiVideoDecodeAccelerator::Initialize(const Config& config,
|
| vp9_accelerator_.reset(new VaapiVP9Accelerator(this, vaapi_wrapper_.get()));
|
| decoder_.reset(new VP9Decoder(vp9_accelerator_.get()));
|
| } else {
|
| - DLOG(ERROR) << "Unsupported profile " << profile;
|
| + DLOG(ERROR) << "Unsupported profile " << GetProfileName(profile);
|
| return false;
|
| }
|
|
|
| @@ -1744,7 +1745,7 @@ bool VaapiVideoDecodeAccelerator::VaapiVP9Accelerator::SubmitDecode(
|
| DCHECK(frame_hdr);
|
|
|
| if (frame_hdr->profile != 0) {
|
| - DVLOG(1) << "Unsupported profile" << frame_hdr->profile;
|
| + DVLOG(1) << "Unsupported profile" << GetProfileName(frame_hdr->profile);
|
| return false;
|
| }
|
|
|
|
|