diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-09 23:50:35 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-09 23:50:35 +0000 |
commit | 07dd1419bdd9ab41d427835e330b3ff2c9fd7fc9 (patch) | |
tree | 46b3af73105ae4f94add030328f31f5275752801 /demux_avi.c | |
parent | c30ba7ac5f9eb10e3c3045cde45bd4be75b3adba (diff) | |
download | mpv-07dd1419bdd9ab41d427835e330b3ff2c9fd7fc9.tar.bz2 mpv-07dd1419bdd9ab41d427835e330b3ff2c9fd7fc9.tar.xz |
silly a_pts bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1477 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'demux_avi.c')
-rw-r--r-- | demux_avi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/demux_avi.c b/demux_avi.c index 5895ba5104..fd2587c058 100644 --- a/demux_avi.c +++ b/demux_avi.c @@ -84,8 +84,7 @@ static int demux_avi_read_packet(demuxer_t *demux,unsigned int id,unsigned int l } 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 @@ static int demux_avi_read_packet(demuxer_t *demux,unsigned int id,unsigned int l // 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; } |