mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 06:52:41 +00:00
schrodec: Use pool configuration
It was leaking the config, but also not using it... CID #1212155
This commit is contained in:
parent
adecec882a
commit
8299c5b5b4
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ gst_schro_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
||||||
gst_buffer_pool_config_add_option (config,
|
gst_buffer_pool_config_add_option (config,
|
||||||
GST_BUFFER_POOL_OPTION_VIDEO_META);
|
GST_BUFFER_POOL_OPTION_VIDEO_META);
|
||||||
}
|
}
|
||||||
|
gst_buffer_pool_set_config (pool, config);
|
||||||
gst_object_unref (pool);
|
gst_object_unref (pool);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue