[MPlayer-cvslog] r27007 - in trunk: libvo/vosub_vidix.c vidix/vidixlib.c vidix/vidixlib.h

ben subversion at mplayerhq.hu
Sat Jun 7 12:56:43 CEST 2008


Author: ben
Date: Sat Jun  7 12:56:42 2008
New Revision: 27007

Log:
Drop some useless parameter from vidix init routine



Modified:
   trunk/libvo/vosub_vidix.c
   trunk/vidix/vidixlib.c
   trunk/vidix/vidixlib.h

Modified: trunk/libvo/vosub_vidix.c
==============================================================================
--- trunk/libvo/vosub_vidix.c	(original)
+++ trunk/libvo/vosub_vidix.c	Sat Jun  7 12:56:42 2008
@@ -645,13 +645,11 @@ int vidix_preinit(const char *drvname,vo
 	  return -1;
 	}
 #ifndef __MINGW32__
-	vidix_handler = vdlOpen(NULL,
-				drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
+	vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
 				TYPE_OUTPUT,
 				verbose);
 #else
-	vidix_handler = vdlOpen(get_path("vidix/"),
-				drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
+	vidix_handler = vdlOpen(drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
 				TYPE_OUTPUT,
 				verbose);
 #endif              

Modified: trunk/vidix/vidixlib.c
==============================================================================
--- trunk/vidix/vidixlib.c	(original)
+++ trunk/vidix/vidixlib.c	Sat Jun  7 12:56:42 2008
@@ -49,7 +49,7 @@ extern unsigned int  vdlGetVersion( void
    return VIDIX_VERSION;
 }
 
-VDL_HANDLE vdlOpen(const char *path,const char *name,unsigned cap,int verbose)
+VDL_HANDLE vdlOpen(const char *name,unsigned cap,int verbose)
 {
   VDXContext *ctx;
 

Modified: trunk/vidix/vidixlib.h
==============================================================================
--- trunk/vidix/vidixlib.h	(original)
+++ trunk/vidix/vidixlib.h	Sat Jun  7 12:56:42 2008
@@ -85,7 +85,7 @@ unsigned   vdlGetVersion( void );
 			   verbose - specifies verbose level
 			   returns !0 if ok else NULL.
 			   */
-VDL_HANDLE vdlOpen(const char *path,const char *name,unsigned cap,int verbose);
+VDL_HANDLE vdlOpen(const char *name,unsigned cap,int verbose);
 			/* Closes stream and corresponded driver. */
 void	  vdlClose(VDL_HANDLE ctx);
 



More information about the MPlayer-cvslog mailing list