summaryrefslogtreecommitdiffstats
path: root/stream/stream_bluray.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_bluray.c')
-rw-r--r--stream/stream_bluray.c4
1 files changed, 4 insertions, 0 deletions
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 <libbluray/overlay.h>
#include <libbluray/keys.h>
#include <libbluray/bluray-version.h>
+#include <libbluray/log_control.h>
#include <libavutil/common.h>
#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) {