Konstantin Pavlov | 23 May 10:00 2012

Bluray: use meaningful error messages when available.

vlc | branch: master | Konstantin Pavlov <thresh <at> videolan.org> | Fri May 18 10:40:54 2012 +0400|
[d865085e438b4a2a8307a5e31bafffdbee048aa3] | committer: Konstantin Pavlov

Bluray: use meaningful error messages when available.

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

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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index eea10d4..77327e1 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
 <at>  <at>  -234,9 +234,35  <at>  <at>  static int blurayOpen( vlc_object_t *object )
             goto error;
         }
         if (!disc_info->aacs_handled) {
+#ifdef BD_AACS_CORRUPTED_DISC
+            if (disc_info->aacs_error_code) {
+                switch (disc_info->aacs_error_code) {
+                    case BD_AACS_CORRUPTED_DISC:
+                        error_msg = _("BluRay Disc is corrupted.");
+                        break;
+                    case BD_AACS_NO_CONFIG:
+                        error_msg = _("Missing AACS configuration file!");
+                        break;
+                    case BD_AACS_NO_PK:
+                        error_msg = _("No valid processing key found in AACS config file.");
(Continue reading)

Konstantin Pavlov | 23 May 19:33 2012

Bluray: use meaningful error messages when available.

vlc/vlc-2.0 | branch: master | Konstantin Pavlov <thresh <at> videolan.org> | Fri May 18 10:40:54 2012 +0400|
[4446014f0c245bcac963e6deac8f34bfce375bcf] | committer: Jean-Baptiste Kempf

Bluray: use meaningful error messages when available.
(cherry picked from commit d865085e438b4a2a8307a5e31bafffdbee048aa3)

Signed-off-by: Jean-Baptiste Kempf <jb <at> videolan.org>

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

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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 980300c..ad80202 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
 <at>  <at>  -223,9 +223,35  <at>  <at>  static int blurayOpen( vlc_object_t *object )
             goto error;
         }
         if (!disc_info->aacs_handled) {
+#ifdef BD_AACS_CORRUPTED_DISC
+            if (disc_info->aacs_error_code) {
+                switch (disc_info->aacs_error_code) {
+                    case BD_AACS_CORRUPTED_DISC:
+                        error_msg = _("BluRay Disc is corrupted.");
+                        break;
+                    case BD_AACS_NO_CONFIG:
+                        error_msg = _("Missing AACS configuration file!");
(Continue reading)


Gmane