From 123e0239a0b8167777da42521277667774fe2f30 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Mon, 22 Jan 2018 18:42:38 +0000 Subject: stream_bluray: silence libbluray's debug messages unless we want them libbluray's way too verbose on default loglevel with non-breaking issues. --- stream/stream_bluray.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stream/stream_bluray.c') diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index 4dad779739..1f5ea1711b 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "config.h" @@ -388,6 +389,9 @@ static int bluray_stream_open_internal(stream_t *s) return STREAM_UNSUPPORTED; } + if (!mp_msg_test(s->log, MSGL_DEBUG)) + bd_set_debug_mask(0); + /* open device */ BLURAY *bd = bd_open(device, NULL); if (!bd) { -- cgit v1.2.3