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

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

Issue 1344133002: MediaCodecPlayer implementation - stage 7 (DRM) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-drm-prepare
Patch Set: Renamed a variable Created 5 years, 3 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 | « no previous file | 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 df0193fe5c09d24b56466d1c17ef81057599d51f..03df46b0ab1e5c4e3b1f22eb321238a8d9a5c57c 100644
--- a/media/base/android/media_codec_audio_decoder.h
+++ b/media/base/android/media_codec_audio_decoder.h
@@ -23,6 +23,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
const base::Closure& starvation_cb,
const base::Closure& decoder_drained_cb,
const base::Closure& stop_done_cb,
+ const base::Closure& waiting_for_decryption_key_cb,
const base::Closure& error_cb,
const SetTimeCallback& update_current_time_cb);
~MediaCodecAudioDecoder() override;
@@ -31,6 +32,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
bool HasStream() const override;
void SetDemuxerConfigs(const DemuxerConfigs& configs) override;
+ bool IsContentEncrypted() const override;
void ReleaseDecoderResources() override;
void Flush() override;
@@ -42,7 +44,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
protected:
bool IsCodecReconfigureNeeded(const DemuxerConfigs& next) const override;
- ConfigStatus ConfigureInternal() override;
+ ConfigStatus ConfigureInternal(jobject media_crypto) override;
void OnOutputFormatChanged() override;
void Render(int buffer_index,
size_t offset,
« no previous file with comments | « no previous file | media/base/android/media_codec_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698