<div dir="ltr">Hello, <div><br></div><div>I have a question about the GstHarness module. I am trying to make a very simple test: </div><div><br></div><div><div>GST_START_TEST (test_simple)</div><div>{</div><div>  size_t i = 0;</div><div>  GstHarness * h = gst_harness_new ("fakesink");</div><div>  gst_harness_add_src_parse (h, "videotestsrc is-live=1 ! x264enc ", TRUE);</div><div>  for (i = 0; i < 10; i++) {</div><div>      fail_unless(gst_harness_push_from_src(h) == GST_FLOW_OK);</div><div>  }</div><div>  g_printf("buf=%u\n",gst_harness_buffers_received(h));</div><div><br></div><div>  gst_harness_teardown(h);</div><div>}</div><div>GST_END_TEST;</div></div><div><br></div><div>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.</div><div><br></div><div>2.- In any case <span style="line-height:1.5">gst_harness_buffers_received does not seems to work it always returns 0. </span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Any help is appreciated. </span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Regards, </span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">IA</span></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Iván Aponte<div>+58 412 2774713</div></div></div>