Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: media/base/android/media_codec_audio_decoder.h

Issue 1287423004: MediaCodecPlayer implementation (stage 5 - reconfiguration) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-cleanuptest
Patch Set: Fixed AdvanceAccessUnitQueue() Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/android/demuxer_stream_player_params.cc ('k') | media/base/android/media_codec_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_audio_decoder.h
diff --git a/media/base/android/media_codec_audio_decoder.h b/media/base/android/media_codec_audio_decoder.h
index 789d68c6df550aeada6e91531a297efe5174344d..df0193fe5c09d24b56466d1c17ef81057599d51f 100644
--- a/media/base/android/media_codec_audio_decoder.h
+++ b/media/base/android/media_codec_audio_decoder.h
@@ -21,6 +21,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
const scoped_refptr<base::SingleThreadTaskRunner>& media_runner,
const base::Closure& request_data_cb,
const base::Closure& starvation_cb,
+ const base::Closure& decoder_drained_cb,
const base::Closure& stop_done_cb,
const base::Closure& error_cb,
const SetTimeCallback& update_current_time_cb);
@@ -40,8 +41,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
void SetBaseTimestamp(base::TimeDelta base_timestamp);
protected:
- bool IsCodecReconfigureNeeded(const DemuxerConfigs& curr,
- const DemuxerConfigs& next) const override;
+ bool IsCodecReconfigureNeeded(const DemuxerConfigs& next) const override;
ConfigStatus ConfigureInternal() override;
void OnOutputFormatChanged() override;
void Render(int buffer_index,
« no previous file with comments | « media/base/android/demuxer_stream_player_params.cc ('k') | media/base/android/media_codec_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698