summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-01 12:39:08 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-01 12:39:08 +0000
commitbfe5d4d4b4b369be9245888669b6dc9ade7ba39c (patch)
tree3cd718c0145aeceb17349631fa44cba9ca58d5f6 /codec-cfg.c
parent8f7938b386d21dc5a2d1a87f5531ba3cc0b963dd (diff)
downloadmpv-bfe5d4d4b4b369be9245888669b6dc9ade7ba39c.tar.bz2
mpv-bfe5d4d4b4b369be9245888669b6dc9ade7ba39c.tar.xz
planar yuv 444 422 411 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6864 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index b48cf4de81..0eafa56819 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -120,6 +120,9 @@ static int add_to_format(char *s, unsigned int *fourcc, unsigned int *fourccmap)
{"IYUV", IMGFMT_IYUV},
{"YVU9", IMGFMT_YVU9},
{"IF09", IMGFMT_IF09},
+ {"444P", IMGFMT_444P},
+ {"422P", IMGFMT_422P},
+ {"411P", IMGFMT_411P},
{"YUY2", IMGFMT_YUY2},
{"UYVY", IMGFMT_UYVY},
@@ -268,7 +271,7 @@ static short get_driver(char *s,int audioflag)
};
char **drv=audioflag?audiodrv:videodrv;
int i;
-
+
for(i=0;drv[i];i++) if(!strcmp(s,drv[i])) return i;
return -1;