v4l2sink: Unref pool after usage
https://bugzilla.gnome.org/show_bug.cgi?id=736384
This commit is contained in:
parent
de6db03b53
commit
b417c3409b
@ -554,6 +554,7 @@ gst_v4l2sink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
|
||||
max = min;
|
||||
|
||||
gst_query_set_nth_allocation_pool (query, 0, pool, size, min, max);
|
||||
gst_object_unref (pool);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user