mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
validate:reporter: Show report by branches when doing smart reporting
Meaning that instead of getting 1 "Detected on" line per monitor, there will be one per "branch" like: Detected on <audioconvert1:sink, audioconvert1:src, audioresample1:sink, audioresample1:src, smart-adder-adder:sink_0, smart-adder-adder:src, smart-adder-capsfilter:sink, smart-adder-capsfilter:src, capsfilter2:sink, capsfilter2:src, tee1:sink, tee1:src_0> Making it simpler to read and a bit less verbose.
This commit is contained in:
parent
010e18862f
commit
314fd2b6de
1 changed files with 3 additions and 1 deletions
|
@ -1047,8 +1047,10 @@ gst_validate_report_set_master_report (GstValidateReport * report,
|
||||||
GList *tmp;
|
GList *tmp;
|
||||||
gboolean add_shadow_report = TRUE;
|
gboolean add_shadow_report = TRUE;
|
||||||
|
|
||||||
if (master_report->reporting_level >= GST_VALIDATE_SHOW_MONITOR)
|
if (master_report->reporting_level >= GST_VALIDATE_SHOW_MONITOR &&
|
||||||
|
master_report->reporting_level != GST_VALIDATE_SHOW_SMART) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
report->master_report = master_report;
|
report->master_report = master_report;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue