summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-25 22:26:34 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-25 22:26:34 +0000
commitd7d187300d683aa0e92f98091dc5532cd8b08348 (patch)
tree4ffe4b670264bcca758122bb53dca49cba4e0361 /codec-cfg.c
parent9d2fe87374adece430caf561054807f06c0ea3fb (diff)
downloadmpv-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
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c3
1 files changed, 3 insertions, 0 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)