deinterlace: plug some leaks
This commit is contained in:
parent
510482b01a
commit
1ce09d7ef9
@ -852,6 +852,8 @@ gst_deinterlace_reset (GstDeinterlace * self)
|
|||||||
|
|
||||||
self->need_more = FALSE;
|
self->need_more = FALSE;
|
||||||
self->have_eos = FALSE;
|
self->have_eos = FALSE;
|
||||||
|
|
||||||
|
gst_deinterlace_set_allocation (self, NULL, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -2353,6 +2355,8 @@ gst_deinterlace_do_bufferpool (GstDeinterlace * self, GstCaps * outcaps)
|
|||||||
/* now store */
|
/* now store */
|
||||||
result = gst_deinterlace_set_allocation (self, pool, allocator, ¶ms);
|
result = gst_deinterlace_set_allocation (self, pool, allocator, ¶ms);
|
||||||
|
|
||||||
|
gst_query_unref (query);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user