PROP_RESEND_STREAMHEADER,
+ PROP_NUM_FDS,
+
PROP_LAST
};
DEFAULT_RESEND_STREAMHEADER,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ g_object_class_install_property (gobject_class, PROP_NUM_FDS,
+ g_param_spec_uint ("num-fds", "Number of fds",
+ "The current number of client file descriptors.",
+ 0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+
/**
* GstMultiFdSink::add:
* @gstmultifdsink: the multifdsink element to emit this signal on
case PROP_RESEND_STREAMHEADER:
g_value_set_boolean (value, multifdsink->resend_streamheader);
break;
+ case PROP_NUM_FDS:
+ g_value_set_uint (value, g_hash_table_size (multifdsink->fd_hash));
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);