shithub: libvpx

Download patch

ref: ed0d9dc836123e512b0c8c2cf1eb4ef44bbe8e55
parent: c0e2b5f473b3f87f18dacbddb3adf733ca7f9b22
author: Tom Finegan <tomfinegan@google.com>
date: Tue Sep 29 06:45:00 EDT 2015

vpxenc: Allow non i420 input for VP10.

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

Change-Id: I3bd26a516ef3d2742c523af570f639f9312df6df

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1996,7 +1996,7 @@
     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++) {