gint num_features = 0;
gint num_elements = 0;
gint num_typefinders = 0;
+ gint num_devmonitors = 0;
gint num_other = 0;
origlist = features =
gst_plugin_feature_get_name (feature));
num_typefinders++;
+ } else if (GST_IS_DEVICE_MONITOR_FACTORY (feature)) {
+ GstDeviceMonitorFactory *factory;
+
+ factory = GST_DEVICE_MONITOR_FACTORY (feature);
+ n_print (" %s: %s\n", GST_OBJECT_NAME (factory),
+ gst_device_monitor_factory_get_metadata (factory,
+ GST_ELEMENT_METADATA_LONGNAME));
+ num_devmonitors++;
} else if (feature) {
n_print (" %s (%s)\n", gst_object_get_name (GST_OBJECT (feature)),
g_type_name (G_OBJECT_TYPE (feature)));
n_print (" +-- %d elements\n", num_elements);
if (num_typefinders > 0)
n_print (" +-- %d typefinders\n", num_typefinders);
+ if (num_devmonitors > 0)
+ n_print (" +-- %d device monitors\n", num_devmonitors);
if (num_other > 0)
n_print (" +-- %d other objects\n", num_other);