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

Unified Diff: media/base/null_video_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 | « content/renderer/media/android/media_player_renderer_client.cc ('k') | media/base/null_video_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/null_video_sink.h
diff --git a/media/base/null_video_sink.h b/media/base/null_video_sink.h
index 25a74070c7560f85a1969fb97b2df72083ad9765..11e41895773effa38c8970aa1f04bde1df5be444 100644
--- a/media/base/null_video_sink.h
+++ b/media/base/null_video_sink.h
@@ -35,7 +35,8 @@ class MEDIA_EXPORT NullVideoSink : public VideoRendererSink {
// VideoRendererSink implementation.
void Start(RenderCallback* callback) override;
void Stop() override;
- void PaintSingleFrame(const scoped_refptr<VideoFrame>& frame) override;
+ void PaintSingleFrame(const scoped_refptr<VideoFrame>& frame,
+ bool repaint_duplicate_frame) override;
void set_tick_clock_for_testing(base::TickClock* tick_clock) {
tick_clock_ = tick_clock;
« no previous file with comments | « content/renderer/media/android/media_player_renderer_client.cc ('k') | media/base/null_video_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698