]> granicus.if.org Git - libvpx/commitdiff
vpxenc: don't warn about libwebm availability if writing IVF.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 16 Dec 2015 18:35:43 +0000 (13:35 -0500)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 16 Dec 2015 18:35:59 +0000 (13:35 -0500)
Change-Id: I1a9635a9948458e6c83f5b58764b7e720d98e2ea

vpxenc.c

index fd2acf6837c39a9f725cc8ae747f95e985488efe..afbaeac31aba692b9b9b1463979ea2de8ce01c5b 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -2060,9 +2060,11 @@ int main(int argc, const char **argv_) {
 
 #if !CONFIG_WEBM_IO
     FOREACH_STREAM({
-      stream->config.write_webm = 0;
-      warn("vpxenc was compiled without WebM container support."
-           "Producing IVF output");
+      if (stream->config.write_webm) {
+        stream->config.write_webm = 0;
+        warn("vpxenc was compiled without WebM container support."
+             "Producing IVF output");
+      }
     });
 #endif