diff --git a/java/libraries/video/src/processing/video/LibraryPath.java b/java/libraries/video/src/processing/video/LibraryPath.java index 866bb6e54..fab80cccc 100644 --- a/java/libraries/video/src/processing/video/LibraryPath.java +++ b/java/libraries/video/src/processing/video/LibraryPath.java @@ -27,7 +27,7 @@ class LibraryPath { // This method returns the folder inside which the gstreamer library folder // should be located. String get() { - URL url = this.getClass().getResource("GSLibraryPath.class"); + URL url = this.getClass().getResource("LibraryPath.class"); if (url != null) { // Convert URL to string, taking care of spaces represented by the "%20" // string. @@ -36,19 +36,19 @@ class LibraryPath { int n1 = -1; if (Platform.isWindows()) { - n1 = path.indexOf("/lib/GSVideo.jar"); // location of GSVideo.jar in + n1 = path.indexOf("/lib/video.jar"); // location of video.jar in // exported apps. if (n1 == -1) - n1 = path.indexOf("/GSVideo.jar"); // location of GSVideo.jar in + n1 = path.indexOf("/video.jar"); // location of video.jar in // library folder. // In Windows, path string starts with "jar file/C:/..." // so the substring up to the first / is removed. n0++; } else if (Platform.isMac()) { - // In Mac, getting the index of GSVideo.jar is enough in the case of sketches running from the PDE + // In Mac, getting the index of video.jar is enough in the case of sketches running from the PDE // as well as exported applications. - n1 = path.indexOf("GSVideo.jar"); + n1 = path.indexOf("video.jar"); } else if (Platform.isLinux()) { // TODO: what's up? } diff --git a/java/libraries/video/src/processing/video/Video.java b/java/libraries/video/src/processing/video/Video.java index 804233353..0cb8ed7e2 100644 --- a/java/libraries/video/src/processing/video/Video.java +++ b/java/libraries/video/src/processing/video/Video.java @@ -76,7 +76,7 @@ public class Video implements PConstants { public static void init() { if (INSTANCES_COUNT == 0) { - PApplet.println("GSVideo version: " + VERSION_STRING); + PApplet.println("Video library version: " + VERSION_STRING); initImpl(); } INSTANCES_COUNT++; @@ -121,7 +121,7 @@ public class Video implements PConstants { String[] args = { "" }; Gst.setUseDefaultContext(defaultGLibContext); - Gst.init("GSVideo", args); + Gst.init("Processing core video", args); addPlugins(); }