| Index: content/common/gpu/media/vaapi_wrapper.cc
|
| diff --git a/content/common/gpu/media/vaapi_wrapper.cc b/content/common/gpu/media/vaapi_wrapper.cc
|
| index 4b0155219cfaf621b3fab8763f425534c8a8bdaa..4734200f73b532b1d7ddf8a8e5c8d74e185ecbf9 100644
|
| --- a/content/common/gpu/media/vaapi_wrapper.cc
|
| +++ b/content/common/gpu/media/vaapi_wrapper.cc
|
| @@ -408,8 +408,8 @@ bool VaapiWrapper::pre_sandbox_init_done_ = false;
|
| // static
|
| void VaapiWrapper::PreSandboxInitialization() {
|
| DCHECK(!pre_sandbox_init_done_);
|
| - vaapi_handle = dlopen("libva.so", RTLD_NOW);
|
| - vaapi_x11_handle = dlopen("libva-x11.so", RTLD_NOW);
|
| + vaapi_handle = dlopen("libva.so.1", RTLD_NOW);
|
| + vaapi_x11_handle = dlopen("libva-x11.so.1", RTLD_NOW);
|
| pre_sandbox_init_done_ = vaapi_handle && vaapi_x11_handle;
|
| }
|
|
|
| @@ -443,7 +443,7 @@ bool VaapiWrapper::PostSandboxInitialization() {
|
| VAAPI_DLSYM_OR_RETURN_ON_ERROR(Initialize, vaapi_handle);
|
| VAAPI_DLSYM_OR_RETURN_ON_ERROR(PutSurface, vaapi_x11_handle);
|
| VAAPI_DLSYM_OR_RETURN_ON_ERROR(RenderPicture, vaapi_handle);
|
| - VAAPI_DLSYM_OR_RETURN_ON_ERROR(SyncSurface, vaapi_x11_handle);
|
| + VAAPI_DLSYM_OR_RETURN_ON_ERROR(SyncSurface, vaapi_handle);
|
| VAAPI_DLSYM_OR_RETURN_ON_ERROR(Terminate, vaapi_handle);
|
| #undef VAAPI_DLSYM
|
|
|
|
|