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

Unified Diff: media/base/audio_decoder.h

Issue 1708963002: Ensure ADTS for AAC for MediaCodecAudioDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_decoder.h
diff --git a/media/base/audio_decoder.h b/media/base/audio_decoder.h
index 592747c3997b2c0e2e7c578be24a0153cf9770e2..5c6efd6c5ce76a6b80a1d7fbbe969927537aec66 100644
--- a/media/base/audio_decoder.h
+++ b/media/base/audio_decoder.h
@@ -85,6 +85,9 @@ class MEDIA_EXPORT AudioDecoder {
// aborted before |closure| is called.
virtual void Reset(const base::Closure& closure) = 0;
+ // Returns true if the decoder needs bitstream conversion before decoding.
+ virtual bool NeedsBitstreamConversion() const;
DaleCurtis 2016/02/18 04:04:37 Hmm, interface used to be pure virtual up to this
+
private:
DISALLOW_COPY_AND_ASSIGN(AudioDecoder);
};
« no previous file with comments | « no previous file | media/base/audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698