mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
validate: flow: Fix logging upstream events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7700>
This commit is contained in:
parent
56000b91b7
commit
932f0a6175
1 changed files with 3 additions and 3 deletions
|
@ -470,10 +470,10 @@ validate_flow_format_event (GstEvent * event,
|
|||
|
||||
if (!g_strv_contains (logged_upstream_event_types, event_type))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (logged_event_types && !g_strv_contains (logged_event_types, event_type))
|
||||
} else if (logged_event_types
|
||||
&& !g_strv_contains (logged_event_types, event_type)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (ignored_event_types && g_strv_contains (ignored_event_types, event_type))
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue