schrodec: Use pool configuration

It was leaking the config, but also not using it...

CID #1212155
This commit is contained in:
Edward Hervey 2014-05-13 14:21:15 +02:00
parent adecec882a
commit 8299c5b5b4

View 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;