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

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

Issue 1764813002: Catch CodecException in MediaCodecBridge and return MEDIA_CODEC_ERROR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dale's 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 | « media/base/android/sdk_media_codec_bridge.cc ('k') | media/base/android/video_media_codec_decoder.cc » ('j') | 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 fa49ab3ba480a9188dea180b9f1e0d55c79e9a73..3e3123c98ceb90013d38e555a1170bb16aa6f5da 100644
--- a/media/base/android/video_decoder_job.cc
+++ b/media/base/android/video_decoder_job.cc
@@ -151,7 +151,7 @@ bool VideoDecoderJob::UpdateOutputFormat() {
return false;
int prev_output_width = output_width_;
int prev_output_height = output_height_;
- // See b/18224769. The values reported from MediaCodecBridge::GetOutputFormat
+ // See b/18224769. The values reported from MediaCodecBridge::GetOutputSize
// correspond to the actual video frame size, but this is not necessarily the
// size that should be output.
output_width_ = config_width_;
« no previous file with comments | « media/base/android/sdk_media_codec_bridge.cc ('k') | media/base/android/video_media_codec_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698