summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-05-13 14:21:15 +0200
committerEdward Hervey <edward@collabora.com>2014-05-13 14:21:15 +0200
commit8299c5b5b491d1a6f5fb23c441f1444b98ca01c7 (patch)
treeb3da8b1cce271b58c72c2c47f82e574e4e2502d6
parentadecec882a323e73f46741e63e204eccea2ff823 (diff)
downloadgstreamer-plugins-bad-8299c5b5b491d1a6f5fb23c441f1444b98ca01c7.tar.gz
schrodec: Use pool configuration
It was leaking the config, but also not using it... CID #1212155
-rw-r--r--ext/schroedinger/gstschrodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/schroedinger/gstschrodec.c b/ext/schroedinger/gstschrodec.c
index 00f442eb5..0a273faea 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;