[libbluray-devel] PlayerManager: accept audio player
hpi1
git at videolan.org
Thu Oct 9 12:13:48 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Oct 9 13:13:24 2014 +0300| [31c743a478dbca28fa854cc213d33cebdb4c864b] | committer: hpi1
PlayerManager: accept audio player
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=31c743a478dbca28fa854cc213d33cebdb4c864b
---
.../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 ea6a6e5..b2bf44d 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/PlayerManager.java
@@ -87,6 +87,9 @@ public class PlayerManager {
if (player instanceof org.videolan.media.content.sound.Handler) {
return true;
}
+ if (player instanceof org.videolan.media.content.audio.Handler) {
+ return true;
+ }
System.err.println("unknown player type: " + player.getClass().getName());
return false;
More information about the libbluray-devel
mailing list