summaryrefslogtreecommitdiff
path: root/dom/media/mediasource/SourceBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/mediasource/SourceBuffer.h')
-rw-r--r--dom/media/mediasource/SourceBuffer.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/dom/media/mediasource/SourceBuffer.h b/dom/media/mediasource/SourceBuffer.h
index fe69489c2..f856d72a2 100644
--- a/dom/media/mediasource/SourceBuffer.h
+++ b/dom/media/mediasource/SourceBuffer.h
@@ -247,7 +247,7 @@ private:
// Shared implementation of AppendBuffer overloads.
void AppendData(const uint8_t* aData, uint32_t aLength, ErrorResult& aRv);
- void BufferAppend(uint32_t aAppendID);
+ void BufferAppend();
// Implement the "Append Error Algorithm".
// Will call endOfStream() with "decode" error if aDecodeError is true.
@@ -276,10 +276,6 @@ private:
mozilla::Atomic<bool> mActive;
- // Each time mUpdating is set to true, mUpdateID will be incremented.
- // This allows for a queued AppendData task to identify if it was earlier
- // aborted and another AppendData queued.
- uint32_t mUpdateID;
int64_t mReportedOffset;
MediaPromiseRequestHolder<SourceBufferContentManager::AppendPromise> mPendingAppend;