[Mplayer-cvslog] CVS: main/Gui interface.c,1.82,1.83

Zoltan Ponekker pontscho at mplayerhq.hu
Thu Apr 3 14:09:46 CEST 2003


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv20106

Modified Files:
	interface.c 
Log Message:
fix dvd, vcd playing, compiling, and add one small playlist patch

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- interface.c	20 Mar 2003 12:41:33 -0000	1.82
+++ interface.c	3 Apr 2003 12:09:42 -0000	1.83
@@ -366,6 +366,7 @@
 extern vo_functions_t * video_out;
 extern int    		frame_dropping;
 extern int              stream_dump_type;
+extern int  		vcd_track;
 extern m_obj_settings_t*vo_plugin_args;
 
 #if defined( USE_OSD ) || defined( USE_SUB )
@@ -694,12 +695,20 @@
 	       break;
 #ifdef HAVE_VCD
 	  case STREAMTYPE_VCD:
-	       vcd_track=guiIntfStruct.Track;
+	       {
+	        char tmp[512];
+		sprintf( tmp,"vcd://%d",guiIntfStruct.Track + 1 );
+		guiSetFilename( guiIntfStruct.Filename,tmp );
+	       }
 	       break;
 #endif
 #ifdef USE_DVDREAD
  	  case STREAMTYPE_DVD:
-	       dvd_title=guiIntfStruct.Title;
+	       {
+	        char tmp[512];
+		sprintf( tmp,"dvd://%d",guiIntfStruct.Title );
+		guiSetFilename( guiIntfStruct.Filename,tmp );
+	       }
 	       dvd_chapter=guiIntfStruct.Chapter;
 	       dvd_angle=guiIntfStruct.Angle;
 	       break;



More information about the MPlayer-cvslog mailing list