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

Unified Diff: media/filters/source_buffer_stream.h

Issue 1491513002: [MSE] Fix GC with media_time past the last appended buffer timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cr feedback Created 5 years 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
« no previous file with comments | « no previous file | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_stream.h
diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h
index deec40970ba53217343f32302db684e628dff651..3c727d7239154707cd692592674d982555071aa2 100644
--- a/media/filters/source_buffer_stream.h
+++ b/media/filters/source_buffer_stream.h
@@ -406,7 +406,8 @@ class MEDIA_EXPORT SourceBufferStream {
// The timestamp of the last buffer appended to the media segment, set to
// kNoDecodeTimestamp() if the beginning of the segment.
- DecodeTimestamp last_appended_buffer_timestamp_;
+ DecodeTimestamp last_appended_buffer_timestamp_ = kNoDecodeTimestamp();
wolenetz 2015/12/02 23:32:50 Note that this is a DTS, not a PTS (pre-existing p
+ base::TimeDelta last_appended_buffer_duration_ = kNoTimestamp();
bool last_appended_buffer_is_keyframe_ = false;
// The decode timestamp on the last buffer returned by the most recent
« no previous file with comments | « no previous file | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698