[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.16,1.17
Michael Niedermayer
michael at mplayerhq.hu
Tue Jun 18 03:39:29 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/etc codecs.conf,1.197,1.198
- Next message: [Mplayer-cvslog] CVS: main/DOCS/Italian default.css,NONE,1.1 bugreports.html,1.5,1.6 cd-dvd.html,1.5,1.6 codecs.html,1.5,1.6 documentation.html,1.8,1.9 encoding.html,1.6,1.7 faq.html,1.6,1.7 formats.html,1.5,1.6 skin-it.html,1.2,1.3 sound.html,1.6,1.7 users_against_developers.html,1.5,1.6 video.html,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv25691/libmpcodecs
Modified Files:
ve_lavc.c
Log Message:
wmv1
grayscale only encoding (forgot to commit that ...)
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ve_lavc.c 1 Jun 2002 02:11:24 -0000 1.16
+++ ve_lavc.c 18 Jun 2002 01:39:26 -0000 1.17
@@ -64,6 +64,7 @@
static int lavc_param_packet_size= 0;
static int lavc_param_strict= 0;
static int lavc_param_data_partitioning= 0;
+static int lavc_param_gray=0;
#include "cfgparser.h"
@@ -95,6 +96,9 @@
{"vdpart", &lavc_param_data_partitioning, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_PART, NULL},
#endif
{"keyint", &lavc_param_keyint, CONF_TYPE_INT, 0, 0, 0, NULL},
+#if LIBAVCODEC_BUILD >= 4614
+ {"gray", &lavc_param_gray, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_PART, NULL},
+#endif
{NULL, NULL, 0, 0, 0, 0, NULL}
};
#endif
@@ -175,6 +179,10 @@
#ifdef CODEC_FLAG_PART
lavc_venc_context.flags|= lavc_param_data_partitioning;
#endif
+#if LIBAVCODEC_BUILD >= 4614
+ if(lavc_param_gray) lavc_venc_context.flags|= CODEC_FLAG_GRAY;
+#endif
+
/* lavc internal 2pass bitrate control */
if(lavc_param_vpass==1)
@@ -337,6 +345,8 @@
mux_v->bih->biCompression = mmioFOURCC('d', 'i', 'v', '3');
else if (!strcasecmp(lavc_param_vcodec, "msmpeg4v2"))
mux_v->bih->biCompression = mmioFOURCC('M', 'P', '4', '2');
+ else if (!strcasecmp(lavc_param_vcodec, "wmv1"))
+ mux_v->bih->biCompression = mmioFOURCC('W', 'M', 'V', '1');
else
mux_v->bih->biCompression = mmioFOURCC(lavc_param_vcodec[0],
lavc_param_vcodec[1], lavc_param_vcodec[2], lavc_param_vcodec[3]); /* FIXME!!! */
- Previous message: [Mplayer-cvslog] CVS: main/etc codecs.conf,1.197,1.198
- Next message: [Mplayer-cvslog] CVS: main/DOCS/Italian default.css,NONE,1.1 bugreports.html,1.5,1.6 cd-dvd.html,1.5,1.6 codecs.html,1.5,1.6 documentation.html,1.8,1.9 encoding.html,1.6,1.7 faq.html,1.6,1.7 formats.html,1.5,1.6 skin-it.html,1.2,1.3 sound.html,1.6,1.7 users_against_developers.html,1.5,1.6 video.html,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list