playbin: improve debug log
Log the human readable pad_link_return desc as well.
This commit is contained in:
parent
19b9356680
commit
c51bf98af4
@ -3358,8 +3358,8 @@ unknown_type:
|
|||||||
link_failed:
|
link_failed:
|
||||||
{
|
{
|
||||||
GST_ERROR_OBJECT (playbin,
|
GST_ERROR_OBJECT (playbin,
|
||||||
"failed to link pad %s:%s to combiner, reason %d",
|
"failed to link pad %s:%s to combiner, reason %s (%d)",
|
||||||
GST_DEBUG_PAD_NAME (pad), res);
|
GST_DEBUG_PAD_NAME (pad), gst_pad_link_get_name (res), res);
|
||||||
GST_SOURCE_GROUP_UNLOCK (group);
|
GST_SOURCE_GROUP_UNLOCK (group);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user