[Mplayer-cvslog] CVS: main mplayer.c,1.252,1.253

Arpi of Ize arpi at mplayer.dev.hu
Wed Aug 29 22:22:25 CEST 2001


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

Modified Files:
	mplayer.c 
Log Message:
-dumpsub works for avi, then dumps .sub file

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- mplayer.c	29 Aug 2001 17:37:03 -0000	1.252
+++ mplayer.c	29 Aug 2001 20:22:23 -0000	1.253
@@ -591,6 +591,8 @@
   }
 #endif
 
+  if(subtitles && stream_dump_type==3) list_sub_file(subtitles);
+
     stream=NULL;
     demuxer=NULL;
     d_audio=NULL;
@@ -1784,7 +1786,7 @@
 #ifdef USE_SUB
   // find sub
   if(subtitles && d_video->pts>0){
-      int pts=d_video->pts;
+      float pts=d_video->pts;
       if(sub_fps==0) sub_fps=sh_video->fps;
       current_module="find_sub";
       find_sub(subtitles,sub_uses_time?(100*(pts+sub_delay)):((pts+sub_delay)*sub_fps)); // FIXME! frame counter...




More information about the MPlayer-cvslog mailing list