From: Ronald S. Bultje Date: Wed, 16 Dec 2015 18:35:43 +0000 (-0500) Subject: vpxenc: don't warn about libwebm availability if writing IVF. X-Git-Tag: v1.6.0~472^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3977507339794e9fb7f52d4dffae10c3ea265892;p=libvpx vpxenc: don't warn about libwebm availability if writing IVF. Change-Id: I1a9635a9948458e6c83f5b58764b7e720d98e2ea --- diff --git a/vpxenc.c b/vpxenc.c index fd2acf683..afbaeac31 100644 --- 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