<div dir="ltr">Hi,<div><br></div><div>I'm using <span class="" id=":2h0.62" tabindex="-1">GstCheck</span> to test a <span class="" id=":2h0.63" tabindex="-1">plugin</span> I'm writing. Basically i want to inject data and check the <span class="" id=":2h0.64" tabindex="-1">plugin</span> output.</div>
<div><br></div><div>Right now i am probing the sink pad created with <span class="" id=":2h0.65" tabindex="-1">gst</span>_check_setup_sink_pad to get the produced data.</div>
<div><br></div><div>Is there a way to get the global buffers (there is already a drop <span class="" id=":2h0.66" tabindex="-1">funcion</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/gstreamer-libs-GstCheck.html#gst-check-drop-buffers" target="_blank">http://<span class="" id=":2h0.67" tabindex="-1">gstreamer</span>.<span class="" id=":2h0.68" tabindex="-1">freedesktop</span>.org/data/doc/<span class="" id=":2h0.69" tabindex="-1">gstreamer</span>/head/<span class="" id=":2h0.70" tabindex="-1">gstreamer</span>-libs/html/<span class="" id=":2h0.71" tabindex="-1">gstreamer</span>-libs-<span class="" id=":2h0.72" tabindex="-1">GstCheck</span>.html#<span class="" id=":2h0.73" tabindex="-1">gst</span>-check-drop-buffers</a> for them) list (or a copy of it, which seems nicer) ?</div>
<div><br></div><div>The code is already probing the pad, it does not seem smart to have to prob it again to get the buffers.</div><div><br></div><div>There is a function that does almost everything i want (and also works with the global buffers):</div>
<div><br></div><div><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/gstreamer-libs-GstCheck.html#gst-check-element-push-buffer-list" target="_blank">http://<span class="" id=":2h0.74" tabindex="-1">gstreamer</span>.<span class="" id=":2h0.75" tabindex="-1">freedesktop</span>.org/data/doc/<span class="" id=":2h0.76" tabindex="-1">gstreamer</span>/head/<span class="" id=":2h0.77" tabindex="-1">gstreamer</span>-libs/html/<span class="" id=":2h0.78" tabindex="-1">gstreamer</span>-libs-<span class="" id=":2h0.79" tabindex="-1">GstCheck</span>.html#<span class="" id=":2h0.80" tabindex="-1">gst</span>-check-element-push-buffer-list</a><br>
</div><div><br></div><div>The problem is that i have to play with some properties of my <span class="" id=":2h0.81" tabindex="-1">plugin</span> before running the tests, these properties affect the results of the tests, so it seems that i have to write a more controlled test fixture. It is not that hard, just the probing seems unnecessary since <span class="" id=":2h0.82" tabindex="-1">GstCheck</span> already accumulated all the buffers for me.</div>
<div><br></div><div>Am i missing something or a function like this would be a welcome addition to <span class="" id=":2h0.83" tabindex="-1">GstCheck</span> ?</div><div><br></div><div>Best regards,</div><div><span class="" id=":2h0.84" tabindex="-1">Tiago</span> <span class="" id=":2h0.85" tabindex="-1">Katcipis</span></div>
<div><br></div></div>