[libbluray-devel] Initialize time defines in javax.media.Duration

tourettes git at videolan.org
Sun Apr 6 22:37:47 CEST 2014


libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Sun Apr  6 14:28:20 2014 +0300| [51776115c4262c89b14ecc3ca339b4225146fa38] | committer: hpi1

Initialize time defines in javax.media.Duration

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

 src/libbluray/bdj/java/javax/media/Duration.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/javax/media/Duration.java b/src/libbluray/bdj/java/javax/media/Duration.java
index 2dfb2c6..850866e 100644
--- a/src/libbluray/bdj/java/javax/media/Duration.java
+++ b/src/libbluray/bdj/java/javax/media/Duration.java
@@ -22,6 +22,6 @@ package javax.media;
 public interface Duration {
     public Time getDuration();
 
-    public static final Time DURATION_UNBOUNDED = null;
-    public static final Time DURATION_UNKNOWN = null;
+    public static final Time DURATION_UNBOUNDED = new Time(Long.MAX_VALUE);
+    public static final Time DURATION_UNKNOWN = new Time(Long.MAX_VALUE - 1);
 }



More information about the libbluray-devel mailing list