decodebin2: Use existing "caps" quark for one of the structure sets
authorMart Raudsepp <mart.raudsepp@collabora.com>
Thu, 20 Oct 2011 10:04:52 +0000 (13:04 +0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 3 Nov 2011 13:40:51 +0000 (14:40 +0100)
gst/playback/gstdecodebin2.c

index d1eb154..22f6cc5 100644 (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;