diff options
author | wm4 <wm4@nowhere> | 2014-10-31 01:09:53 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-31 01:09:53 +0100 |
commit | 8607b0c44b60ffe59ab571e896bee498f5098d9b (patch) | |
tree | 8227727bb0b8f746d204596f7c362f374ef963c5 /player/video.c | |
parent | b17585e636e2ea964d858d7157dcc35e791430c6 (diff) | |
download | mpv-8607b0c44b60ffe59ab571e896bee498f5098d9b.tar.bz2 mpv-8607b0c44b60ffe59ab571e896bee498f5098d9b.tar.xz |
ao_alsa: don't make snd_pcm_hw_params_set_buffer_time_near() error fatal
Apparently this can "sometimes" return an error. In my opinion, this
should never return an error: neither the semantics of the function,
nor the ALSA documentation or ALSA sample code seem to indicate that
a failure is to be expected. I'm not perfectly sure about this though
(I blame ALSA being a weird, big, underdocumented API).
Since it causes problems for some users, and since there is really no
reason why we should abort on such an error, turn it into a warning.
Fixes #1231.
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions