vpxenc: Allow non i420 input for VP10.

BUG=https://code.google.com/p/webm/issues/detail?id=1066

Change-Id: I3bd26a516ef3d2742c523af570f639f9312df6df
This commit is contained in:
Tom Finegan 2015-09-29 10:45:00 -07:00
parent c0e2b5f473
commit ed0d9dc836

View File

@ -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++) {