mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
validate: Indent report details
This commit is contained in:
parent
6e9c67238d
commit
61669bd042
1 changed files with 8 additions and 2 deletions
|
@ -867,8 +867,14 @@ gst_validate_report_print_detected_on (GstValidateReport * report)
|
|||
void
|
||||
gst_validate_report_print_details (GstValidateReport * report)
|
||||
{
|
||||
if (report->message)
|
||||
gst_validate_printf (NULL, "%*s Details : %s\n", 12, "", report->message);
|
||||
if (report->message) {
|
||||
gint i;
|
||||
gchar **lines = g_strsplit (report->message, "\n", -1);
|
||||
|
||||
gst_validate_printf (NULL, "%*s Details : %s\n", 12, "", lines[0]);
|
||||
for (i = 1; lines[i]; i++)
|
||||
gst_validate_printf (NULL, "%*s%s\n", 21, "", lines[i]);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue