[Mplayer-cvslog] CVS: main mencoder.c,1.7,1.8
Arpi of Ize
arpi at mplayer.dev.hu
Thu Nov 1 00:00:55 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv11019
Modified Files:
mencoder.c
Log Message:
nosound fixed?
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mencoder.c 31 Oct 2001 16:08:01 -0000 1.7
+++ mencoder.c 31 Oct 2001 22:59:56 -0000 1.8
@@ -181,6 +181,8 @@
exit(0); // From unknown reason a hangup occurs here :((((((
}
+ dvd_title=2;
+
if(argc>1)
stream=open_stream(argv[1],0,&file_format);
else
@@ -430,6 +432,7 @@
}
#if 1
+if(sh_audio)
switch(mux_a->codec){
case ACODEC_VBRMP3:
@@ -534,6 +537,7 @@
sh_video->timer+=frame_time;
+if(sh_audio){
if(pts_from_bps){
unsigned int samples=(sh_audio->audio.dwSampleSize)?
((ds_tell(d_audio)-sh_audio->a_in_buffer_len)/sh_audio->audio.dwSampleSize) :
@@ -548,6 +552,8 @@
a_pts+=(ds_tell_pts(d_audio)-sh_audio->a_in_buffer_len)/(float)sh_audio->i_bps;
}
v_pts=d_video->pts;
+
+}
mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f V:%6.1f A-V:%7.3f ct:%7.3f %3d/%3d %2d%% %2d%% %4.1f%% %d%%\r",
a_pts,v_pts,a_pts-v_pts,c_total,
More information about the MPlayer-cvslog
mailing list