output_thread: check command before g_cond_wait()
After CANCEL, call g_cond_wait() only if the new command is still
NONE. Problem is that ao_command_finished() has to unlock the
audio_output object, and in the meantime, the player thread might have
submitted a new command.
Showing
Please
register
or
sign in
to comment