mirror of https://github.com/mpv-player/mpv
We support gcc 2.95 (fixes r24928).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24941 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5d934f8ea7
commit
0b82590c74
|
@ -1557,6 +1557,7 @@ if(mpctx->sh_audio){
|
|||
// ao so far.
|
||||
static double written_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio)
|
||||
{
|
||||
double buffered_output;
|
||||
// first calculate the end pts of audio that has been output by decoder
|
||||
double a_pts = sh_audio->pts;
|
||||
if (a_pts != MP_NOPTS_VALUE)
|
||||
|
@ -1590,7 +1591,7 @@ static double written_audio_pts(sh_audio_t *sh_audio, demux_stream_t *d_audio)
|
|||
a_pts -= sh_audio->a_buffer_len / (double)sh_audio->o_bps;
|
||||
|
||||
// Data buffered in audio filters, measured in bytes of "missing" output
|
||||
double buffered_output = af_calc_delay(sh_audio->afilter);
|
||||
buffered_output = af_calc_delay(sh_audio->afilter);
|
||||
|
||||
// Data that was ready for ao but was buffered because ao didn't fully
|
||||
// accept everything to internal buffers yet
|
||||
|
|
Loading…
Reference in New Issue