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

Unified Diff: media/base/video_renderer_sink.h

Issue 2239163002: Add "repaint" option to PaintSingleFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_player_simplified
Patch Set: Created 4 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
« no previous file with comments | « media/base/null_video_sink_unittest.cc ('k') | media/blink/video_frame_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_renderer_sink.h
diff --git a/media/base/video_renderer_sink.h b/media/base/video_renderer_sink.h
index f8e64bfc19f27946708e9af9efee6575bfef022c..5670f0424c1ef4206743a834883a61d08830300d 100644
--- a/media/base/video_renderer_sink.h
+++ b/media/base/video_renderer_sink.h
@@ -58,7 +58,8 @@ class MEDIA_EXPORT VideoRendererSink {
// useful for painting poster images or hole frames without having to issue a
// Start() -> Render() -> Stop(). Clients are free to mix usage of Render()
// based painting and PaintSingleFrame().
- virtual void PaintSingleFrame(const scoped_refptr<VideoFrame>& frame) = 0;
+ virtual void PaintSingleFrame(const scoped_refptr<VideoFrame>& frame,
+ bool repaint_duplicate_frame = false) = 0;
virtual ~VideoRendererSink() {}
};
« no previous file with comments | « media/base/null_video_sink_unittest.cc ('k') | media/blink/video_frame_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698