decodebin2: Use existing "caps" quark for one of the structure sets

This commit is contained in:
Mart Raudsepp 2011-10-20 13:04:52 +03:00 committed by Sebastian Dröge
parent b29a3d3cff
commit cee8710817

View file

@ -3483,7 +3483,7 @@ gst_decode_chain_get_topology (GstDecodeChain * chain)
caps = NULL;
}
}
gst_structure_set (u, "caps", GST_TYPE_CAPS, caps, NULL);
gst_structure_id_set (u, topology_caps, GST_TYPE_CAPS, caps, NULL);
gst_caps_unref (caps);
return u;