diff --git a/BufferProbe/src/main/java/org/freedesktop/gstreamer/examples/BufferProbe.java b/BufferProbe/src/main/java/org/freedesktop/gstreamer/examples/BufferProbe.java index 6991d60..64b5afd 100644 --- a/BufferProbe/src/main/java/org/freedesktop/gstreamer/examples/BufferProbe.java +++ b/BufferProbe/src/main/java/org/freedesktop/gstreamer/examples/BufferProbe.java @@ -86,7 +86,7 @@ public static void main(String[] args) { * The named Identity element can be acquired from the pipeline by name * and the probe attached to its sink pad. */ - pipeline = (Pipeline) Gst.parseLaunch("autovideosrc ! videoconvert ! videoscale ! " + pipeline = (Pipeline) Gst.parseLaunch("autovideosrc ! videoscale ! videoconvert ! " + caps + " ! identity name=identity ! videoconvert ! autovideosink"); Element identity = pipeline.getElementByName("identity"); identity.getStaticPad("sink")