From: Tom Finegan Date: Tue, 29 Sep 2015 17:45:00 +0000 (-0700) Subject: vpxenc: Allow non i420 input for VP10. X-Git-Tag: v1.5.0~103^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed0d9dc836123e512b0c8c2cf1eb4ef44bbe8e55;p=platform%2Fupstream%2Flibvpx.git vpxenc: Allow non i420 input for VP10. BUG=https://code.google.com/p/webm/issues/detail?id=1066 Change-Id: I3bd26a516ef3d2742c523af570f639f9312df6df --- diff --git a/vpxenc.c b/vpxenc.c index 06604ea..cb78226 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -1996,7 +1996,7 @@ int main(int argc, const char **argv_) { usage_exit(); /* Decide if other chroma subsamplings than 4:2:0 are supported */ - if (global.codec->fourcc == VP9_FOURCC) + if (global.codec->fourcc == VP9_FOURCC || global.codec->fourcc == VP10_FOURCC) input.only_i420 = 0; for (pass = global.pass ? global.pass - 1 : 0; pass < global.passes; pass++) {