Original commit message from CVS:
IS_USABLE is only for PLAYING elements
GST_DEBUG_PAD_NAME (pad));
if (GST_PAD_DIRECTION (pad) == dir) {
GST_DEBUG_PAD_NAME (pad));
if (GST_PAD_DIRECTION (pad) == dir) {
- if (GST_PAD_IS_USABLE (pad)) {
+ if (GST_PAD_IS_CONNECTED (pad)) {
- GST_DEBUG (GST_CAT_ELEMENT_PADS, "pad %s:%s is not usable",
+ GST_DEBUG (GST_CAT_ELEMENT_PADS, "pad %s:%s is not connected",
GST_DEBUG_PAD_NAME (pad));
}
}
GST_DEBUG_PAD_NAME (pad));
}
}
* Get an array of event masks from the element.
* If the element doesn't
* implement an event masks function, the query will be forwarded
* Get an array of event masks from the element.
* If the element doesn't
* implement an event masks function, the query will be forwarded
- * to a random sink pad.
+ * to a random connected sink pad.
*
* Returns: An array of #GstEventMask elements.
*/
*
* Returns: An array of #GstEventMask elements.
*/