From: RĂ©mi Denis-Courmont Date: Mon, 9 Aug 2010 16:15:17 +0000 (+0300) Subject: udev: use dvd:// rather than file:// for DVD device nodes X-Git-Tag: 1.2.0-pre1~5514 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fdc99f2a5286c5407bb30b7beea622c35c5582ae;p=vlc udev: use dvd:// rather than file:// for DVD device nodes --- diff --git a/modules/services_discovery/udev.c b/modules/services_discovery/udev.c index e39f43a7c5..650059b943 100644 --- a/modules/services_discovery/udev.c +++ b/modules/services_discovery/udev.c @@ -545,7 +545,7 @@ static char *disc_get_mrl (struct udev_device *dev) scheme = "cdda"; /* Audio CD rather than file system */ val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_DVD"); if (val && atoi (val)) - scheme = "file"; + scheme = "dvd"; val = udev_device_get_property_value (dev, "ID_CDROM_MEDIA_BD"); if (val && atoi (val))