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

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

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.h
diff --git a/content/public/common/feature_h264_with_openh264_ffmpeg.h b/content/public/common/feature_h264_with_openh264_ffmpeg.h
index ba21bd0802d4daa386f89d5c743a6b4b1fb8c643..4b76df152dc22c5175d642bbb0a51a12c6549185 100644
--- a/content/public/common/feature_h264_with_openh264_ffmpeg.h
+++ b/content/public/common/feature_h264_with_openh264_ffmpeg.h
@@ -10,12 +10,12 @@
namespace content {
-#if BUILDFLAG(RTC_USE_H264)
+#if BUILDFLAG(RTC_USE_H264) && !defined(MEDIA_DISABLE_FFMPEG)
// Run-time feature for the |rtc_use_h264| encoder/decoder.
extern const base::Feature kWebRtcH264WithOpenH264FFmpeg;
-#endif // BUILDFLAG(RTC_USE_H264)
+#endif // BUILDFLAG(RTC_USE_H264) && !defined(MEDIA_DISABLE_FFMPEG)
} // namespace content
« no previous file with comments | « chrome/utility/media_galleries/media_metadata_parser.cc ('k') | content/public/common/feature_h264_with_openh264_ffmpeg.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698