https://bugzilla.gnome.org/show_bug.cgi?id=687146
gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter,
GstEvent * event)
{
- GstClockTime timestamp, duration, position;
+ GstClockTime timestamp, duration;
GstEvent *sevent;
const GstStructure *s;
gst_structure_get_clock_time (s, "timestamp", ×tamp);
gst_structure_get_clock_time (s, "duration", &duration);
- position = timestamp;
- if (duration != -1)
- position += duration;
-
/* send GAP event */
sevent = gst_event_new_gap (timestamp, duration);