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

Unified Diff: media/base/video_capture_types.cc

Issue 1191443003: VideoCaptureParams: add flag for hinting capture using GpuMemoryBuffers & flag for it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added #include "build/build_config.h" Created 5 years, 6 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 | « media/base/video_capture_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_capture_types.cc
diff --git a/media/base/video_capture_types.cc b/media/base/video_capture_types.cc
index f8463cfa5d6ca3df2d25e764e44f995a68f9e91c..4649e4a697565e0bcf6a604bd3704f6586dfe399 100644
--- a/media/base/video_capture_types.cc
+++ b/media/base/video_capture_types.cc
@@ -108,6 +108,10 @@ std::string VideoCaptureFormat::PixelFormatToString(VideoPixelFormat format) {
}
VideoCaptureParams::VideoCaptureParams()
- : resolution_change_policy(RESOLUTION_POLICY_FIXED_RESOLUTION) {}
+ : resolution_change_policy(RESOLUTION_POLICY_FIXED_RESOLUTION)
+#if defined(OS_LINUX)
+ , use_native_gpu_memory_buffers(false)
+#endif
+ {}
} // namespace media
« no previous file with comments | « media/base/video_capture_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698