tests: Initial segment in rtpcollision test

This commit is contained in:
Olivier Crête 2013-12-12 23:22:41 -05:00 committed by George Kiagiadakis
parent a7823bc522
commit f0a4f26fa7

View file

@ -399,6 +399,7 @@ GST_START_TEST (test_rtx_ssrc_collision)
gst_pad_push_event (srcpad, gst_pad_push_event (srcpad,
gst_event_new_stream_start ("my_rtcp_stream_id")); gst_event_new_stream_start ("my_rtcp_stream_id"));
fail_if (res == FALSE); fail_if (res == FALSE);
gst_segment_init (&segment, GST_FORMAT_TIME);
res = gst_pad_push_event (srcpad, gst_event_new_segment (&segment)); res = gst_pad_push_event (srcpad, gst_event_new_segment (&segment));
fail_if (res == FALSE); fail_if (res == FALSE);