[Mplayer-cvslog] CVS: main/libmpdemux demux_avi.c,1.35,1.36
Arpi of Ize
arpi at mplayer.dev.hu
Sun Nov 11 14:25:09 CET 2001
- Previous message: [Mplayer-cvslog] CVS: main mencoder.c,1.20,1.21
- Next message: [Mplayer-cvslog] CVS: main msvidc.c,NONE,1.1 dec_video.c,1.62,1.63 cfg-common.h,1.6,1.7 codec-cfg.c,1.45,1.46 codec-cfg.h,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv19634
Modified Files:
demux_avi.c
Log Message:
-nobps NaN fixed
Index: demux_avi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_avi.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- demux_avi.c 24 Oct 2001 00:50:54 -0000 1.35
+++ demux_avi.c 11 Nov 2001 13:25:06 -0000 1.36
@@ -87,7 +87,9 @@
// printf("\rYYY-A A: %5.3f V: %5.3f \n",priv->avi_audio_pts,priv->avi_video_pts);
if(priv->pts_has_video){
// we have video pts now
- float delay=(float)priv->pts_corr_bytes/((sh_audio_t*)(ds->sh))->wf->nAvgBytesPerSec;
+ float delay=0;
+ if(((sh_audio_t*)(ds->sh))->wf->nAvgBytesPerSec)
+ delay=(float)priv->pts_corr_bytes/((sh_audio_t*)(ds->sh))->wf->nAvgBytesPerSec;
mp_msg(MSGT_DEMUX,MSGL_V,"XXX initial v_pts=%5.3f a_pos=%d (%5.3f) \n",priv->avi_audio_pts,priv->pts_corr_bytes,delay);
//priv->pts_correction=-priv->avi_audio_pts+delay;
priv->pts_correction=delay-priv->avi_audio_pts;
- Previous message: [Mplayer-cvslog] CVS: main mencoder.c,1.20,1.21
- Next message: [Mplayer-cvslog] CVS: main msvidc.c,NONE,1.1 dec_video.c,1.62,1.63 cfg-common.h,1.6,1.7 codec-cfg.c,1.45,1.46 codec-cfg.h,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list