From 8299c5b5b491d1a6f5fb23c441f1444b98ca01c7 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 13 May 2014 14:21:15 +0200 Subject: [PATCH] schrodec: Use pool configuration It was leaking the config, but also not using it... CID #1212155 --- ext/schroedinger/gstschrodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c index 00f442e..0a273fa 100644 --- a/ext/schroedinger/gstschrodec.c +++ b/ext/schroedinger/gstschrodec.c @@ -573,7 +573,7 @@ gst_schro_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query) gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META); } - + gst_buffer_pool_set_config (pool, config); gst_object_unref (pool); return TRUE; -- 2.7.4