It happens if downstream does not propose a buffer pool.
GST_DEBUG=2 gst-launch-1.0 videotestsrc ! fakesink
https://bugzilla.gnome.org/show_bug.cgi?id=723271
gboolean update;
guint size, min, max;
GstStructure *config;
+ GstCaps *caps = NULL;
videotestsrc = GST_VIDEO_TEST_SRC (bsrc);
}
config = gst_buffer_pool_get_config (pool);
+
+ gst_query_parse_allocation (query, &caps, NULL);
+ if (caps)
+ gst_buffer_pool_config_set_params (config, caps, size, min, max);
+
if (gst_query_find_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL)) {
gst_buffer_pool_config_add_option (config,
GST_BUFFER_POOL_OPTION_VIDEO_META);