Index: media/base/android/media_decoder_job.cc |
diff --git a/media/base/android/media_decoder_job.cc b/media/base/android/media_decoder_job.cc |
index d96785e2121de96e6162c280da8ee3f6ef6dbdbf..639b44fffea598101f9929135c72702fa8846af8 100644 |
--- a/media/base/android/media_decoder_job.cc |
+++ b/media/base/android/media_decoder_job.cc |
@@ -432,6 +432,7 @@ void MediaDecoderJob::DecodeInternal( |
if (status == MEDIA_CODEC_OUTPUT_FORMAT_CHANGED) { |
// TODO(qinmin): instead of waiting for the next output buffer to be |
// dequeued, post a task on the UI thread to signal the format change. |
+ OnOutputFormatChanged(); |
has_format_change = true; |
} |
} while (status != MEDIA_CODEC_OK && status != MEDIA_CODEC_ERROR && |
@@ -649,6 +650,8 @@ bool MediaDecoderJob::IsCodecReconfigureNeeded( |
return true; |
} |
+void MediaDecoderJob::OnOutputFormatChanged() {} |
+ |
bool MediaDecoderJob::UpdateOutputFormat() { |
return false; |
} |