Commit b1318c86 authored by Miguel Angel Cabrera Moya's avatar Miguel Angel Cabrera Moya Committed by Tim-Philipp Müller
Browse files

rtpbasedepay: remove unused variable
parent 8abc646e
......@@ -622,7 +622,7 @@ static gboolean
gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter,
GstEvent * event)
GstClockTime timestamp, duration, position;
GstClockTime timestamp, duration;
GstEvent *sevent;
const GstStructure *s;
......@@ -635,10 +635,6 @@ gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter,
gst_structure_get_clock_time (s, "timestamp", &timestamp);
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);
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