[vlc-commits] commit: udev: use dvd:// rather than file:// for DVD device nodes ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon Aug 9 18:22:36 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 9 19:15:17 2010 +0300| [fdc99f2a5286c5407bb30b7beea622c35c5582ae] | committer: Rémi Denis-Courmont
udev: use dvd:// rather than file:// for DVD device nodes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fdc99f2a5286c5407bb30b7beea622c35c5582ae
---
modules/services_discovery/udev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/services_discovery/udev.c b/modules/services_discovery/udev.c
index e39f43a..650059b 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))
More information about the vlc-commits
mailing list