summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2020-11-20 11:29:46 -0300
committerThibault Saunier <tsaunier@igalia.com>2020-11-30 17:31:48 -0300
commit8eb0e637c7bd2a4b58f0aebdc56d44bc9a6eda6b (patch)
tree508fcba1d02cd15a56d3f53f884bd9e4e11e9a9b /tools
parenteb0d72f3822bdcf58268ed90309d1b2632981163 (diff)
downloadgstreamer-plugins-bad-8eb0e637c7bd2a4b58f0aebdc56d44bc9a6eda6b.tar.gz
transcodebin: Minor error message enhancement
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-transcoder.c5
1 files changed, 3 insertions, 2 deletions
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;
}
}