Mercurial > mplayer.hg
changeset 1476:e17940b2cbb2
silly a_pts bug
author | arpi |
---|---|
date | Thu, 09 Aug 2001 23:50:35 +0000 |
parents | 1a4c9a7e9b67 |
children | 8b7ede5849f4 |
files | demux_avi.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/demux_avi.c Thu Aug 09 22:10:17 2001 +0000 +++ b/demux_avi.c Thu Aug 09 23:50:35 2001 +0000 @@ -84,8 +84,7 @@ } else pts_corr_bytes+=len; } - - pts=avi_audio_pts+pts_correction; + pts=avi_audio_pts; //+pts_correction; avi_audio_pts=0; } else if(ds==demux->video){ @@ -114,7 +113,7 @@ // avi_video_pts+=avi_video_ftime; #endif // printf("\rYYY-V A: %5.3f V: %5.3f \n",avi_audio_pts,avi_video_pts); - avi_audio_pts=avi_video_pts; + avi_audio_pts=avi_video_pts+pts_correction; pts_has_video=1; }