Replacing buffer in a GST_PAD_PROBE_TYPE_BUFFER
adrien
adrien.charruel at devialet.com
Wed Jun 3 15:12:42 UTC 2020
adrien.charruel at devialet.comHi,
I have a pipeline with a GST_PAD_PROBE_TYPE_BUFFER installed on a sink pad.
I need to modify the buffers that are getting through this pad, by using:
buffer = gst_pad_probe_info_get_buffer(info);
GST_PAD_PROBE_INFO_DATA(info) = newbuf;
But this leads to an invalid pointer free() further in the chain pad
functions.
Is it allowed to replace the buffer within a probe. And if it is, how should
I proceed?
Thanks for your help!
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list