From c51bf98af433b80ed53c56743ef244b57314e151 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 10 Feb 2015 21:57:02 -0800 Subject: [PATCH] playbin: improve debug log Log the human readable pad_link_return desc as well. --- gst/playback/gstplaybin2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 2a1ce63580..d80c8ea46b 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -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; }