]> git.sesse.net Git - vlc/blobdiff - bindings/java/core/src/main/java/org/videolan/jvlc/Logger.java
jvlc: update libvlc_exception_t structure.
[vlc] / bindings / java / core / src / main / java / org / videolan / jvlc / Logger.java
index 0acd44ced564e643c1083edfa19e5ae5d6ac4b86..04f8300ef114b933b5f26715a5d0f2bf6105e111 100644 (file)
@@ -46,9 +46,9 @@ public class Logger
         this.libvlc = jvlc.getLibvlc();
         libvlc_exception_t exception = new libvlc_exception_t();
         this.logInstance = jvlc.getLibvlc().libvlc_log_open(jvlc.getInstance(), exception);
-        if (exception.raised == 1)
+        if (exception.b_raised == 1)
         {
-            throw new RuntimeException("Native exception thrown: " + exception.message);
+            throw new RuntimeException("Native exception thrown");
         }
     }