fix for allocator API changes

This commit is contained in:
Wim Taymans 2012-07-09 16:27:25 +02:00
parent f711750bba
commit 91ba1a2ebb

View file

@ -267,7 +267,7 @@ gst_mpeg2dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
else
gst_query_add_allocation_param (query, allocator, &params);
if (allocator)
gst_allocator_unref (allocator);
gst_object_unref (allocator);
/* Now chain up to the parent class to guarantee that we can
* get a buffer pool from the query */