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 c07de5489701cca2eef69a891f1077ccabe9c2f5..58371fa38c5fa9c6f4234faae8fcd0251839510c 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(); |
@@ -148,6 +148,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; |
@@ -164,6 +168,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; |