Index: media/base/android/media_codec_player.h |
diff --git a/media/base/android/media_codec_player.h b/media/base/android/media_codec_player.h |
index 8772ac8f26fb3bab680892ab7307852537df3493..883cf4cf966270275b72233eef75e2d62732a255 100644 |
--- a/media/base/android/media_codec_player.h |
+++ b/media/base/android/media_codec_player.h |
@@ -201,6 +201,7 @@ class MEDIA_EXPORT MediaCodecPlayer : public MediaPlayerAndroid, |
// For testing only. |
void SetDecodersTimeCallbackForTests(DecodersTimeCallback cb); |
+ void SetAlwaysReconfigureForTests(DemuxerStream::Type type); |
bool IsPrerollingForTests(DemuxerStream::Type type) const; |
private: |
@@ -249,7 +250,8 @@ class MEDIA_EXPORT MediaCodecPlayer : public MediaPlayerAndroid, |
void RequestDemuxerData(DemuxerStream::Type stream_type); |
void OnPrefetchDone(); |
void OnPrerollDone(); |
- void OnStopDone(); |
+ void OnDecoderDrained(DemuxerStream::Type type); |
+ void OnStopDone(DemuxerStream::Type type); |
void OnError(); |
void OnStarvation(DemuxerStream::Type stream_type); |
void OnTimeIntervalUpdate(DemuxerStream::Type stream_type, |