omxh264: factor out gst_omx_h264_utils_get_profile_from_enum()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 6 Mar 2018 09:45:14 +0000 (10:45 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 25 Apr 2018 07:20:02 +0000 (09:20 +0200)
commit7242d0a2e2db0d1bdb5341e075d195a2f8b2e582
tree9713fb472dbe55567aa7c2beb241af14b7272301
parent4e75bab796a88f20915c06b726ba2f1db3d61f00
omxh264: factor out gst_omx_h264_utils_get_profile_from_enum()

Move the profile <-> enum mapping to one place. Make changes easier as
I'm about to add extra profiles.

No semantic change.

https://bugzilla.gnome.org/show_bug.cgi?id=794177
omx/gstomxh264enc.c
omx/gstomxh264utils.c
omx/gstomxh264utils.h