<div dir="ltr">Just another thing. I'm also testing event handling on my plugin. Is there a way to check out this, like a "events" variable ?<div><br></div><div>This time I checked and it does not seem to exist :-). </div><div><br></div><div>Perhaps could be a good idea to have a way to introspect on the events, just like it can be done with the buffers. Or no ?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 4:44 PM, Tiago Katcipis <span dir="ltr"><<a href="mailto:tiagokatcipis@gmail.com" target="_blank">tiagokatcipis@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Nov 25, 2014 at 4:13 PM, Tim <span>Müller</span> <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank"><span>tim</span>@<span>centricular</span>.com</a>></span> wrote:<br><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"><div><div>On Tue, 2014-11-25 at 15:51 -0200, Tiago Katcipis wrote:<br>
<br>
Hi,<br>
<br>
> I'm writing some tests using GstCheck and until now I have been able<br>
> to test using gst_check_element_push_buffer_list.<br>
><br>
> But since it only checks the size and contents of the buffers I can't<br>
> use it to check other information's about the buffers, like timestamp,<br>
> duration, etc.<br>
><br>
> I already had other problem before (like being unable to set<br>
> properties on the element that is being tested on<br>
> gst_check_element_push_buffer_*), in the end I configure a chain<br>
> function and grab all the data.<br>
><br>
> But GstCheck is already doing this and storing all data on its<br>
> internal buffers list. Would be too bad if we had an<br>
> gst_check_get_buffers to peek on the buffers ?<br>
><br>
> In the end I feel like I'm redoing GstCheck work.<br>
<br>
</div></div>Isn't that 'internal' buffer list variable actually exported as GList*<br>
under the name of 'buffers' ? (no namespacing sadly)<br></blockquote><div><br></div></span><div>Yes it is:</div><div><br></div><div>http://<span>cgit</span>.<span>freedesktop</span>.org/<span>gstreamer</span>/<span>gstreamer</span>/tree/libs/<span>gst</span>/check/<span>gstcheck</span>.h#n52<br></div><div><br></div><div>Sorry for the noise, honestly the idea of a variable with such a simple/small name being external was so odd to me that I didn't noticed that on the .c it is not declared as static (and of course I did not checked the header either).</div><div><br></div><div>It is really sad that it does not have any <span>namespacing</span> :-).</div><div><br></div><div>Thanks for pointing this out Tim.</div><div><br></div><div>Again sorry.</div><span class=""><div> </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">
<br>
 Cheers<br>
<span><font color="#888888">  -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><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>
</font></span></blockquote></span></div><br></div></div>
</blockquote></div><br></div>