mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
rtpbasedepay: remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=687146
This commit is contained in:
parent
8abc646ecb
commit
b1318c86e8
1 changed files with 1 additions and 5 deletions
|
@ -622,7 +622,7 @@ static gboolean
|
||||||
gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter,
|
gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter,
|
||||||
GstEvent * event)
|
GstEvent * event)
|
||||||
{
|
{
|
||||||
GstClockTime timestamp, duration, position;
|
GstClockTime timestamp, duration;
|
||||||
GstEvent *sevent;
|
GstEvent *sevent;
|
||||||
const GstStructure *s;
|
const GstStructure *s;
|
||||||
|
|
||||||
|
@ -635,10 +635,6 @@ gst_rtp_base_depayload_packet_lost (GstRTPBaseDepayload * filter,
|
||||||
gst_structure_get_clock_time (s, "timestamp", ×tamp);
|
gst_structure_get_clock_time (s, "timestamp", ×tamp);
|
||||||
gst_structure_get_clock_time (s, "duration", &duration);
|
gst_structure_get_clock_time (s, "duration", &duration);
|
||||||
|
|
||||||
position = timestamp;
|
|
||||||
if (duration != -1)
|
|
||||||
position += duration;
|
|
||||||
|
|
||||||
/* send GAP event */
|
/* send GAP event */
|
||||||
sevent = gst_event_new_gap (timestamp, duration);
|
sevent = gst_event_new_gap (timestamp, duration);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue