From 59e4a039c9b6b45599c52d7a613e2fed70403aeb Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 28 Oct 2014 18:27:11 +1100 Subject: [PATCH] glfilter: get the config from the correct pool --- gst-libs/gst/gl/gstglfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c index 1442acc13e..6ea48a5109 100644 --- a/gst-libs/gst/gl/gstglfilter.c +++ b/gst-libs/gst/gl/gstglfilter.c @@ -899,7 +899,7 @@ gst_gl_filter_propose_allocation (GstBaseTransform * trans, if (decide_pool && GST_IS_GL_BUFFER_POOL (decide_pool) && gst_caps_is_equal_fixed (decide_caps, caps)) { - config = gst_buffer_pool_get_config (pool); + config = gst_buffer_pool_get_config (decide_pool); gst_buffer_pool_config_get_params (config, NULL, &size, NULL, NULL); gst_structure_free (config);