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

Unified Diff: content/browser/renderer_host/media/shared_memory_buffer_handle.cc

Issue 2378943002: Let clients interact with VideoCaptureDeviceClient instead of VideoCaptureDevice (Closed)
Patch Set: mcasas comments Created 4 years, 2 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: content/browser/renderer_host/media/shared_memory_buffer_handle.cc
diff --git a/content/browser/renderer_host/media/shared_memory_buffer_handle.cc b/content/browser/renderer_host/media/shared_memory_buffer_handle.cc
index 3b564cd92bffe44dbc374b0a646519b0bdeae0c3..f1c5318a995ceacc4e58c13181ea68eba3bfbce9 100644
--- a/content/browser/renderer_host/media/shared_memory_buffer_handle.cc
+++ b/content/browser/renderer_host/media/shared_memory_buffer_handle.cc
@@ -38,4 +38,12 @@ base::FileDescriptor SharedMemoryBufferHandle::AsPlatformFile() {
}
#endif
+bool SharedMemoryBufferHandle::IsBackedByVideoFrame() const {
+ return false;
+}
+
+scoped_refptr<media::VideoFrame> SharedMemoryBufferHandle::GetVideoFrame() {
+ return scoped_refptr<media::VideoFrame>();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698