From 3977507339794e9fb7f52d4dffae10c3ea265892 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 16 Dec 2015 13:35:43 -0500 Subject: [PATCH] vpxenc: don't warn about libwebm availability if writing IVF. Change-Id: I1a9635a9948458e6c83f5b58764b7e720d98e2ea --- vpxenc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.40.0