harness: assert on result of gst_pad_push_event()

That assertion was accidentally removed in the refactoring done in
60de1f26c7
This commit is contained in:
Edward Hervey 2018-12-15 11:07:21 +01:00 committed by Edward Hervey
parent e4c07997d1
commit 34b02908c7

View file

@ -1179,6 +1179,7 @@ gst_harness_set_src_caps (GstHarness * h, GstCaps * caps)
gst_segment_init (&segment, GST_FORMAT_TIME);
handled = gst_pad_push_event (h->srcpad, gst_event_new_segment (&segment));
g_assert (handled);
}
/**