Using "convert-sample" from playbin
Chris Tapp
opensource at keylevel.com
Sat Aug 2 17:45:01 PDT 2014
I want to be able to grab a converted copy of the most recent frame from a video pipeline.
The pipeline is created using gst_parse_launch() and contains a "playbin" element.
I then use the following to grab and process the converted frames:
g_signal_emit_by_name( pipeline, "convert-sample", target_caps, &frame );
// Process frame...
gst_sample_unref( frame );
However, this causes a memory leak. What am I doing wrong?
Chris Tapp
opensource at keylevel.com
www.keylevel.com
More information about the gstreamer-devel
mailing list