[vlc-commits] commit: Blu-Ray: be way more restrictive in the probing ( Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Oct 3 17:35:55 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Oct  3 17:31:50 2010 +0200| [940cc4c91b78bfd2ddc3c3dbcc9f3859d374e58e] | committer: Jean-Baptiste Kempf 

Blu-Ray: be way more restrictive in the probing

BDMV/ isn't supported yet, because we don't know how to do wrt to AACS
and BD+ yet

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=940cc4c91b78bfd2ddc3c3dbcc9f3859d374e58e
---

 modules/access/bluray.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 0c32f53..bbe7c7a 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -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;
     }
 



More information about the vlc-commits mailing list