Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1268)

Unified Diff: media/filters/source_buffer_range.h

Issue 1008463002: Fix MSE GC, make it less aggressive, more spec-compliant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added new test case: GarbageCollection_SaveDataAtPlaybackPosition Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/source_buffer_range.h
diff --git a/media/filters/source_buffer_range.h b/media/filters/source_buffer_range.h
index 0c6a8b36f343ef9da993a854d1963d0e59840343..f8c2f652271a344c56ac9381a4095a59913f2060 100644
--- a/media/filters/source_buffer_range.h
+++ b/media/filters/source_buffer_range.h
@@ -123,6 +123,8 @@ class SourceBufferRange {
DecodeTimestamp start_timestamp, DecodeTimestamp end_timestamp,
int bytes_to_free, DecodeTimestamp* end_removal_timestamp);
+ bool FirstGOPEarlierThanMediaTime(DecodeTimestamp media_time) const;
+
// Indicates whether the GOP at the beginning or end of the range contains the
// next buffer position.
bool FirstGOPContainsNextBufferPosition() const;

Powered by Google App Engine
This is Rietveld 408576698