summaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-07-09 09:17:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-07-09 09:17:47 +0200
commit008f3c8c53760d3e5e12c55124e0aad2a805c79d (patch)
treea88d8bfada36ada43057d794cb64250f71ef3ffa /mpd-notification.c
parent53950b19fc05087cc90aef36ddc391d4c28eb169 (diff)
downloadmpd-notification-008f3c8c53760d3e5e12c55124e0aad2a805c79d.tar.gz
mpd-notification-008f3c8c53760d3e5e12c55124e0aad2a805c79d.tar.zst
silent libav error messages
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 862832a..ad3d265 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -271,6 +271,9 @@ int main(int argc, char ** argv) {
#ifdef HAVE_LIBAV
/* libav */
av_register_all();
+
+ /* only fatal messages from libav */
+ av_log_set_level(AV_LOG_FATAL);
#endif
conn = mpd_connection_new(mpd_host, mpd_port, mpd_timeout);