Commit a8526b78 authored by Rafaël Carré's avatar Rafaël Carré

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

parent 2a6ebe69
...@@ -278,6 +278,7 @@ static int blurayOpen(vlc_object_t *object) ...@@ -278,6 +278,7 @@ static int blurayOpen(vlc_object_t *object)
/* AACS */ /* AACS */
if (disc_info->aacs_detected) { if (disc_info->aacs_detected) {
msg_Dbg(p_demux, "Disc is using AACS");
if (!disc_info->libaacs_detected) if (!disc_info->libaacs_detected)
BLURAY_ERROR(_("This Blu-ray Disc needs a library for AACS decoding" BLURAY_ERROR(_("This Blu-ray Disc needs a library for AACS decoding"
", and your system does not have it.")); ", and your system does not have it."));
...@@ -309,6 +310,7 @@ static int blurayOpen(vlc_object_t *object) ...@@ -309,6 +310,7 @@ static int blurayOpen(vlc_object_t *object)
/* BD+ */ /* BD+ */
if (disc_info->bdplus_detected) { if (disc_info->bdplus_detected) {
msg_Dbg(p_demux, "Disc is using BD+");
if (!disc_info->libbdplus_detected) if (!disc_info->libbdplus_detected)
BLURAY_ERROR(_("This Blu-ray Disc needs a library for BD+ decoding" BLURAY_ERROR(_("This Blu-ray Disc needs a library for BD+ decoding"
", and your system does not have it.")); ", and your system does not have it."));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment