<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 4:13 PM, Tim <span class="" id=":366.1" tabindex="-1">Müller</span> <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank"><span class="" id=":366.2" tabindex="-1">tim</span>@<span class="" id=":366.3" tabindex="-1">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 class=""><div class="h5">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><div>Yes it is:</div><div><br></div><div>http://<span class="" id=":366.4" tabindex="-1">cgit</span>.<span class="" id=":366.5" tabindex="-1">freedesktop</span>.org/<span class="" id=":366.6" tabindex="-1">gstreamer</span>/<span class="" id=":366.7" tabindex="-1">gstreamer</span>/tree/libs/<span class="" id=":366.8" tabindex="-1">gst</span>/check/<span class="" id=":366.9" tabindex="-1">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 class="" id=":366.10" tabindex="-1">namespacing</span> :-).</div><div><br></div><div>Thanks for pointing this out Tim.</div><div><br></div><div>Again sorry.</div><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 class=""><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">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></div><br></div></div>