summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2016-10-15 10:09:40 +0200
committerLars-Dominik Braun <lars@6xq.net>2016-10-15 10:09:40 +0200
commit7c2d9ebb7f61cf04d75e28ca5cd6932002c4357b (patch)
tree1bf210fff3bfae950cb444615a02fe8b10c58ad0
parentdadf76dc55733ec73fb11bc3ca5cc4c9eae3a24c (diff)
downloadpianobar-7c2d9ebb7f61cf04d75e28ca5cd6932002c4357b.tar.gz
pianobar-7c2d9ebb7f61cf04d75e28ca5cd6932002c4357b.tar.bz2
pianobar-7c2d9ebb7f61cf04d75e28ca5cd6932002c4357b.zip
Turn off ffmpeg’s error messages
See #577.
-rw-r--r--src/player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index 04b9d4a..784616c 100644
--- a/src/player.c
+++ b/src/player.c
@@ -68,6 +68,7 @@ static void printError (const BarSettings_t * const settings,
*/
void BarPlayerInit () {
ao_initialize ();
+ av_log_set_level (AV_LOG_FATAL);
av_register_all ();
avfilter_register_all ();
avformat_network_init ();