Chromium Code Reviews| 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..866795b9e19bb390d96e329c35fe8161caada7b1 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. |
| + GotOutputFormatChanged(); |
| has_format_change = true; |
| } |
| } while (status != MEDIA_CODEC_OK && status != MEDIA_CODEC_ERROR && |
| @@ -649,6 +650,9 @@ bool MediaDecoderJob::IsCodecReconfigureNeeded( |
| return true; |
| } |
| +void MediaDecoderJob::GotOutputFormatChanged() { |
| +} |
|
qinmin
2015/01/27 22:37:01
nit: "}" can be moved to the previous line
kjoswiak
2015/01/27 23:18:25
Done.
|
| + |
| bool MediaDecoderJob::UpdateOutputFormat() { |
| return false; |
| } |