diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-05-07 13:40:21 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:47:02 +0000 |
commit | 6b7997abbe7acb25d77266633db03680f80cb8eb (patch) | |
tree | 1c017f8dbada0b103281510abcdb4384a2770ba7 /dom/media/webm/WebMBufferedParser.cpp | |
parent | f358c4dfa98a079816afe53f0449d5f1ce93244c (diff) | |
download | UXP-6b7997abbe7acb25d77266633db03680f80cb8eb.tar UXP-6b7997abbe7acb25d77266633db03680f80cb8eb.tar.gz UXP-6b7997abbe7acb25d77266633db03680f80cb8eb.tar.lz UXP-6b7997abbe7acb25d77266633db03680f80cb8eb.tar.xz UXP-6b7997abbe7acb25d77266633db03680f80cb8eb.zip |
Issue #1536 - Part 2: Parse content to decide whether it's a media segment.
Diffstat (limited to 'dom/media/webm/WebMBufferedParser.cpp')
-rw-r--r-- | dom/media/webm/WebMBufferedParser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/media/webm/WebMBufferedParser.cpp b/dom/media/webm/WebMBufferedParser.cpp index 0f6b0cd54..979308cf0 100644 --- a/dom/media/webm/WebMBufferedParser.cpp +++ b/dom/media/webm/WebMBufferedParser.cpp @@ -275,6 +275,12 @@ WebMBufferedParser::EndSegmentOffset(int64_t aOffset) return mBlockEndOffset; } +int64_t +WebMBufferedParser::GetClusterOffset() const +{ + return mClusterOffset; +} + // SyncOffsetComparator and TimeComparator are slightly confusing, in that // the nsTArray they're used with (mTimeMapping) is sorted by mEndOffset and // these comparators are used on the other fields of WebMTimeDataOffset. |