[Mplayer-cvslog] CVS: main codec-cfg.h,1.58,1.59 codec-cfg.c,1.88,1.89
Arpi of Ize
arpi at mplayerhq.hu
Wed Jun 26 00:26:36 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv21417
Modified Files:
codec-cfg.h codec-cfg.c
Log Message:
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)
Index: codec-cfg.h
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- codec-cfg.h 25 Jun 2002 18:48:28 -0000 1.58
+++ codec-cfg.h 25 Jun 2002 22:26:33 -0000 1.59
@@ -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:
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- codec-cfg.c 23 Jun 2002 16:01:35 -0000 1.88
+++ codec-cfg.c 25 Jun 2002 22:26:33 -0000 1.89
@@ -623,6 +623,9 @@
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)
More information about the MPlayer-cvslog
mailing list