mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
fix for allocator API changes
This commit is contained in:
parent
f711750bba
commit
91ba1a2ebb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue