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

Unified Diff: media/filters/frame_processor.h

Issue 341083004: Introduce the playback time into the MSE garbage collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New flow to pass the media time to SourceBufferStream. Created 6 years, 6 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
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/frame_processor.h
diff --git a/media/filters/frame_processor.h b/media/filters/frame_processor.h
index fcfe737572aef9e029b91df805acd9cbbe2d5cd3..86158dc59c1849cc9ecace36dd0b7932b0c6efcd 100644
--- a/media/filters/frame_processor.h
+++ b/media/filters/frame_processor.h
@@ -30,7 +30,8 @@ class MEDIA_EXPORT FrameProcessor : public FrameProcessorBase {
base::TimeDelta append_window_start,
base::TimeDelta append_window_end,
bool* new_media_segment,
- base::TimeDelta* timestamp_offset) OVERRIDE;
+ base::TimeDelta* timestamp_offset,
+ base::TimeDelta media_time) OVERRIDE;
private:
// Helper that processes one frame with the coded frame processing algorithm.
@@ -39,7 +40,8 @@ class MEDIA_EXPORT FrameProcessor : public FrameProcessorBase {
base::TimeDelta append_window_start,
base::TimeDelta append_window_end,
base::TimeDelta* timestamp_offset,
- bool* new_media_segment);
+ bool* new_media_segment,
+ base::TimeDelta media_time);
// Tracks the MSE coded frame processing variable of same name. It stores the
// highest coded frame end timestamp across all coded frames in the current
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698