Commit bcd1589a authored by Wim Taymans's avatar Wim Taymans

tests: fix leak

parent 9345c228
......@@ -154,7 +154,7 @@ chain_rtp_packet (GstPad * pad, CleanupData * data)
data->seqnum = 0;
}
gst_pad_send_event (pad, gst_event_new_stream_start (gst_pad_get_name (pad)));
gst_pad_send_event (pad, gst_event_new_stream_start (GST_OBJECT_NAME (pad)));
gst_pad_send_event (pad, gst_event_new_caps (caps));
gst_segment_init (&segment, GST_FORMAT_TIME);
gst_pad_send_event (pad, gst_event_new_segment (&segment));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment