Index: media/video/capture/win/sink_filter_win.cc |
diff --git a/media/video/capture/win/sink_filter_win.cc b/media/video/capture/win/sink_filter_win.cc |
index e3bb0a58564a3b82f3c9a13c50f2685d67e64696..602a22d45df77cbeeb90f2121587bb34275ed5ab 100644 |
--- a/media/video/capture/win/sink_filter_win.cc |
+++ b/media/video/capture/win/sink_filter_win.cc |
@@ -7,15 +7,21 @@ |
#include "base/logging.h" |
#include "media/video/capture/win/sink_input_pin_win.h" |
+namespace media { |
+ |
// Define GUID for I420. This is the color format we would like to support but |
// it is not defined in the DirectShow SDK. |
// http://msdn.microsoft.com/en-us/library/dd757532.aspx |
// 30323449-0000-0010-8000-00AA00389B71. |
GUID kMediaSubTypeI420 = { |
- 0x30323449, 0x0000, 0x0010, { 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71} |
+ 0x30323449, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71} |
+}; |
+// UYVY synonym with BT709 color components, used in HD video. This variation |
+// might appear in non-USB capture cards and it's implemented as a normal YUV |
+// pixel format with the characters HDYC encoded in the first array word. |
+GUID kMediaSubTypeHDYC = { |
+ 0x43594448, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} |
}; |
- |
-namespace media { |
SinkFilterObserver::~SinkFilterObserver() {} |