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

Unified Diff: media/base/demuxer_stream.h

Issue 8341033: Remove DemuxerStream::GetAVStream() once and for all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: now with cmath Created 9 years, 2 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/demuxer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer_stream.h
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h
index e81423e8069bd3f4abaf902138c167641177d4c2..07dfe7119647b493b33bbed23269c7355d80bef5 100644
--- a/media/base/demuxer_stream.h
+++ b/media/base/demuxer_stream.h
@@ -15,6 +15,7 @@ namespace media {
class AudioDecoderConfig;
class Buffer;
+class VideoDecoderConfig;
class MEDIA_EXPORT DemuxerStream
: public base::RefCountedThreadSafe<DemuxerStream> {
@@ -32,13 +33,14 @@ class MEDIA_EXPORT DemuxerStream
// object takes ownership of the buffer by AddRef()'ing the buffer.
virtual void Read(const ReadCallback& read_callback) = 0;
- // Returns an |AVStream*| if supported, or NULL.
- virtual AVStream* GetAVStream();
-
// Returns the audio decoder configuration. It is an error to call this method
// if type() != AUDIO.
virtual const AudioDecoderConfig& audio_decoder_config() = 0;
+ // Returns the video decoder configuration. It is an error to call this method
+ // if type() != VIDEO.
+ virtual const VideoDecoderConfig& video_decoder_config() = 0;
+
// Returns the type of stream.
virtual Type type() = 0;
« no previous file with comments | « no previous file | media/base/demuxer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698