Index: content/common/gpu/media/vaapi_h264_decoder.cc |
diff --git a/content/common/gpu/media/vaapi_h264_decoder.cc b/content/common/gpu/media/vaapi_h264_decoder.cc |
index 9654a3c246acbaff487493fbddb29353ef8dfaf8..91e76af81becc6129c0be3f79e3b3d4460e0cd86 100644 |
--- a/content/common/gpu/media/vaapi_h264_decoder.cc |
+++ b/content/common/gpu/media/vaapi_h264_decoder.cc |
@@ -488,8 +488,8 @@ bool VaapiH264Decoder::DecodePicture() { |
return false; |
} |
- if (!vaapi_wrapper_->DecodeAndDestroyPendingBuffers( |
- dec_surface->va_surface()->id())) { |
+ if (!vaapi_wrapper_->ExecuteAndDestroyPendingBuffers( |
+ dec_surface->va_surface()->id())) { |
DVLOG(1) << "Failed decoding picture"; |
return false; |
} |