[libbluray-devel] Unset bluray.vfs.root when it is not accessible
hpi1
git at videolan.org
Tue Mar 3 13:05:11 CET 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar 3 13:38:01 2015 +0200| [efd6705a5719f9cd01751d84f12555beb758a233] | committer: hpi1
Unset bluray.vfs.root when it is not accessible
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=efd6705a5719f9cd01751d84f12555beb758a233
---
src/libbluray/bdj/java/org/videolan/Libbluray.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libbluray/bdj/java/org/videolan/Libbluray.java b/src/libbluray/bdj/java/org/videolan/Libbluray.java
index e1417a9..7f118eb 100644
--- a/src/libbluray/bdj/java/org/videolan/Libbluray.java
+++ b/src/libbluray/bdj/java/org/videolan/Libbluray.java
@@ -60,6 +60,8 @@ public class Libbluray {
if (discRoot != null) {
System.setProperty("bluray.vfs.root", discRoot);
+ } else {
+ System.getProperties().remove("bluray.vfs.root");
}
Libbluray.nativePointer = nativePointer;
More information about the libbluray-devel
mailing list