ifdef for enum values never work. Instead, define new enum type and use it Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3298>