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

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 overflow check to sanity checks and use CHECK instead of DCHECK Created 5 years, 4 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 71d3618d92b3a013959b7cddf2fdbbaa830d76a8..13ba873cc20518333d8327eb8d7f3804509da954 100644
--- a/media/filters/source_buffer_range.h
+++ b/media/filters/source_buffer_range.h
@@ -124,6 +124,8 @@ class SourceBufferRange {
DecodeTimestamp start_timestamp, DecodeTimestamp end_timestamp,
size_t 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