mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
urisourcebin: Unref query with gst_query_unref()
Not gst_object_unref().
This commit is contained in:
parent
f460d7d184
commit
efbda07cfa
1 changed files with 1 additions and 1 deletions
|
@ -1980,7 +1980,7 @@ handle_new_pad (GstURISourceBin * urisrc, GstPad * srcpad, GstCaps * caps)
|
|||
gst_query_parse_duration (query, NULL, &dur);
|
||||
do_download = (dur != -1);
|
||||
}
|
||||
gst_object_unref (query);
|
||||
gst_query_unref (query);
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (urisrc, "check media-type %s, %d", media_type,
|
||||
|
|
Loading…
Reference in a new issue