[vlc-devel] [PATCH] bluray: accept bluray://
Petri Hintukainen
phintuka at users.sourceforge.net
Thu Aug 27 09:51:47 CEST 2015
From: Petri Hintukainen <phintuka at gmail.com>
Use default DVD device
---
modules/access/bluray.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 84bceeb..ce8e4a7 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -390,6 +390,10 @@ static int blurayOpen(vlc_object_t *object)
/* store current bd path */
if (p_demux->psz_file)
p_sys->psz_bd_path = strdup(p_demux->psz_file);
+ else {
+ /* no path provided (bluray://). use default DVD device. */
+ p_sys->psz_bd_path = var_InheritString(object, "dvd");
+ }
/* If we're passed a block device, try to convert it to the mount point. */
FindMountPoint(&p_sys->psz_bd_path);
--
2.1.4
More information about the vlc-devel
mailing list