Loading dom/media/webm/WebMDemuxer.cpp +11 −0 Original line number Diff line number Diff line Loading @@ -1030,5 +1030,16 @@ WebMTrackDemuxer::BreakCycles() mParent = nullptr; } int64_t WebMTrackDemuxer::GetEvictionOffset(const media::TimeUnit& aTime) { int64_t offset; if (!mParent->GetOffsetForTime(aTime.ToNanoseconds(), &offset)) { return 0; } return offset; } #undef WEBM_DEBUG } // namespace mozilla dom/media/webm/WebMDemuxer.h +2 −0 Original line number Diff line number Diff line Loading @@ -230,6 +230,8 @@ public: media::TimeIntervals GetBuffered() override; int64_t GetEvictionOffset(const media::TimeUnit& aTime) override; void BreakCycles() override; private: Loading Loading
dom/media/webm/WebMDemuxer.cpp +11 −0 Original line number Diff line number Diff line Loading @@ -1030,5 +1030,16 @@ WebMTrackDemuxer::BreakCycles() mParent = nullptr; } int64_t WebMTrackDemuxer::GetEvictionOffset(const media::TimeUnit& aTime) { int64_t offset; if (!mParent->GetOffsetForTime(aTime.ToNanoseconds(), &offset)) { return 0; } return offset; } #undef WEBM_DEBUG } // namespace mozilla
dom/media/webm/WebMDemuxer.h +2 −0 Original line number Diff line number Diff line Loading @@ -230,6 +230,8 @@ public: media::TimeIntervals GetBuffered() override; int64_t GetEvictionOffset(const media::TimeUnit& aTime) override; void BreakCycles() override; private: Loading