Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1669)

Unified Diff: content/common/gpu/media/vaapi_video_decode_accelerator.cc

Issue 1422563002: [Ozone] Enables overlay render format setting path and by default use UYVY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d5b70aa814066aeaeda4824911614c91210fdb59..bf4166d5ad1abb95e3c6b8a5e1f7d21e1ab59980 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
@@ -1000,7 +1000,7 @@ VaapiVideoDecodeAccelerator::CreateSurface() {
DCHECK(!awaiting_va_surfaces_recycle_);
scoped_refptr<VASurface> va_surface(
new VASurface(available_va_surfaces_.front(), requested_pic_size_,
- va_surface_release_cb_));
+ VA_RT_FORMAT_YUV420, va_surface_release_cb_));
available_va_surfaces_.pop_front();
scoped_refptr<VaapiDecodeSurface> dec_surface =

Powered by Google App Engine
This is Rietveld 408576698