gst_element_add_pad (element, sinkpad);
+ GST_DEBUG_OBJECT (element, "requested pad %s:%s",
+ GST_DEBUG_PAD_NAME (sinkpad));
+
return sinkpad;
}
gboolean got_eos;
gboolean send_eos = FALSE;
- GST_DEBUG_OBJECT (funnel, "releasing pad");
+ GST_DEBUG_OBJECT (funnel, "releasing pad %s:%s", GST_DEBUG_PAD_NAME (pad));
gst_pad_set_active (pad, FALSE);
{
GstFlowReturn res;
- GST_DEBUG_OBJECT (funnel, "received buffer%s %p", (is_list ? "list" : ""),
- obj);
+ GST_DEBUG_OBJECT (pad, "received buffer%s %p", (is_list ? "list" : ""), obj);
GST_PAD_STREAM_LOCK (funnel->srcpad);
GST_PAD_STREAM_UNLOCK (funnel->srcpad);
- GST_LOG_OBJECT (funnel, "handled buffer%s %s", (is_list ? "list" : ""),
+ GST_LOG_OBJECT (pad, "handled buffer%s %s", (is_list ? "list" : ""),
gst_flow_get_name (res));
return res;
gboolean res = TRUE;
gboolean unlock = FALSE;
+ GST_DEBUG_OBJECT (pad, "received event %" GST_PTR_FORMAT, event);
+
if (GST_EVENT_IS_STICKY (event)) {
unlock = TRUE;
GST_PAD_STREAM_LOCK (funnel->srcpad);