mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 07:16:56 +00:00
ehh. yet anouther silly a_pts bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1478 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
07dd1419bd
commit
ca26ceeab9
@ -80,6 +80,7 @@ static int demux_avi_read_packet(demuxer_t *demux,unsigned int id,unsigned int l
|
||||
printf("XXX initial v_pts=%5.3f a_pos=%d (%5.3f) \n",avi_audio_pts,pts_corr_bytes,delay);
|
||||
//pts_correction=-avi_audio_pts+delay;
|
||||
pts_correction=delay-avi_audio_pts;
|
||||
avi_audio_pts+=pts_correction;
|
||||
pts_corrected=1;
|
||||
} else
|
||||
pts_corr_bytes+=len;
|
||||
|
Loading…
Reference in New Issue
Block a user