From aa820534b6964b00f656b229916a404066dc5c7b Mon Sep 17 00:00:00 2001 From: corey Date: Fri, 22 Sep 2006 18:18:56 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19936 b3059339-0415-0410-9bf9-f77b7e298cf2 --- fmt-conversion.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fmt-conversion.h b/fmt-conversion.h index 2c46fceebe..0103365e8b 100644 --- a/fmt-conversion.h +++ b/fmt-conversion.h @@ -49,6 +49,7 @@ enum PixelFormat imgfmt2pixfmt(int fmt) case IMGFMT_IF09: case IMGFMT_YVU9: return PIX_FMT_YUV410P; + case IMGFMT_I420: case IMGFMT_YV12: return PIX_FMT_YUV420P; case IMGFMT_411P: -- cgit v1.2.3