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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.cc

Issue 2151183002: Skip posting DecodeTask of resolution changing while resetting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable VP9 decoding Created 4 years, 4 months 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
« no previous file with comments | « no previous file | chrome/gpu/arc_video_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/arc_gpu_video_decode_accelerator.cc
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.cc b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
index d86aa671af7dbe8d93d6421333a16cf48117112f..c07307aa2ed97e899df2c0b1da30202145ca01f3 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
@@ -102,6 +102,9 @@ ArcVideoAccelerator::Result ArcGpuVideoDecodeAccelerator::Initialize(
case HAL_PIXEL_FORMAT_VP8:
vda_config.profile = media::VP8PROFILE_ANY;
break;
+ case HAL_PIXEL_FORMAT_VP9:
+ vda_config.profile = media::VP9PROFILE_PROFILE0;
+ break;
default:
DLOG(ERROR) << "Unsupported input format: " << config.input_pixel_format;
return INVALID_ARGUMENT;
« no previous file with comments | « no previous file | chrome/gpu/arc_video_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698