[libbluray-devel] ContentAttribute: check MAKEMKV/ and ANY!/

anonymous git at videolan.org
Mon Oct 26 10:41:02 CET 2015


libbluray | branch: master | anonymous <anonymous at anonymous.org> | Mon Oct 26 11:40:37 2015 +0200| [c53b3abc4c8919bf8cb99909ecee02b59be13b31] | committer: anonymous

ContentAttribute: check MAKEMKV/ and ANY!/

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

 .../bdj/java/com/aacsla/bluray/online/ContentAttribute.java  |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/libbluray/bdj/java/com/aacsla/bluray/online/ContentAttribute.java b/src/libbluray/bdj/java/com/aacsla/bluray/online/ContentAttribute.java
index 62ecc92..0260e2b 100644
--- a/src/libbluray/bdj/java/com/aacsla/bluray/online/ContentAttribute.java
+++ b/src/libbluray/bdj/java/com/aacsla/bluray/online/ContentAttribute.java
@@ -32,6 +32,16 @@ public class ContentAttribute {
             return id;
         }
 
+        id = getContentCertID("MAKEMKV" + File.separator + "AACS" + File.separator + "Content000.cer");
+        if (id != null) {
+            return id;
+        }
+
+        id = getContentCertID("ANY!" + File.separator + "Content000.cer");
+        if (id != null) {
+            return id;
+        }
+
         return new byte[6];
     }
 



More information about the libbluray-devel mailing list