omxh265: factor out gst_omx_h265_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)
commitf9922a1a561e71504bc85155cf81d81078b7db42
tree5da66447240bfcc0cd6ee829235a0ff677ecd7e4
parentdc0ed29a62248c42b7488da8f3bb1d04b2430d8c
omxh265: factor out gst_omx_h265_utils_get_profile_from_enum()

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

No semantic change.

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