diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-25 22:26:34 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-25 22:26:34 +0000 |
commit | d7d187300d683aa0e92f98091dc5532cd8b08348 (patch) | |
tree | 4ffe4b670264bcca758122bb53dca49cba4e0361 | |
parent | 9d2fe87374adece430caf561054807f06c0ea3fb (diff) | |
download | mpv-d7d187300d683aa0e92f98091dc5532cd8b08348.tar.bz2 mpv-d7d187300d683aa0e92f98091dc5532cd8b08348.tar.xz |
new global codec flag: align16
it means that width/height should be round up to n*16 (some buggy codec
needs it to avoid sig11 / image distortions)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6566 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | codec-cfg.c | 3 | ||||
-rw-r--r-- | codec-cfg.h | 3 | ||||
-rw-r--r-- | etc/codecs.conf | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/codec-cfg.c b/codec-cfg.c index 96c2d1a7da..0134dc13e6 100644 --- a/codec-cfg.c +++ b/codec-cfg.c @@ -623,6 +623,9 @@ int parse_codec_cfg(char *cfgfile) if (!strcmp(token[0], "seekable")) codec->flags |= CODECS_FLAG_SEEKABLE; else + if (!strcmp(token[0], "align16")) + codec->flags |= CODECS_FLAG_ALIGN16; + else goto err_out_parse_error; } else if (!strcmp(token[0], "status")) { if (get_token(1, 1) < 0) diff --git a/codec-cfg.h b/codec-cfg.h index 098957b02f..482fa550de 100644 --- a/codec-cfg.h +++ b/codec-cfg.h @@ -1,7 +1,7 @@ #ifndef __CODEC_CFG_H #define __CODEC_CFG_H -#define CODEC_CFG_MIN 20020625 +#define CODEC_CFG_MIN 20020626 #define CODECS_MAX_FOURCC 32 #define CODECS_MAX_OUTFMT 16 @@ -9,6 +9,7 @@ // Global flags: #define CODECS_FLAG_SEEKABLE (1<<0) +#define CODECS_FLAG_ALIGN16 (1<<1) #define CODECS_FLAG_SELECTED (1<<15) /* for internal use */ // Outfmt flags: diff --git a/etc/codecs.conf b/etc/codecs.conf index 450c5c6c2c..364d530047 100644 --- a/etc/codecs.conf +++ b/etc/codecs.conf @@ -3,7 +3,7 @@ ; Before editing this file, please read DOCS/tech/codecs.conf.txt ! ;============================================================================= -release 20020625 +release 20020626 ;============================================================================= ; VIDEO CODECS @@ -751,6 +751,7 @@ videocodec vp3 status working comment "For SSE-systems use hacked dll from ftp://mplayerhq.hu/MPlayer/samples/drivers32/" fourcc VP30,vp30,VP31,vp31 + flags align16 driver vfwex dll "vp31vfw.dll" out YUY2 |