[Mplayer-cvslog] CVS: main cfg-mencoder.h,1.33,1.34 mencoder.c,1.115,1.116

Arpi of Ize arpi at mplayer.dev.hu
Fri Apr 12 23:50:42 CEST 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv3979

Modified Files:
	cfg-mencoder.h mencoder.c 
Log Message:
-ovc libdv support

Index: cfg-mencoder.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mencoder.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- cfg-mencoder.h	11 Apr 2002 02:52:03 -0000	1.33
+++ cfg-mencoder.h	12 Apr 2002 21:50:38 -0000	1.34
@@ -54,6 +54,7 @@
 //	{"null", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_NULL, NULL},
 	{"rawrgb", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_RAWRGB, NULL},
 	{"vfw", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_VFW, NULL},
+	{"libdv", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_LIBDV, NULL},
 	{"help", "\nAvailable codecs:\n   copy\n   frameno\n   divx4\n   raw\n   lavc\n   rawrgb\n   vfw\n   null\n\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 	{NULL, NULL, 0, 0, 0, 0, NULL}
 };

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- mencoder.c	12 Apr 2002 10:40:37 -0000	1.115
+++ mencoder.c	12 Apr 2002 21:50:38 -0000	1.116
@@ -5,6 +5,7 @@
 #define VCODEC_LIBAVCODEC 4
 #define VCODEC_RAWRGB 6
 #define VCODEC_VFW 7
+#define VCODEC_LIBDV 8
 
 #define ACODEC_COPY 0
 #define ACODEC_PCM 1
@@ -546,6 +547,8 @@
         sh_video->vfilter=vf_open_encoder(NULL,"rawrgb",mux_v); break;
     case VCODEC_VFW:
         sh_video->vfilter=vf_open_encoder(NULL,"vfw",mux_v); break;
+    case VCODEC_LIBDV:
+        sh_video->vfilter=vf_open_encoder(NULL,"libdv",mux_v); break;
     }
     if(!mux_v->bih || !sh_video->vfilter){
         mp_msg(MSGT_MENCODER,MSGL_FATAL,"Failed to open the encoder\n");




More information about the MPlayer-cvslog mailing list