playbin: improve debug log

Log the human readable pad_link_return desc as well.
This commit is contained in:
Stefan Sauer 2015-02-10 21:57:02 -08:00
parent 19b9356680
commit c51bf98af4

View file

@ -3358,8 +3358,8 @@ unknown_type:
link_failed:
{
GST_ERROR_OBJECT (playbin,
"failed to link pad %s:%s to combiner, reason %d",
GST_DEBUG_PAD_NAME (pad), res);
"failed to link pad %s:%s to combiner, reason %s (%d)",
GST_DEBUG_PAD_NAME (pad), gst_pad_link_get_name (res), res);
GST_SOURCE_GROUP_UNLOCK (group);
goto done;
}