We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fc1c00 commit de9d761Copy full SHA for de9d761
src/org/freedesktop/gstreamer/elements/AppSink.java
@@ -172,7 +172,7 @@ public static interface NEW_SAMPLE {
172
*
173
* @param elem
174
*/
175
- public FlowReturn newBuffer(AppSink elem);
+ public FlowReturn newSample(AppSink elem);
176
}
177
/**
178
* Adds a listener for the <code>new-buffer</code> signal. If a blocking
@@ -186,7 +186,7 @@ public void connect(final NEW_SAMPLE listener) {
186
connect(NEW_SAMPLE.class, listener, new GstCallback() {
187
@SuppressWarnings("unused")
188
public FlowReturn callback(AppSink elem) {
189
- return listener.newBuffer(elem);
+ return listener.newSample(elem);
190
191
});
192
0 commit comments