mirror of https://github.com/odrling/Aegisub
Fix infinite loop in ALSA player when playing zero-length audio
Updates #1394. Originally committed to SVN as r6339.
This commit is contained in:
parent
e026d2a60a
commit
c8099decf3
|
@ -201,6 +201,8 @@ do_setup:
|
|||
|
||||
if (ps.signal_start == false || ps.end_position <= ps.start_position)
|
||||
{
|
||||
printf("alsa_player: nothing to play, rewaiting\n");
|
||||
ps.signal_start = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue