summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpd-notification.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index d064700..189bba1 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -259,7 +259,8 @@ int main(int argc, char ** argv) {
av_register_all();
/* only fatal messages from libav */
- av_log_set_level(AV_LOG_FATAL);
+ if (verbose == 0)
+ av_log_set_level(AV_LOG_FATAL);
#endif
conn = mpd_connection_new(mpd_host, mpd_port, mpd_timeout);