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

Unified Diff: content/renderer/media_recorder/video_track_recorder.cc

Issue 2727633008: Disable VEA usage in MediaRecorder until flaky test is addressed (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media_recorder/video_track_recorder.cc
diff --git a/content/renderer/media_recorder/video_track_recorder.cc b/content/renderer/media_recorder/video_track_recorder.cc
index d699e7eff785d3f063dbc5ec95bf41a6ee7b60e6..d77d300d8da957f3b0675927fff963acca09c093 100644
--- a/content/renderer/media_recorder/video_track_recorder.cc
+++ b/content/renderer/media_recorder/video_track_recorder.cc
@@ -30,6 +30,10 @@
#include "third_party/libyuv/include/libyuv.h"
#include "ui/gfx/geometry/size.h"
+#if defined(OS_WIN)
+#include "base/win/windows_version.h"
+#endif
+
#if BUILDFLAG(RTC_USE_H264)
#include "third_party/openh264/src/codec/api/svc/codec_api.h"
#include "third_party/openh264/src/codec/api/svc/codec_app_def.h"
@@ -117,6 +121,12 @@ CodecEnumerator::CodecEnumerator() {
return;
#endif
+#if defined(OS_WIN)
+ // See https://crbug.com/698441.
+ if (base::win::GetVersion() < base::win::VERSION_WIN10)
+ return;
+#endif
+
content::RenderThreadImpl* const render_thread_impl =
content::RenderThreadImpl::current();
if (!render_thread_impl) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698