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

Unified Diff: content/public/common/feature_h264_with_openh264_ffmpeg.cc

Issue 2346283002: Fix build with media_use_ffmpeg=false (Closed)
Patch Set: Created 4 years, 3 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/public/common/feature_h264_with_openh264_ffmpeg.cc
diff --git a/content/public/common/feature_h264_with_openh264_ffmpeg.cc b/content/public/common/feature_h264_with_openh264_ffmpeg.cc
index 7b102a4760282e1300d4cb55d3b6965c7820e8a3..cf93fd0bed568bd4bdf3bd2009203c5d87b34dd6 100644
--- a/content/public/common/feature_h264_with_openh264_ffmpeg.cc
+++ b/content/public/common/feature_h264_with_openh264_ffmpeg.cc
@@ -6,12 +6,12 @@
namespace content {
-#if BUILDFLAG(RTC_USE_H264)
+#if BUILDFLAG(RTC_USE_H264) && !defined(MEDIA_DISABLE_FFMPEG)
const base::Feature kWebRtcH264WithOpenH264FFmpeg {
"WebRTC-H264WithOpenH264FFmpeg", base::FEATURE_ENABLED_BY_DEFAULT
};
-#endif // BUILDFLAG(RTC_USE_H264)
+#endif // BUILDFLAG(RTC_USE_H264) && !defined(MEDIA_DISABLE_FFMPEG)
} // namespace content
« no previous file with comments | « content/public/common/feature_h264_with_openh264_ffmpeg.h ('k') | content/renderer/media/gpu/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698