This makes it easier to add new format in the future without forgetting to update one of the numerous switch case. This will also help mapping DRM formats. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7540>
This makes it easier to add new format in the future without forgetting to update one of the numerous switch case. This will also help mapping DRM formats. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7540>