tests: fix leak

This commit is contained in:
Wim Taymans 2013-12-30 15:03:34 +01:00
parent 9345c2280a
commit bcd1589a91

View file

@ -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));