openbsd-ports/x11/mplayer/patches/patch-stream_stream_bluray_c
2013-03-13 02:28:11 +00:00

13 lines
480 B
Plaintext

$OpenBSD: patch-stream_stream_bluray_c,v 1.3 2013/03/13 02:28:11 brad Exp $
--- stream/stream_bluray.c.orig Sun Jan 13 23:53:53 2013
+++ stream/stream_bluray.c Mon Jan 21 11:45:15 2013
@@ -257,6 +257,8 @@ static int bluray_stream_open(stream_t *s, int mode,
device = p->device;
else if (bluray_device)
device = bluray_device;
+ else
+ device = DEFAULT_BLURAY_DEVICE;
if (!device) {
mp_msg(MSGT_OPEN, MSGL_ERR, MSGTR_BlurayNoDevice);