mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
tracer/gsttr-stats: skip optional fields
This commit is contained in:
parent
167be7d7af
commit
4771b445e9
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ class Stats(Analyzer):
|
|||
# skip optional fields
|
||||
if not vk in s.values:
|
||||
continue
|
||||
if not s.values.get('have-' + vk, True):
|
||||
continue
|
||||
|
||||
key = entry_name + "/" + vk
|
||||
data = scope.get(key)
|
||||
|
|
Loading…
Reference in a new issue