vpxenc: Allow non i420 input for VP10.
authorTom Finegan <tomfinegan@google.com>
Tue, 29 Sep 2015 17:45:00 +0000 (10:45 -0700)
committerTom Finegan <tomfinegan@google.com>
Tue, 29 Sep 2015 17:45:00 +0000 (10:45 -0700)
BUG=https://code.google.com/p/webm/issues/detail?id=1066

Change-Id: I3bd26a516ef3d2742c523af570f639f9312df6df

vpxenc.c

index 06604ea..cb78226 100644 (file)
--- 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++) {