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

Unified Diff: media/capture/video/win/sink_filter_observer_win.h

Issue 2369983003: Win video capture: Fix capture format and frame buffer mismatch (Closed)
Patch Set: Revert changes to video_capture_device_client.cc 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
« no previous file with comments | « no previous file | media/capture/video/win/sink_filter_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/win/sink_filter_observer_win.h
diff --git a/media/capture/video/win/sink_filter_observer_win.h b/media/capture/video/win/sink_filter_observer_win.h
index 29842a7a4d60fe3128b3299dd721621170f3c32a..adffbf978d6355defdb6a3cb5986f9c8344a66c9 100644
--- a/media/capture/video/win/sink_filter_observer_win.h
+++ b/media/capture/video/win/sink_filter_observer_win.h
@@ -12,12 +12,15 @@
namespace media {
+struct VideoCaptureFormat;
+
class SinkFilterObserver {
public:
// SinkFilter will call this function with all frames delivered to it.
// buffer in only valid during this function call.
virtual void FrameReceived(const uint8_t* buffer,
int length,
+ const VideoCaptureFormat& format,
base::TimeDelta timestamp) = 0;
protected:
« no previous file with comments | « no previous file | media/capture/video/win/sink_filter_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698