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

Unified Diff: media/base/filters.h

Issue 9700006: Move VideoDecoder out of media pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and a small fix Created 8 years, 9 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
Index: media/base/filters.h
diff --git a/media/base/filters.h b/media/base/filters.h
index 50dc686383d67729246b62e3f66bf9f54f7be1d6..d41a237b3450c7ca86445ba4e106877bec1aae56 100644
--- a/media/base/filters.h
+++ b/media/base/filters.h
@@ -175,10 +175,10 @@ class MEDIA_EXPORT VideoRenderer : public Filter {
// Initialize a VideoRenderer with the given VideoDecoder, executing the
// callback upon completion.
- virtual void Initialize(VideoDecoder* decoder,
- const PipelineStatusCB& callback,
+ virtual void Initialize(const scoped_refptr<VideoDecoder>& decoder,
+ const PipelineStatusCB& pipeline_status_cb,
Ami GONE FROM CHROMIUM 2012/03/14 20:05:01 s/pipeline_// ?
xhwang 2012/03/14 22:28:41 I chose this verbose name because status_cb and st
Ami GONE FROM CHROMIUM 2012/03/14 22:42:50 My only objection is the length.
xhwang 2012/03/14 22:59:42 Okay, will change this in the next CL too.
const StatisticsCB& statistics_cb,
- const VideoTimeCB& time_cb) = 0;
+ const VideoTimeCB& video_time_cb) = 0;
Ami GONE FROM CHROMIUM 2012/03/14 20:05:01 IMO "Video" belongs in neither the param name nor
xhwang 2012/03/14 22:28:41 Will do in another CL.
// Returns true if this filter has received and processed an end-of-stream
// buffer.

Powered by Google App Engine
This is Rietveld 408576698