| Index: media/base/android/media_decoder_job.h
|
| diff --git a/media/base/android/media_decoder_job.h b/media/base/android/media_decoder_job.h
|
| index 4f5f3af62d9352debaafeaf50d9307fb164e2b16..549450b756fce360ce576b27581f2970ccef9b50 100644
|
| --- a/media/base/android/media_decoder_job.h
|
| +++ b/media/base/android/media_decoder_job.h
|
| @@ -231,9 +231,10 @@ class MediaDecoderJob {
|
| // new DemuxerConfigs, or false otherwise.
|
| virtual bool IsCodecReconfigureNeeded(const DemuxerConfigs& configs) const;
|
|
|
| - // Update the output format from the decoder, returns true if the output
|
| - // format changes, or false otherwise.
|
| - virtual bool UpdateOutputFormat();
|
| + // Update the output format from the decoder. Runs |config_changed_cb| only if
|
| + // format actually changes and there are no errors. Returns false on error,
|
| + // true otherwise
|
| + virtual bool UpdateOutputFormat(const base::Closure& config_changed_cb) = 0;
|
|
|
| // Return the index to |received_data_| that is not currently being decoded.
|
| size_t inactive_demuxer_data_index() const {
|
|
|