gstreamer/subprojects/gst-devtools
Alicia Boya García ac6a457614 stats: Adapt to new serialization of enums
GStreamer 1.18 changed the serialization of enums.

This patch updates gsttr-stats.py to handle the new format.

In absence of that, the script was failing like this:

```
Traceback (most recent call last):
  File "/home/ntrrgc/Apps/gstreamer/./subprojects/gst-devtools/tracer/gsttr-stats.py", line 224, in <module>
    runner.run()
  File "/home/ntrrgc/Apps/gstreamer/subprojects/gst-devtools/tracer/tracer/analysis_runner.py", line 42, in run
    self.handle_tracer_entry(event)
  File "/home/ntrrgc/Apps/gstreamer/subprojects/gst-devtools/tracer/tracer/analysis_runner.py", line 27,
  in handle_tracer_entry
    analyzer.handle_tracer_entry(event)
  File "/home/ntrrgc/Apps/gstreamer/./subprojects/gst-devtools/tracer/gsttr-stats.py", line 114, in handle_tracer_entry
    key = (_SCOPE_RELATED_TO[sv.values['related-to']] + ":" + str(s.values[sk]))
KeyError: 'thread'
```

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4155>
2023-03-14 04:39:14 +00:00
..
debug-viewer Remove the uninstalled term 2022-03-01 11:33:10 +00:00
docs validate:ssim: fix gst-validate tool name in the example 2023-02-15 23:06:50 +00:00
scripts meson: Generate ChangeLog files for release tarballs on dist 2022-12-04 18:16:25 +00:00
tracer stats: Adapt to new serialization of enums 2023-03-14 04:39:14 +00:00
validate validate: Protect init function with a recursive mutex 2023-03-02 02:50:45 +00:00
.gitignore Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-devtools.doap Release 1.22.0 2023-01-23 19:41:07 +00:00
meson.build Back to development 2023-01-23 23:04:53 +00:00
meson_options.txt tools: Add support for building gstreamer tools against gst-full 2022-03-30 17:43:17 +00:00
NEWS Release 1.22.0 2023-01-23 19:41:07 +00:00
RELEASE Release 1.22.0 2023-01-23 19:41:07 +00:00