mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
951ed4f966
commit
aa820534b6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue