Skip to content

Commit

Permalink
Temp debug
Browse files Browse the repository at this point in the history
  • Loading branch information
berry120 committed Dec 19, 2023
1 parent 6a9ac16 commit 8b24d12
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.freedesktop.gstreamer.lowlevel.GstAPI;

import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
Expand Down Expand Up @@ -81,6 +82,14 @@ public static void configurePaths() {
System.out.println(new File(System.getProperty("java.io.tmpdir")).canExecute());
System.out.println(new File(System.getProperty("java.io.tmpdir")).canRead());
System.out.println(new File(System.getProperty("java.io.tmpdir")).canWrite());

try {
File tf = File.createTempFile("tmp", ".tmp");
System.out.println("CREATED: " + tf.getAbsolutePath());
}
catch(IOException ex) {
ex.printStackTrace();
}
Native.loadLibrary("gstreamer-1.0", GstAPI.class, options);
}
}
Expand Down

0 comments on commit 8b24d12

Please sign in to comment.