summaryrefslogtreecommitdiffstats
path: root/xvid_vbr.h
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 09:49:05 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 09:49:05 +0000
commit81e60cd6bbb8c353d75022f3f35f04e8a173fb2f (patch)
treebd71e4815dbb4c1de560a23b51bb8cbbd00923a6 /xvid_vbr.h
parent5df4253e55e13b685df4e38a5282a5dd59058dce (diff)
downloadmpv-81e60cd6bbb8c353d75022f3f35f04e8a173fb2f.tar.bz2
mpv-81e60cd6bbb8c353d75022f3f35f04e8a173fb2f.tar.xz
patch from Pierre Lombard <p_l@gmx.fr>
If the sound channel is already busy the async open fails and returns -EBUSY. There's no need to try to open it synchronously as it will block mplayer till the sound channel is released. (Granted there's a very slight chance your sound device happen to be freed between those two calls but it's not the common case). The behavior is changed by this oneliner to match the ao_oss behavior (disable sound if the sound device is busy). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10899 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'xvid_vbr.h')
0 files changed, 0 insertions, 0 deletions