| Index: media/filters/source_buffer_stream.h
|
| diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h
|
| index 9594d9dbc54ee2030fbe8a2674456690eeedfb20..b4c9bc1b631668cc9476be6b0fb8bb8fd588c22f 100644
|
| --- a/media/filters/source_buffer_stream.h
|
| +++ b/media/filters/source_buffer_stream.h
|
| @@ -49,6 +49,8 @@ class MEDIA_EXPORT SourceBufferStream {
|
| const LogCB& log_cb);
|
| SourceBufferStream(const VideoDecoderConfig& video_config,
|
| const LogCB& log_cb);
|
| + SourceBufferStream(const TextTrackConfig& text_config,
|
| + const LogCB& log_cb);
|
|
|
| ~SourceBufferStream();
|
|
|
| @@ -107,6 +109,7 @@ class MEDIA_EXPORT SourceBufferStream {
|
|
|
| const AudioDecoderConfig& GetCurrentAudioDecoderConfig();
|
| const VideoDecoderConfig& GetCurrentVideoDecoderConfig();
|
| + const TextTrackConfig& GetCurrentTextTrackConfig();
|
|
|
| // Notifies this object that the audio config has changed and buffers in
|
| // future Append() calls should be associated with this new config.
|
| @@ -320,6 +323,9 @@ class MEDIA_EXPORT SourceBufferStream {
|
| std::vector<AudioDecoderConfig> audio_configs_;
|
| std::vector<VideoDecoderConfig> video_configs_;
|
|
|
| + // Holds the text config for this stream.
|
| + TextTrackConfig text_track_config_;
|
| +
|
| // True if more data needs to be appended before the Seek() can complete,
|
| // false if no Seek() has been requested or the Seek() is completed.
|
| bool seek_pending_;
|
|
|