fix for allocator API changes
This commit is contained in:
parent
f711750bba
commit
91ba1a2ebb
@ -267,7 +267,7 @@ gst_mpeg2dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
||||
else
|
||||
gst_query_add_allocation_param (query, allocator, ¶ms);
|
||||
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user