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

Unified Diff: media/base/video_renderer.h

Issue 271923002: Remove VideoRenderer::Pause() as it serves no real purpose. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/pipeline_unittest.cc ('k') | media/filters/video_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_renderer.h
diff --git a/media/base/video_renderer.h b/media/base/video_renderer.h
index 27e4bf5e0499465200653efcd13f7e386e00b8b0..b4154a0410bd93e22731b585efce13756abd5967 100644
--- a/media/base/video_renderer.h
+++ b/media/base/video_renderer.h
@@ -57,11 +57,8 @@ class MEDIA_EXPORT VideoRenderer {
// |callback| when playback is underway.
virtual void Play(const base::Closure& callback) = 0;
- // Temporarily suspend decoding and rendering video, executing |callback| when
- // playback has been suspended.
- virtual void Pause(const base::Closure& callback) = 0;
-
- // Discard any video data, executing |callback| when completed.
+ // Discard any video data and stop reading from |stream|, executing |callback|
+ // when completed.
virtual void Flush(const base::Closure& callback) = 0;
// Start prerolling video data. If |time| equals kNoTimestamp() then all
« no previous file with comments | « media/base/pipeline_unittest.cc ('k') | media/filters/video_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698