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..0ff12ea8f4181baca754a8f27dccf98559b007a6 100644 |
--- a/media/base/android/media_decoder_job.h |
+++ b/media/base/android/media_decoder_job.h |
@@ -231,6 +231,11 @@ class MediaDecoderJob { |
// new DemuxerConfigs, or false otherwise. |
virtual bool IsCodecReconfigureNeeded(const DemuxerConfigs& configs) const; |
+ // Signals to decoder job that decoder has updated output format. Decoder job |
+ // may need to do internal reconfiguration in order to correctly interpret |
+ // incoming buffers |
+ virtual void GotOutputFormatChanged(); |
qinmin
2015/01/27 22:37:01
nit: Normally functions like this are named to "On
kjoswiak
2015/01/27 23:18:25
Done.
|
+ |
// Update the output format from the decoder, returns true if the output |
// format changes, or false otherwise. |
virtual bool UpdateOutputFormat(); |