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

Unified Diff: media/cast/test/linux_output_window.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/test/end2end_unittest.cc ('k') | media/cast/test/linux_output_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/linux_output_window.h
diff --git a/media/cast/test/linux_output_window.h b/media/cast/test/linux_output_window.h
index ffaba3a29d23e55ac6d9dc692b2f78058e066e7e..3b1433ee7d8b25fd6804cbb57729898759478f6d 100644
--- a/media/cast/test/linux_output_window.h
+++ b/media/cast/test/linux_output_window.h
@@ -11,7 +11,15 @@
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
-#include "media/cast/cast_config.h"
+#include <string>
+
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
+
+namespace media {
+class VideoFrame;
+}
+
namespace media {
namespace cast {
@@ -26,7 +34,7 @@ class LinuxOutputWindow {
const std::string& name);
virtual ~LinuxOutputWindow();
- void RenderFrame(const I420VideoFrame& video_frame);
+ void RenderFrame(const scoped_refptr<media::VideoFrame>& video_frame);
private:
void CreateWindow(int x_pos,
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/linux_output_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698