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

Unified Diff: chrome/utility/media_galleries/media_metadata_parser.cc

Issue 1415793003: fix build when ffmpeg, libvpx and libwebm are disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « chrome/utility/extensions/extensions_handler.cc ('k') | content/renderer/media/audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/media_galleries/media_metadata_parser.cc
diff --git a/chrome/utility/media_galleries/media_metadata_parser.cc b/chrome/utility/media_galleries/media_metadata_parser.cc
index b1fb81c53203784c1b1894c7a3f4e4b98e59bc9b..3d6e733149318678911d4d85634434a97dde97e3 100644
--- a/chrome/utility/media_galleries/media_metadata_parser.cc
+++ b/chrome/utility/media_galleries/media_metadata_parser.cc
@@ -56,6 +56,8 @@ void ParseAudioVideoMetadata(
std::vector<AttachedImage>* attached_images) {
DCHECK(source);
DCHECK(metadata);
+
+#if !defined(MEDIA_DISABLE_FFMPEG)
media::AudioVideoMetadataExtractor extractor;
if (!extractor.Extract(source, get_attached_images))
@@ -108,6 +110,7 @@ void ParseAudioVideoMetadata(
&attached_images->back().type);
}
}
+#endif
}
void FinishParseAudioVideoMetadata(
« no previous file with comments | « chrome/utility/extensions/extensions_handler.cc ('k') | content/renderer/media/audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698