[libbluray-devel] TitleInfo: use BDJUtil instead of DecimalFormat

hpi1 git at videolan.org
Tue Nov 24 09:45:02 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Nov 24 10:24:56 2015 +0200| [ce4879be13c0ef73454b586ebfab038f71e1c514] | committer: hpi1

TitleInfo: use BDJUtil instead of DecimalFormat

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

 src/libbluray/bdj/java/org/videolan/TitleInfo.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/videolan/TitleInfo.java b/src/libbluray/bdj/java/org/videolan/TitleInfo.java
index 1c1075b..10dc62a 100644
--- a/src/libbluray/bdj/java/org/videolan/TitleInfo.java
+++ b/src/libbluray/bdj/java/org/videolan/TitleInfo.java
@@ -24,7 +24,7 @@ public class TitleInfo {
         this.objType = objType;
         this.playbackType = playbackType;
         if (objType == OBJ_TYPE_BDJ)
-            this.bdjoName = (new java.text.DecimalFormat("00000")).format(idRef);
+            this.bdjoName = (BDJUtil.makeFiveDigitStr(idRef));
         else
             this.hdmvOID = idRef;
     }



More information about the libbluray-devel mailing list