[libbluray-devel] Fix remote procedure call errors with some buggy discs

hpi1 git at videolan.org
Fri Oct 2 10:47:46 CEST 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Sep 17 18:34:12 2015 +0300| [afb6d9af4753a620902fbaa5272fe10cab86e86d] | committer: hpi1

Fix remote procedure call errors with some buggy discs

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

 src/libbluray/bdj/java/org/videolan/IxcRegistryImpl.java |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/libbluray/bdj/java/org/videolan/IxcRegistryImpl.java b/src/libbluray/bdj/java/org/videolan/IxcRegistryImpl.java
index a9fe28d..226d359 100644
--- a/src/libbluray/bdj/java/org/videolan/IxcRegistryImpl.java
+++ b/src/libbluray/bdj/java/org/videolan/IxcRegistryImpl.java
@@ -426,6 +426,18 @@ public class IxcRegistryImpl {
             throw new IllegalArgumentException("xc not current BDJXletContext");
         }
 
+        if ("/7fff7669/4050/Messenger".equals(path)) {
+            /* known discs:
+               - Terminator Salvation
+            */
+            try {
+                logger.error("Enabling Ixc delay hack for " + path);
+                Thread.sleep(200L);
+            } catch (InterruptedException ie) {
+                ie.printStackTrace();
+            }
+        }
+
         WrappedRemoteObj wrappedObj = null;
         synchronized (remoteObjects) {
             if (!remoteObjects.containsKey(path)) {



More information about the libbluray-devel mailing list