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

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

Issue 1036063002: MEDIASUBTYPE_RGB32 support for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/video_capture_device_client.cc
diff --git a/content/browser/renderer_host/media/video_capture_device_client.cc b/content/browser/renderer_host/media/video_capture_device_client.cc
index ae599a13564abfbf529571789da93b5b62584fea..73d57a7aa2b15a2e3a123009ace6b5b9d3796f19 100644
--- a/content/browser/renderer_host/media/video_capture_device_client.cc
+++ b/content/browser/renderer_host/media/video_capture_device_client.cc
@@ -163,6 +163,9 @@ void VideoCaptureDeviceClient::OnIncomingCapturedData(
break;
case media::PIXEL_FORMAT_ARGB:
origin_colorspace = libyuv::FOURCC_ARGB;
+#if defined(OS_WIN)
+ flip = true;
mcasas 2015/03/27 01:02:11 Please be sure that devices using PIXEL_FORMAT_ARG
emircan 2015/03/27 17:50:39 I see your concern. In order to not change the exi
+#endif
break;
case media::PIXEL_FORMAT_MJPEG:
origin_colorspace = libyuv::FOURCC_MJPG;
« no previous file with comments | « no previous file | media/video/capture/win/sink_input_pin_win.cc » ('j') | media/video/capture/win/sink_input_pin_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698