add some debug info

Original commit message from CVS:
add some debug info
parent 2db9dfdb
......@@ -2686,8 +2686,11 @@ gst_pad_send_event (GstPad *pad, GstEvent *event)
rpad = GST_PAD_REALIZE (pad);
/* don't send events on usuable pads */
if (GST_PAD_IS_SINK (rpad) && !GST_PAD_IS_USABLE (rpad))
if (GST_PAD_IS_SINK (rpad) && !GST_PAD_IS_USABLE (rpad)) {
GST_DEBUG (GST_CAT_EVENT, "pad %s:%s is not usable",
return FALSE;
if (GST_EVENT_SRC (event) == NULL)
GST_EVENT_SRC (event) = gst_object_ref (GST_OBJECT (rpad));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment