From 0ba07406f7348605d82373bf43d43099033c9447 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 11 Apr 2014 19:20:58 +0200 Subject: 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. --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/player.c') 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 -- cgit v1.2.3