[libbluray-devel] releaseResource(): Regonize audio handler

hpi1 git at videolan.org
Fri Oct 24 12:31:08 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Oct 24 11:39:54 2014 +0300| [de3b001590e993a81a2ac67333788655f21f1fe3] | committer: hpi1

releaseResource(): Regonize audio handler

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

 .../bdj/java/org/videolan/media/content/PlayerManager.java          |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java b/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java
index b2bf44d..61ba4e7 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java
@@ -69,6 +69,9 @@ public class PlayerManager {
         if (player instanceof org.videolan.media.content.sound.Handler) {
             return;
         }
+        if (player instanceof org.videolan.media.content.audio.Handler) {
+            return;
+        }
 
         System.err.println("unknown player type: " + player.getClass().getName());
     }



More information about the libbluray-devel mailing list