Index: media/base/demuxer_stream.h |
diff --git a/media/base/demuxer_stream.h b/media/base/demuxer_stream.h |
index bb4534475ed14099c92a2cfec0ffb75e2f18584a..60cb91a075041e00d129c415f3ce1d74e5ebf1c0 100644 |
--- a/media/base/demuxer_stream.h |
+++ b/media/base/demuxer_stream.h |
@@ -13,6 +13,7 @@ namespace media { |
class AudioDecoderConfig; |
class DecoderBuffer; |
+class TextTrackConfig; |
class VideoDecoderConfig; |
class MEDIA_EXPORT DemuxerStream { |
@@ -21,6 +22,7 @@ class MEDIA_EXPORT DemuxerStream { |
UNKNOWN, |
AUDIO, |
VIDEO, |
+ TEXT, |
NUM_TYPES, // Always keep this entry as the last one! |
}; |
@@ -62,6 +64,10 @@ class MEDIA_EXPORT DemuxerStream { |
// if type() != VIDEO. |
virtual VideoDecoderConfig video_decoder_config() = 0; |
+ // Returns the text track configuration. It is an error to call this method |
+ // if type() != TEXT. |
+ virtual TextTrackConfig text_track_config() = 0; |
acolwell GONE FROM CHROMIUM
2013/10/21 20:10:40
nit: Is this really needed on the DemuxerStream in
Matthew Heaney (Chromium)
2013/10/23 05:09:01
Done.
|
+ |
// Returns the type of stream. |
virtual Type type() = 0; |