<div dir="ltr">It's ok, i used str() instead.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 4:00 PM, Max Sarajlija <span dir="ltr"><<a href="mailto:maksimilijans@gmail.com" target="_blank">maksimilijans@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That one works, so great!<br><br>Now if anyone can tell me what to do with gst.TIME_ARGS (they're gone in GStreamer 1.0)<br>
<br>Here's how TIME_ARGS is used:<div><a href="https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent010.py#L334" target="_blank">https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent010.py#L334</a><br>

</div><div><a href="https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent010.py#L335" target="_blank">https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent010.py#L335</a><br>

</div><div><a href="https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent010.py#L491" target="_blank">https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent010.py#L491</a><br>

</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 1:30 PM, Max Sarajlija <span dir="ltr"><<a href="mailto:maksimilijans@gmail.com" target="_blank">maksimilijans@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Never mind, didn't see that PadProbeInfo has get_event.</div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 1:17 PM, Max Sarajlija <span dir="ltr"><<a href="mailto:maksimilijans@gmail.com" target="_blank">maksimilijans@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tim,<div><br><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<span style="font-family:arial,sans-serif;font-size:13px">If you want a GstEvent, you can get it from the </span><span style="font-family:arial,sans-serif;font-size:13px">probeinfo (after checking that the type is actually an event).</span></blockquote>



<div><br></div></div><div>How can i get a GstEvent from probeinfo?</div><div><br></div><div>Thanks,<br><br>Max </div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 21, 2013 at 8:44 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 2013-07-21 at 16:25 +0200, Max Sarajlija wrote:<br>
<br>
Hi Max,<br>
<div><br>
> I'm porting Flumotion for the new GStreamer (in PyGi) and i stumbled<br>
> upon some things i can't resolve on my own. I've posted more about<br>
> this here: <a href="http://portingflumotion.blogspot.com/" target="_blank">http://portingflumotion.blogspot.com/</a><br>
<br>
</div>About <a href="http://portingflumotion.blogspot.co.uk/2013/07/analyzing.html" target="_blank">http://portingflumotion.blogspot.co.uk/2013/07/analyzing.html</a> :<br>
<br>
First of all, calling a GstProbeInfo structure 'event' is a very bad<br>
idea, and makes everything even more confusing than it already is. Call<br>
it probeinfo instead. If you want a GstEvent, you can get it from the<br>
probeinfo (after checking that the type is actually an event).<br>
<br>
Then pass the *event* to event_is_flumotion_reset(), not the<br>
*probeinfo*.<br>
<br>
(python 0 : C 1 ;))<br>
<br>
Cheers<br>
 -Tim<br>
<br>
<br>
<br>
<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>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>