diff options
author | corey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-22 18:18:56 +0000 |
---|---|---|
committer | corey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-22 18:18:56 +0000 |
commit | aa820534b6964b00f656b229916a404066dc5c7b (patch) | |
tree | 4d2d768572557f75001b704e1967f65a838ebdef /fmt-conversion.h | |
parent | 951ed4f96652657c67e3c33f5d4fc7a5b09b0846 (diff) | |
download | mpv-aa820534b6964b00f656b229916a404066dc5c7b.tar.bz2 mpv-aa820534b6964b00f656b229916a404066dc5c7b.tar.xz |
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
Diffstat (limited to 'fmt-conversion.h')
-rw-r--r-- | fmt-conversion.h | 1 |
1 files changed, 1 insertions, 0 deletions
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: |