diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index c7e8921d05..8bcadde028 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -3443,7 +3443,8 @@ gst_decode_chain_get_topology (GstDecodeChain * chain) u = gst_structure_id_empty_new (topology_structure_name); /* Now at the last element */ - if (chain->elements && (chain->endpad || chain->deadend)) { + if ((chain->elements || !chain->active_group) && + (chain->endpad || chain->deadend)) { s = gst_structure_id_empty_new (topology_structure_name); gst_structure_id_set (u, topology_caps, GST_TYPE_CAPS, chain->endcaps, NULL);