mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-10 10:24:45 +00:00
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:
parent
e4c07997d1
commit
34b02908c7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue