[MPlayer-cvslog] CVS: main mencoder.c, 1.334, 1.335 mplayer.c, 1.906, 1.907

Corey Hickey CVS syncmail at mplayerhq.hu
Thu Feb 9 20:39:53 CET 2006


CVS change done by Corey Hickey CVS

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

Modified Files:
	mencoder.c mplayer.c 
Log Message:
Reverse commit of unfinished patch for passing audio_delay to the demuxers.



Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.334
retrieving revision 1.335
diff -u -r1.334 -r1.335
--- mencoder.c	9 Feb 2006 14:07:51 -0000	1.334
+++ mencoder.c	9 Feb 2006 19:39:50 -0000	1.335
@@ -1036,12 +1036,12 @@
     else 
         sscanf(seek_to_sec, "%f", &d);
 
-    demux_seek(demuxer, d, audio_delay, 1);
+    demux_seek(demuxer, d, 1);
 //  there is 2 way to handle the -ss option in 3-pass mode:
 // > 1. do the first pass for the whole file, and use -ss for 2nd/3rd pases only
 // > 2. do all the 3 passes with the same -ss value
 //  this line enables behaviour 1. (and kills 2. at the same time):
-//    if(demuxer2) demux_seek(demuxer2, d, audio_delay, 1);
+//    if(demuxer2) demux_seek(demuxer2, d, 1);
 }
 
 if (out_file_format == MUXER_TYPE_MPEG)
@@ -1769,7 +1769,7 @@
     if (sh_video->pts >= next_edl_record->stop_sec) return 1; // nothing to do...
 
     if (!edl_seek_type) {
-        if(demux_seek(demuxer, next_edl_record->stop_sec - sh_video->pts, audio_delay, 0)){
+        if(demux_seek(demuxer, next_edl_record->stop_sec - sh_video->pts, 0)){
             sh_video->pts = demuxer->video->pts;
             //if (vo_vobsub) vobsub_seek(vo_vobsub,sh_video->pts);
             resync_video_stream(sh_video);

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.906
retrieving revision 1.907
diff -u -r1.906 -r1.907
--- mplayer.c	9 Feb 2006 14:07:52 -0000	1.906
+++ mplayer.c	9 Feb 2006 19:39:50 -0000	1.907
@@ -4185,7 +4185,7 @@
 
 if(rel_seek_secs || abs_seek_pos){
   current_module="seek";
-  if(demux_seek(demuxer,rel_seek_secs,audio_delay,abs_seek_pos)){
+  if(demux_seek(demuxer,rel_seek_secs,abs_seek_pos)){
       // success:
       /* FIXME there should be real seeking for vobsub */
       if(sh_video) sh_video->pts=d_video->pts;




More information about the MPlayer-cvslog mailing list