diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-04-11 19:20:58 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-04-11 19:20:58 +0200 |
commit | 0ba07406f7348605d82373bf43d43099033c9447 (patch) | |
tree | 87a0fc04dc97c9e0b572bb6b4808efec2235e95f /src | |
parent | 8012d6cb4bb65a858105ef878c5b98d91b24e1cd (diff) | |
download | pianobar-0ba07406f7348605d82373bf43d43099033c9447.tar.gz pianobar-0ba07406f7348605d82373bf43d43099033c9447.tar.bz2 pianobar-0ba07406f7348605d82373bf43d43099033c9447.zip |
Fix volume control
Commit 8012d6cb4bb65a858105ef878c5b98d91b24e1cd was broken in several
ways. Since auto-detection did not work correctly it was replaced by a
user-editable variable. See #439.
Diffstat (limited to 'src')
-rw-r--r-- | src/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index f3d9838..34573d7 100644 --- a/src/player.c +++ b/src/player.c @@ -288,7 +288,7 @@ void *BarPlayerThread (void *data) { while (true) { AVFilterBufferRef *audioref = NULL; -#ifdef TEST_AV_BUFFERSINK_GET_BUFFER_REF +#ifdef HAVE_AV_BUFFERSINK_GET_BUFFER_REF /* ffmpeg’s compatibility layer is broken in some releases */ if (av_buffersink_get_buffer_ref (fbufsink, &audioref, 0) < 0) { #else |