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

Unified Diff: media/filters/adaptive_demuxer.cc

Issue 7867051: Introduce AudioDecoderConfig to migrate away from GetAVStream(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: samples_per_second Created 9 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 | « media/filters/adaptive_demuxer.h ('k') | media/filters/audio_renderer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/adaptive_demuxer.cc
diff --git a/media/filters/adaptive_demuxer.cc b/media/filters/adaptive_demuxer.cc
index 84a84c8a37bdee40f8b50cf2f2d022cf67a137b0..de980f98cdc09518baba0848d0b853c89e837604 100644
--- a/media/filters/adaptive_demuxer.cc
+++ b/media/filters/adaptive_demuxer.cc
@@ -217,6 +217,10 @@ AVStream* AdaptiveDemuxerStream::GetAVStream() {
return current_stream()->GetAVStream();
}
+const AudioDecoderConfig& AdaptiveDemuxerStream::audio_decoder_config() {
+ return current_stream()->audio_decoder_config();
+}
+
DemuxerStream::Type AdaptiveDemuxerStream::type() {
return current_stream()->type();
}
« no previous file with comments | « media/filters/adaptive_demuxer.h ('k') | media/filters/audio_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698