summaryrefslogtreecommitdiffstats
path: root/Copyright
diff options
context:
space:
mode:
authorfoo86 <foo86@users.noreply.github.com>2014-03-10 00:32:00 +0400
committerwm4 <wm4@nowhere>2014-03-11 00:21:32 +0100
commitdba25e13c08a02a3734ce7891dc1652826ce15b1 (patch)
tree5f1080b36fdf16dd42e49773544b00e53e17767f /Copyright
parent623b97e45a90408b91931f213f99de97092b8e76 (diff)
downloadmpv-dba25e13c08a02a3734ce7891dc1652826ce15b1.tar.bz2
mpv-dba25e13c08a02a3734ce7891dc1652826ce15b1.tar.xz
ao_alsa: check ALSA PCM state before pause and resume
It is possible to have ao->reset() called between ao->pause() and ao->resume() when seeking during the pause. If the underlying PCM supports pausing, resuming an already reset PCM will produce an error. Avoid that by explicitly checking PCM state before calling snd_pcm_pause(). Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions