# HG changeset patch # User corey # Date 1158949136 0 # Node ID 5d0eaf70e1bc31bd76d2cffc1054571ae5d9aebc # Parent 4b7e50d82bb79b8f40613f7a650afd9794ec7e43 Add missing conversion from IMGFMT_I420 to PIX_FMT_YUV420P. This fixes recent bug with x264 and '-vf scale'. Patch by Luca Abeni (lucabe72 at email dot it); applied at his request. diff -r 4b7e50d82bb7 -r 5d0eaf70e1bc fmt-conversion.h --- a/fmt-conversion.h Fri Sep 22 13:06:09 2006 +0000 +++ b/fmt-conversion.h Fri Sep 22 18:18:56 2006 +0000 @@ -49,6 +49,7 @@ case IMGFMT_IF09: case IMGFMT_YVU9: return PIX_FMT_YUV410P; + case IMGFMT_I420: case IMGFMT_YV12: return PIX_FMT_YUV420P; case IMGFMT_411P: