Index: third_party/WebKit/Source/modules/mediasource/SourceBuffer.h |
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h |
index 2d3875287011b20775c6a6d57ccc93b2b88bbf5c..e7cb826d479a76353b6d85f0ee7faf3aa7edda2c 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h |
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.h |
@@ -111,7 +111,7 @@ public: |
const AtomicString& interfaceName() const override; |
// WebSourceBufferClient interface |
- WebVector<WebMediaPlayer::TrackId> initializationSegmentReceived(const WebVector<MediaTrackInfo>&) override; |
+ bool initializationSegmentReceived(const WebVector<MediaTrackInfo>&) override; |
DECLARE_VIRTUAL_TRACE(); |
@@ -137,6 +137,10 @@ private: |
void removeMediaTracks(); |
+ const TrackDefault* getTrackDefault(const AtomicString& trackType, const AtomicString& byteStreamTrackID) const; |
+ AtomicString defaultTrackLabel(const AtomicString& trackType, const AtomicString& byteStreamTrackID) const; |
+ AtomicString defaultTrackLanguage(const AtomicString& trackType, const AtomicString& byteStreamTrackID) const; |
+ |
// FileReaderLoaderClient interface |
void didStartLoading() override; |
void didReceiveDataForClient(const char* data, unsigned dataLength) override; |
@@ -153,6 +157,7 @@ private: |
double m_timestampOffset; |
Member<AudioTrackList> m_audioTracks; |
Member<VideoTrackList> m_videoTracks; |
+ bool m_activeTrack = false; |
double m_appendWindowStart; |
double m_appendWindowEnd; |
bool m_firstInitializationSegmentReceived; |