From 8eb0e637c7bd2a4b58f0aebdc56d44bc9a6eda6b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 20 Nov 2020 11:29:46 -0300 Subject: transcodebin: Minor error message enhancement --- tools/gst-transcoder.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/gst-transcoder.c b/tools/gst-transcoder.c index 1b5bbc570..d805c7649 100644 --- a/tools/gst-transcoder.c +++ b/tools/gst-transcoder.c @@ -236,10 +236,11 @@ _error_cb (GstTranscoder * transcoder, GError * err, GstStructure * details) GST_TYPE_PAD_LINK_RETURN, &lret, "msg-source-type", G_TYPE_GTYPE, &type, NULL) && type == g_type_from_name ("GstTranscodeBin")) { + const gchar *debug = gst_structure_get_string (details, "debug"); + error ("\nCould not setup transcoding pipeline," " make sure that your transcoding format parameters" - " are compatible with the input stream."); - + " are compatible with the input stream.\n\n%s", debug); return; } } -- cgit v1.2.1