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

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

Issue 1726103002: Disable adaptive resolution support for MediaCodec use by AVDA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment. Created 4 years, 10 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 | media/base/android/java/src/org/chromium/media/MediaCodecBridge.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/android_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc
index 5e94328b13f084c06e9e5d9842a4de071317614f..3ae4a8e6d33862eeae14c6ad07d7ccdc89945d33 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.cc
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc
@@ -809,7 +809,7 @@ bool AndroidVideoDecodeAccelerator::ConfigureMediaCodec() {
// when it's known from the bitstream.
media_codec_.reset(media::VideoCodecBridge::CreateDecoder(
codec_, needs_protected_surface_, gfx::Size(320, 240),
- surface_.j_surface().obj(), media_crypto));
+ surface_.j_surface().obj(), media_crypto, false));
strategy_->CodecChanged(media_codec_.get(), output_picture_buffers_);
if (!media_codec_) {
« no previous file with comments | « no previous file | media/base/android/java/src/org/chromium/media/MediaCodecBridge.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698