[libbluray-devel] Return TitleType.UNKNOWN instead of null
hpi1
git at videolan.org
Mon Sep 1 14:07:29 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Aug 27 12:45:06 2014 +0300| [f40311b6046c36d8936ec34bc13b6094e43d0c00] | committer: hpi1
Return TitleType.UNKNOWN instead of null
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f40311b6046c36d8936ec34bc13b6094e43d0c00
---
src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java b/src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java
index eaebe1b..5322e13 100644
--- a/src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java
+++ b/src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java
@@ -65,7 +65,7 @@ public class TitleImpl implements Title {
case TitleInfo.BDJ_PLAYBACK_TYPE_INTERACTIVE:
return TitleType.BDJ_INTERACTIVE;
}
- return null;
+ return TitleType.UNKNOWN;
}
public boolean hasMultipleInstances() {
More information about the libbluray-devel
mailing list