replace event on a pad probe?
Tim Müller
tim at centricular.com
Mon Jan 13 11:49:06 PST 2014
On Mon, 2014-01-13 at 17:15 -0200, Lautaro Woites wrote:
Hi,
> is there a way to change an event data on a pad probe?
> I've tried to use gst_event_make_writable, but it has returned a copy
> of the event.
In 1.x you should be able to do that. I believe you can just unref the
event in the 'data' member of the GstPadProbeInfo structure which you
get in your pad probe callback, and then create a new event and put that
into the structure instead.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list