[vlc-commits] bluray: print debug if disc is using aacs and/or BD+

Rafaël Carré git at videolan.org
Fri Aug 16 13:26:11 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Aug 12 14:47:38 2013 +0200| [a8526b7847db89cb66659e196bd01a5574e6303d] | committer: Rafaël Carré

bluray: print debug if disc is using aacs and/or BD+

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

 modules/access/bluray.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 5580a38..86b12c7 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -278,6 +278,7 @@ static int blurayOpen(vlc_object_t *object)
 
     /* AACS */
     if (disc_info->aacs_detected) {
+        msg_Dbg(p_demux, "Disc is using AACS");
         if (!disc_info->libaacs_detected)
             BLURAY_ERROR(_("This Blu-ray Disc needs a library for AACS decoding"
                       ", and your system does not have it."));
@@ -309,6 +310,7 @@ static int blurayOpen(vlc_object_t *object)
 
     /* BD+ */
     if (disc_info->bdplus_detected) {
+        msg_Dbg(p_demux, "Disc is using BD+");
         if (!disc_info->libbdplus_detected)
             BLURAY_ERROR(_("This Blu-ray Disc needs a library for BD+ decoding"
                       ", and your system does not have it."));



More information about the vlc-commits mailing list