}
wrong_mode:
{
- GST_ELEMENT_ERROR (GST_PAD_PARENT (pad), CORE, PAD, (NULL),
- ("chain on pad %s:%s but it was not in push mode",
- GST_DEBUG_PAD_NAME (pad)));
+ g_critical ("chain on pad %s:%s but it was not in push mode",
+ GST_DEBUG_PAD_NAME (pad));
GST_OBJECT_UNLOCK (pad);
GST_PAD_STREAM_UNLOCK (pad);
gst_mini_object_unref (GST_MINI_OBJECT_CAST (data));
no_function:
{
gst_mini_object_unref (GST_MINI_OBJECT_CAST (data));
- GST_ELEMENT_ERROR (parent, CORE, PAD, (NULL),
- ("chain on pad %s:%s but it has no chainfunction",
- GST_DEBUG_PAD_NAME (pad)));
+ g_critical ("chain on pad %s:%s but it has no chainfunction",
+ GST_DEBUG_PAD_NAME (pad));
GST_PAD_STREAM_UNLOCK (pad);
return GST_FLOW_NOT_SUPPORTED;
}
}
wrong_mode:
{
- GST_ELEMENT_ERROR (GST_PAD_PARENT (pad), CORE, PAD, (NULL),
- ("pushing on pad %s:%s but it was not activated in push mode",
- GST_DEBUG_PAD_NAME (pad)));
+ g_critical ("pushing on pad %s:%s but it was not activated in push mode",
+ GST_DEBUG_PAD_NAME (pad));
GST_OBJECT_UNLOCK (pad);
gst_mini_object_unref (GST_MINI_OBJECT_CAST (data));
return GST_FLOW_ERROR;
}
wrong_mode:
{
- GST_ELEMENT_ERROR (GST_PAD_PARENT (pad), CORE, PAD, (NULL),
- ("getrange on pad %s:%s but it was not activated in pull mode",
- GST_DEBUG_PAD_NAME (pad)));
+ g_critical ("getrange on pad %s:%s but it was not activated in pull mode",
+ GST_DEBUG_PAD_NAME (pad));
GST_OBJECT_UNLOCK (pad);
GST_PAD_STREAM_UNLOCK (pad);
return GST_FLOW_ERROR;
}
no_function:
{
- GST_ELEMENT_ERROR (parent, CORE, PAD, (NULL),
- ("getrange on pad %s:%s but it has no getrangefunction",
- GST_DEBUG_PAD_NAME (pad)));
+ g_critical ("getrange on pad %s:%s but it has no getrangefunction",
+ GST_DEBUG_PAD_NAME (pad));
RELEASE_PARENT (parent);
GST_PAD_STREAM_UNLOCK (pad);
return GST_FLOW_NOT_SUPPORTED;
}
wrong_mode:
{
- GST_ELEMENT_ERROR (GST_PAD_PARENT (pad), CORE, PAD, (NULL),
- ("gpulltange on pad %s:%s but it was not activated in pull mode",
- GST_DEBUG_PAD_NAME (pad)));
+ g_critical ("pullrange on pad %s:%s but it was not activated in pull mode",
+ GST_DEBUG_PAD_NAME (pad));
GST_OBJECT_UNLOCK (pad);
return GST_FLOW_ERROR;
}