vpxenc: don't warn about libwebm availability if writing IVF.

Change-Id: I1a9635a9948458e6c83f5b58764b7e720d98e2ea
This commit is contained in:
Ronald S. Bultje 2015-12-16 13:35:43 -05:00
parent b81f04a0cc
commit 3977507339

View File

@ -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