mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
deinterlace: plug some leaks
This commit is contained in:
parent
510482b01a
commit
1ce09d7ef9
1 changed files with 4 additions and 0 deletions
|
@ -852,6 +852,8 @@ gst_deinterlace_reset (GstDeinterlace * self)
|
|||
|
||||
self->need_more = FALSE;
|
||||
self->have_eos = FALSE;
|
||||
|
||||
gst_deinterlace_set_allocation (self, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -2353,6 +2355,8 @@ gst_deinterlace_do_bufferpool (GstDeinterlace * self, GstCaps * outcaps)
|
|||
/* now store */
|
||||
result = gst_deinterlace_set_allocation (self, pool, allocator, ¶ms);
|
||||
|
||||
gst_query_unref (query);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue