gstinfo: Parse "NONE" as a valid level name
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Fri, 8 Jul 2022 14:37:51 +0000 (16:37 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 8 Jul 2022 17:07:36 +0000 (17:07 +0000)
commitdfea5070dfae3f65a8ae071bb293fc530932446e
tree7ae5de5198eb7c9fece9db6d7c917bad33f83ddf
parent7aeb2f6711a5b0dafa0aa4cdd4645ef619de9470
gstinfo: Parse "NONE" as a valid level name

This allows using `NONE` in `GST_DEBUG`,
`gst_debug_set_threshold_from_string`, etc. It was accessible before,
but only via the integer `0`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2734>
subprojects/gstreamer/gst/gstinfo.c