<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/13 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Mo, 2014-01-13 at 19:49 +0000, Tim Müller wrote:<br>
> On Mon, 2014-01-13 at 17:15 -0200, Lautaro Woites wrote:<br>
><br>
> Hi,<br>
><br>
> >  is there a way to change an event data on a pad probe?<br>
> > I've tried to use gst_event_make_writable, but it has returned a copy<br>
> > of the event.<br>
><br>
> In 1.x you should be able to do that. I believe you can just unref the<br>
> event in the 'data' member of the GstPadProbeInfo structure which you<br>
> get in your pad probe callback, and then create a new event and put that<br>
> into the structure instead.<br>
<br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
</div>Yes, just make sure that the GstPadProbeInfo owns a reference to the<br>
event. Replacing buffers and queries works the same way.<br>
<span><font color="#888888"><br></font></span></blockquote><div><br></div><div>Thanks! How do I known if GstPadProbeInfo owns the reference to the event?<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888">
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div>