forked from mia/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
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ do_setup:
|
||||||
|
|
||||||
if (ps.signal_start == false || ps.end_position <= ps.start_position)
|
if (ps.signal_start == false || ps.end_position <= ps.start_position)
|
||||||
{
|
{
|
||||||
|
printf("alsa_player: nothing to play, rewaiting\n");
|
||||||
|
ps.signal_start = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue