mirror of https://github.com/mpv-player/mpv
silly a_pts bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1477 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c30ba7ac5f
commit
07dd1419bd
|
@ -84,8 +84,7 @@ static int demux_avi_read_packet(demuxer_t *demux,unsigned int id,unsigned int l
|
||||||
} else
|
} else
|
||||||
pts_corr_bytes+=len;
|
pts_corr_bytes+=len;
|
||||||
}
|
}
|
||||||
|
pts=avi_audio_pts; //+pts_correction;
|
||||||
pts=avi_audio_pts+pts_correction;
|
|
||||||
avi_audio_pts=0;
|
avi_audio_pts=0;
|
||||||
} else
|
} else
|
||||||
if(ds==demux->video){
|
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;
|
// avi_video_pts+=avi_video_ftime;
|
||||||
#endif
|
#endif
|
||||||
// printf("\rYYY-V A: %5.3f V: %5.3f \n",avi_audio_pts,avi_video_pts);
|
// 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;
|
pts_has_video=1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue