[Bug 752746] harness: Keep synchronized events in sync with buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 29 18:34:09 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752746

--- Comment #9 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
Interesting take on the tests. Any reason you don't check the type of events? I
ended up adding a little utility function to make sure the forwarded events are
as expected:

static void
forward_check_event (GstHarness * h, GstHarness * hsrc, GstEventType type)
{
  GstEvent *e;

  e = gst_harness_pull_event (hsrc);
  fail_unless (GST_EVENT_TYPE (e) == type);
  gst_harness_push_event (h, e);
}

If you think the disable forwarding patch is a good idea I'll merge it,
otherwise I'll use the version without using the src-harness stuff

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list