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) {