diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-04-07 17:25:20 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-04-07 17:25:20 +0200 |
commit | 8012d6cb4bb65a858105ef878c5b98d91b24e1cd (patch) | |
tree | 43d68eda9bf30d97b2baa5efc10fa4fc2716a7a0 /src/player.h | |
parent | 2b08e319fa20dbb61a207dd3429ee666ca17fc4d (diff) | |
download | pianobar-8012d6cb4bb65a858105ef878c5b98d91b24e1cd.tar.gz pianobar-8012d6cb4bb65a858105ef878c5b98d91b24e1cd.tar.bz2 pianobar-8012d6cb4bb65a858105ef878c5b98d91b24e1cd.zip |
ffmpeg compatibility
Adds support for ffmpeg 2.2 and 1.2. Right now the maintenance overhead
of supporting both libav implementations is not that big.
Fixes #437 and #435.
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h index 562c12d..f9e94ef 100644 --- a/src/player.h +++ b/src/player.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2013 +Copyright (c) 2008-2014 Lars-Dominik Braun <lars@6xq.net> Permission is hereby granted, free of charge, to any person obtaining a copy @@ -32,6 +32,7 @@ THE SOFTWARE. #include <stdint.h> #include <libavfilter/avfilter.h> +#include <libavfilter/avfiltergraph.h> #include <piano.h> #include <waitress.h> @@ -52,6 +53,7 @@ struct audioPlayer { } mode; AVFilterContext *fvolume; + AVFilterGraph *fgraph; volatile double volume; double gain; |