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

Unified Diff: media/filters/frame_processor.h

Issue 381443002: MSE: Optimize frame processor appends to streams (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | media/filters/frame_processor.cc » ('j') | media/filters/frame_processor.cc » ('J')
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 d09ae9552ccfbaf47f8ce2d3d0cac6cb2fa5f8e3..0067b789d5dde082c2a4d07a500dc2e4ceae763c 100644
--- a/media/filters/frame_processor.h
+++ b/media/filters/frame_processor.h
@@ -101,6 +101,11 @@ class MEDIA_EXPORT FrameProcessor {
// with timestamp |segment_timestamp|.
void NotifyNewMediaSegmentStarting(base::TimeDelta segment_timestamp);
+ // Helper that signals each track buffer to append any processed, but not yet
+ // appended, frames to its stream. Returns true on success, or false if one or
+ // more of the appends failed.
+ bool FlushProcessedFrames();
+
// Handles partial append window trimming of |buffer|. Returns true if the
// given |buffer| can be partially trimmed or have preroll added; otherwise,
// returns false.
« no previous file with comments | « no previous file | media/filters/frame_processor.cc » ('j') | media/filters/frame_processor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698