[libbluray-devel] Create storage roots before JSM

hpi1 git at videolan.org
Tue Mar 3 13:05:11 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar  3 09:40:22 2015 +0200| [1d80d4390de1af9b78d756968bf61aa6e067e12b] | committer: hpi1

Create storage roots before JSM

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

 src/libbluray/bdj/java/org/videolan/Libbluray.java |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libbluray/bdj/java/org/videolan/Libbluray.java b/src/libbluray/bdj/java/org/videolan/Libbluray.java
index 529f4a5..e1417a9 100644
--- a/src/libbluray/bdj/java/org/videolan/Libbluray.java
+++ b/src/libbluray/bdj/java/org/videolan/Libbluray.java
@@ -55,6 +55,9 @@ public class Libbluray {
         System.setProperty("dvb.persistent.root", persistentRoot);
         System.setProperty("bluray.bindingunit.root", budaRoot);
 
+        new File(persistentRoot).mkdirs();
+        new File(budaRoot).mkdirs();
+
         if (discRoot != null) {
             System.setProperty("bluray.vfs.root", discRoot);
         }



More information about the libbluray-devel mailing list