]> git.sesse.net Git - vlc/commitdiff
Blu-Ray: be way more restrictive in the probing
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 3 Oct 2010 15:31:50 +0000 (17:31 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 3 Oct 2010 15:31:50 +0000 (17:31 +0200)
BDMV/ isn't supported yet, because we don't know how to do wrt to AACS
and BD+ yet

modules/access/bluray.c

index 0c32f53d6ab9b26b4a8ee35e5f98ce85737968bb..bbe7c7a26692df8fceb9842cc234977427f452be 100644 (file)
@@ -91,7 +91,8 @@ static int blurayOpen( vlc_object_t *object )
     int i_title = 0;
     char bd_path[PATH_MAX];
 
-    if( !p_access->psz_location || !*p_access->psz_location ) {
+    if( strcmp( p_access->psz_access, "bluray" ) ) {
+        // TODO BDMV support, once we figure out what to do in libbluray
         return VLC_EGENERIC;
     }