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

Unified Diff: media/base/null_video_sink.h

Issue 1083383005: Connect the new video rendering path to the compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vra
Patch Set: Update LoginCustomFlags histogram. Created 5 years, 8 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/media_switches.cc ('k') | media/base/test_helpers.h » ('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 b4c0ac7fbb1e3ab570345aa004b62906a500cda4..f1e076c253566d63c40da1f2a120cc34a2354049 100644
--- a/media/base/null_video_sink.h
+++ b/media/base/null_video_sink.h
@@ -50,6 +50,8 @@ class MEDIA_EXPORT NullVideoSink : NON_EXPORTED_BASE(public VideoRendererSink) {
stop_cb_ = stop_cb;
}
+ bool is_started() const { return started_; }
+
private:
// Task that periodically calls Render() to consume video data.
void CallRender();
« no previous file with comments | « media/base/media_switches.cc ('k') | media/base/test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698