| 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;
|
|
|
|
|