v4l2sink: Unref pool after usage

https://bugzilla.gnome.org/show_bug.cgi?id=736384
This commit is contained in:
Ognyan Tonchev 2014-09-10 09:50:45 +02:00 committed by Nicolas Dufresne
parent de6db03b53
commit b417c3409b

View file

@ -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;