diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-04-09 20:20:00 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-04-09 20:20:00 +0000 |
commit | fe9c8d60b435679cc68022b936a9a036b10ea2dc (patch) | |
tree | 2ef13205e0e711ec569d594d1525c372b3ef27d4 /libao2 | |
parent | 33645075f14917ed6b233c5c4c29d1e4ed8b4b35 (diff) | |
download | mpv-fe9c8d60b435679cc68022b936a9a036b10ea2dc.tar.bz2 mpv-fe9c8d60b435679cc68022b936a9a036b10ea2dc.tar.xz |
Disable pause-hack from PulseAudio 0.9.15 on, it should be fixed.
Patch Lennart Poettering [lennart poettering net] with documentation
update by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29160 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_pulse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libao2/ao_pulse.c b/libao2/ao_pulse.c index 444b85814d..b2fdcbb175 100644 --- a/libao2/ao_pulse.c +++ b/libao2/ao_pulse.c @@ -153,11 +153,11 @@ static int init(int rate_hz, int channels, int format, int flags) { } broken_pause = 0; - // not sure which versions are affected, assume 0.9.1* + // not sure which versions are affected, assume 0.9.11* to 0.9.14* // known bad: 0.9.14, 0.9.13 - // known good: 0.9.9, 0.9.10 + // known good: 0.9.9, 0.9.10, 0.9.15 // to test: pause, wait ca. 5 seconds framestep and see if MPlayer hangs somewhen - if (strncmp(version, "0.9.1", 5) == 0 && strncmp(version, "0.9.10", 6) != 0) { + if (strncmp(version, "0.9.1", 5) == 0 && version[5] >= '1' && version[5] <= '4') { mp_msg(MSGT_AO, MSGL_WARN, "[pulse] working around probably broken pause functionality,\n" " see http://www.pulseaudio.org/ticket/440\n"); broken_pause = 1; |