GstHarness and x264enc
Iván Aponte
ivan.aponte at gmail.com
Sun Aug 28 00:51:41 UTC 2016
Hello,
I have a question about the GstHarness module. I am trying to make a very
simple test:
GST_START_TEST (test_simple)
{
size_t i = 0;
GstHarness * h = gst_harness_new ("fakesink");
gst_harness_add_src_parse (h, "videotestsrc is-live=1 ! x264enc ", TRUE);
for (i = 0; i < 10; i++) {
fail_unless(gst_harness_push_from_src(h) == GST_FLOW_OK);
}
g_printf("buf=%u\n",gst_harness_buffers_received(h));
gst_harness_teardown(h);
}
GST_END_TEST;
1.- When using vp8enc instead of x264enc and launching it
with GST_DEBUG=videotest*:6 I see that 10 buffers are created. With
x264enc only 2 buffers are created and it gets stuck and test timeouts
after 15 seconds.
2.- In any case gst_harness_buffers_received does not seems to work it
always returns 0.
Any help is appreciated.
Regards,
IA
--
Iván Aponte
+58 412 2774713
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160828/6ef74a79/attachment.html>
More information about the gstreamer-devel
mailing list