Replacing buffer in a GST_PAD_PROBE_TYPE_BUFFER

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Replacing buffer in a GST_PAD_PROBE_TYPE_BUFFER

adrien
[hidden email],

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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel