Skip to content

Commit fcacade

Browse files
committed
renamed setGStreamerPath() back to setPath() and useOpenGL() to useGL() in video.
1 parent f98c53b commit fcacade

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/processing/opengl/PGL.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,8 @@ protected void requestDraw() {
923923
animator.requestDisplay();
924924
}
925925
} catch (GLException e) {
926-
// Unwrap GLException to only the causing exception and so
927-
// avoid the additional jogl lines.
926+
// Unwrap GLException so that only the causing exception
927+
// is shown.
928928
Throwable tr = e.getCause();
929929
throw (RuntimeException)tr;
930930
}

java/libraries/video/src/processing/video/Video.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ public class Video implements PConstants {
6666
}
6767

6868

69-
static public void setGStreamerPath(String path) {
69+
static public void setPath(String path) {
7070
gstreamerPath = path;
7171
}
7272

7373

74-
static public void useOpenGL(boolean gl) {
74+
static public void useGL(boolean gl) {
7575
useGLBufferSink = gl;
7676
}
7777

0 commit comments

Comments
 (0)