multiqueue, inputselector: show pad properties in gst-inspect-1.0
authorTim-Philipp Müller <tim@centricular.com>
Tue, 17 Apr 2018 10:24:31 +0000 (11:24 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 17 Apr 2018 17:57:20 +0000 (18:57 +0100)
plugins/elements/gstinputselector.c
plugins/elements/gstmultiqueue.c

index e5514b0..b032d1e 100644 (file)
@@ -1293,8 +1293,8 @@ gst_input_selector_class_init (GstInputSelectorClass * klass)
       "Julien Moutte <julien@moutte.net>, "
       "Jan Schmidt <thaytan@mad.scientist.com>, "
       "Wim Taymans <wim.taymans@gmail.com>");
-  gst_element_class_add_static_pad_template (gstelement_class,
-      &gst_input_selector_sink_factory);
+  gst_element_class_add_static_pad_template_with_gtype (gstelement_class,
+      &gst_input_selector_sink_factory, GST_TYPE_SELECTOR_PAD);
   gst_element_class_add_static_pad_template (gstelement_class,
       &gst_input_selector_src_factory);
 
index cb8054d..bcf8efa 100644 (file)
@@ -630,7 +630,8 @@ gst_multi_queue_class_init (GstMultiQueueClass * klass)
   gst_element_class_set_static_metadata (gstelement_class,
       "MultiQueue",
       "Generic", "Multiple data queue", "Edward Hervey <edward@fluendo.com>");
-  gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate);
+  gst_element_class_add_static_pad_template_with_gtype (gstelement_class,
+      &sinktemplate, GST_TYPE_MULTIQUEUE_PAD);
   gst_element_class_add_static_pad_template (gstelement_class, &srctemplate);
 
   gstelement_class->request_new_pad =