[MPlayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.154,1.155

Michael Niedermayer CVS syncmail at mplayerhq.hu
Sun Dec 18 02:22:13 CET 2005


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv28250

Modified Files:
	vd_ffmpeg.c 
Log Message:
bitexact flag


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- vd_ffmpeg.c	2 Dec 2005 22:00:50 -0000	1.154
+++ vd_ffmpeg.c	18 Dec 2005 01:22:11 -0000	1.155
@@ -112,6 +112,7 @@
 static char *lavc_param_skip_frame_str = NULL;
 #endif
 static int lavc_param_threads=1;
+static int lavc_param_bitexact=0;
 
 m_option_t lavc_decode_opts_conf[]={
 	{"bug", &lavc_param_workaround_bugs, CONF_TYPE_INT, CONF_RANGE, -1, 999999, NULL},
@@ -134,6 +135,7 @@
 	{"skipframe", &lavc_param_skip_frame_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
 #endif
         {"threads", &lavc_param_threads, CONF_TYPE_INT, CONF_RANGE, 1, 8, NULL},
+        {"bitexact", &lavc_param_bitexact, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_BITEXACT, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };
 
@@ -270,6 +272,7 @@
 #ifdef CODEC_FLAG_NOT_TRUNCATED
     avctx->flags|= CODEC_FLAG_NOT_TRUNCATED;
 #endif
+    avctx->flags|= lavc_param_bitexact;
     
     avctx->width = sh->disp_w;
     avctx->height= sh->disp_h;




More information about the MPlayer-cvslog mailing list