diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-01 12:39:08 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-01 12:39:08 +0000 |
commit | bfe5d4d4b4b369be9245888669b6dc9ade7ba39c (patch) | |
tree | 3cd718c0145aeceb17349631fa44cba9ca58d5f6 /codec-cfg.c | |
parent | 8f7938b386d21dc5a2d1a87f5531ba3cc0b963dd (diff) | |
download | mpv-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.c | 5 |
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; |