summaryrefslogtreecommitdiff
path: root/validate/gst/validate/gst-validate-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'validate/gst/validate/gst-validate-report.c')
-rw-r--r--validate/gst/validate/gst-validate-report.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/validate/gst/validate/gst-validate-report.c b/validate/gst/validate/gst-validate-report.c
index 981752a..0dcff9e 100644
--- a/validate/gst/validate/gst-validate-report.c
+++ b/validate/gst/validate/gst-validate-report.c
@@ -917,8 +917,9 @@ gst_validate_print_action (GstValidateAction * action, const gchar * message)
PrintActionFieldData d = { NULL, indent, 0 };
d.str = string = g_string_new (NULL);
- g_string_append_printf (string, "%s",
- gst_structure_get_name (action->structure));
+ g_string_append_printf (string, "`%s` at %s:%d", action->type,
+ GST_VALIDATE_ACTION_FILENAME (action),
+ GST_VALIDATE_ACTION_LINENO (action));
if (GST_VALIDATE_ACTION_N_REPEATS (action))
g_string_append_printf (string, " [%s=%d/%d]",
@@ -1465,3 +1466,9 @@ gst_validate_abort (const gchar * format, ...)
g_print ("Bail out! %s\n", tmp);
exit (-18);
}
+
+gboolean
+is_tty ()
+{
+ return output_is_tty;
+}