mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
rtspsrc: fix query leak
https://bugzilla.gnome.org/show_bug.cgi?id=733003
This commit is contained in:
parent
dd5144fd4e
commit
c2614e5253
1 changed files with 5 additions and 1 deletions
|
@ -2328,12 +2328,16 @@ gst_rtspsrc_get_position (GstRTSPSrc * src)
|
|||
GST_DEBUG_OBJECT (src, "retaining position %" GST_TIME_FORMAT,
|
||||
GST_TIME_ARGS (pos));
|
||||
src->last_pos = pos;
|
||||
return;
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
src->last_pos = 0;
|
||||
|
||||
out:
|
||||
|
||||
gst_query_unref (query);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue