mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
mxfdemux: Fix query memory leak
Peer query isn't being freed in case of GST_QUERY_SEEKING. https://bugzilla.gnome.org/show_bug.cgi?id=763974
This commit is contained in:
parent
02fff22db5
commit
74a90087c1
1 changed files with 2 additions and 0 deletions
|
@ -3964,6 +3964,8 @@ gst_mxf_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
gst_query_set_seeking (query, GST_FORMAT_TIME, TRUE, 0, -1);
|
||||
else
|
||||
gst_query_set_seeking (query, GST_FORMAT_TIME, FALSE, -1, -1);
|
||||
|
||||
gst_query_unref (peerquery);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue