diff --git a/lib/gst/plugin/gstclappersink.c b/lib/gst/plugin/gstclappersink.c index f8c69d4b..2aa3f370 100644 --- a/lib/gst/plugin/gstclappersink.c +++ b/lib/gst/plugin/gstclappersink.c @@ -431,6 +431,11 @@ gst_clapper_sink_propose_allocation (GstBaseSink *bsink, GstQuery *query) guint size, min_buffers; gboolean need_pool; + if (!self->importer) { + GST_DEBUG_OBJECT (self, "No importer to propose allocation"); + return FALSE; + } + gst_query_parse_allocation (query, &caps, &need_pool); if (!caps) {