mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 13:26:36 +00:00
avviddec: Fix structure memory leak
gst_structure_copy already takes a reference for config_copy. No need to take another reference while setting it to buffer pool https://bugzilla.gnome.org/show_bug.cgi?id=758512
This commit is contained in:
parent
598f71d12c
commit
839a72f92c
1 changed files with 1 additions and 1 deletions
|
@ -1854,7 +1854,7 @@ gst_ffmpegviddec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
||||||
config_copy);
|
config_copy);
|
||||||
|
|
||||||
/* FIXME validate and retry */
|
/* FIXME validate and retry */
|
||||||
if (gst_buffer_pool_set_config (pool, gst_structure_copy (config_copy))) {
|
if (gst_buffer_pool_set_config (pool, config_copy)) {
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
GstBuffer *tmp;
|
GstBuffer *tmp;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue