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

Unified Diff: media/base/android/video_decoder_job.cc

Issue 730133003: Android: use demuxer configs for video output size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/video_decoder_job.cc
diff --git a/media/base/android/video_decoder_job.cc b/media/base/android/video_decoder_job.cc
index bfa0dc32a668c41db84321af69a728ec0ad2aef0..8a4894fd563557e2c03eb1290f2e471ce9579bc0 100644
--- a/media/base/android/video_decoder_job.cc
+++ b/media/base/android/video_decoder_job.cc
@@ -158,7 +158,8 @@ bool VideoDecoderJob::UpdateOutputFormat() {
return false;
int prev_output_width = output_width_;
int prev_output_height = output_height_;
- media_codec_bridge_->GetOutputFormat(&output_width_, &output_height_);
+ output_width_ = config_width_;
qinmin 2014/11/17 19:55:48 please add a link to the internal bug so we can ke
gunsch 2014/11/17 20:04:45 Done.
+ output_height_ = config_height_;
return (output_width_ != prev_output_width) ||
(output_height_ != prev_output_height);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698