rtspsrc: fix query leak
https://bugzilla.gnome.org/show_bug.cgi?id=733003
This commit is contained in:
parent
dd5144fd4e
commit
c2614e5253
@ -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…
x
Reference in New Issue
Block a user