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

This commit is contained in:
James Zern
2015-12-16 22:53:01 +00:00
committed by Gerrit Code Review

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