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

Unified Diff: media/cast/cast_receiver.h

Issue 82593005: Cast: Switching recevier to use media::VideoFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing includes Created 7 years 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/cast/cast_config.h ('k') | media/cast/test/encode_decode_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_receiver.h
diff --git a/media/cast/cast_receiver.h b/media/cast/cast_receiver.h
index 9faf94c4ed3fab160a93af9dfc3e3b1d5ba9d8da..75e6f68d3bb2186e9d63afd863be5c384e862b1a 100644
--- a/media/cast/cast_receiver.h
+++ b/media/cast/cast_receiver.h
@@ -17,6 +17,10 @@
#include "media/cast/cast_environment.h"
namespace media {
+class VideoFrame;
+}
+
+namespace media {
namespace cast {
// Callback in which the raw audio frame and play-out time will be returned
// once decoding is complete.
@@ -29,7 +33,8 @@ typedef base::Callback<void(scoped_ptr<EncodedAudioFrame>,
// Callback in which the raw frame and render time will be returned once
// decoding is complete.
-typedef base::Callback<void(scoped_ptr<I420VideoFrame>, const base::TimeTicks&)>
+typedef base::Callback<void(const scoped_refptr<media::VideoFrame>& video_frame,
+ const base::TimeTicks&)>
VideoFrameDecodedCallback;
// Callback in which the encoded video frame and render time will be returned.
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/test/encode_decode_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698