schrodec: Use pool configuration
authorEdward Hervey <edward@collabora.com>
Tue, 13 May 2014 12:21:15 +0000 (14:21 +0200)
committerEdward Hervey <edward@collabora.com>
Tue, 13 May 2014 12:21:15 +0000 (14:21 +0200)
It was leaking the config, but also not using it...

CID #1212155

ext/schroedinger/gstschrodec.c

index 00f442eb52092f4a3f4e09276adbe7f8e42c6932..0a273faea3a50bda19b916dac38ea43413d2eb19 100644 (file)
@@ -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;