mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
deinterlace: do not leak getcaps result
This commit is contained in:
parent
45e5ec29ac
commit
a4458f5f74
1 changed files with 1 additions and 0 deletions
|
@ -2587,6 +2587,7 @@ gst_deinterlace_sink_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
gst_query_parse_caps (query, &filter);
|
||||
caps = gst_deinterlace_getcaps (self, pad, filter);
|
||||
gst_query_set_caps_result (query, caps);
|
||||
gst_caps_unref (caps);
|
||||
res = TRUE;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue