mirror of https://github.com/mpv-player/mpv
fix premature end of audio playback (audio only)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17342 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9754119e17
commit
757387a4fc
|
@ -2633,7 +2633,7 @@ if(!sh_video) {
|
|||
float a_pos = sh_audio->delay - audio_out->get_delay() * playback_speed;
|
||||
print_status(a_pos, 0, 0);
|
||||
}
|
||||
if(d_audio->eof && sh_audio->a_in_buffer_len <= 0) eof = PT_NEXT_ENTRY;
|
||||
if(d_audio->eof && sh_audio->a_in_buffer_len <= 0 && sh_audio->a_buffer_len <= 0) eof = PT_NEXT_ENTRY;
|
||||
|
||||
} else {
|
||||
|
||||
|
|
Loading…
Reference in New Issue