summaryrefslogtreecommitdiff
path: root/omx/gstomxh264utils.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2018-03-06 10:45:14 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2018-04-25 09:20:02 +0200
commit7242d0a2e2db0d1bdb5341e075d195a2f8b2e582 (patch)
tree9713fb472dbe55567aa7c2beb241af14b7272301 /omx/gstomxh264utils.h
parent4e75bab796a88f20915c06b726ba2f1db3d61f00 (diff)
downloadgst-omx-7242d0a2e2db0d1bdb5341e075d195a2f8b2e582.tar.gz
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
Diffstat (limited to 'omx/gstomxh264utils.h')
-rw-r--r--omx/gstomxh264utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/omx/gstomxh264utils.h b/omx/gstomxh264utils.h
index 6300486..e5c35e4 100644
--- a/omx/gstomxh264utils.h
+++ b/omx/gstomxh264utils.h
@@ -30,5 +30,7 @@ OMX_VIDEO_AVCPROFILETYPE gst_omx_h264_utils_get_profile_from_str (const
OMX_VIDEO_AVCLEVELTYPE gst_omx_h264_utils_get_level_from_str (const gchar *
level);
+const gchar * gst_omx_h264_utils_get_profile_from_enum (OMX_VIDEO_AVCPROFILETYPE e);
+
G_END_DECLS
#endif /* __GST_OMX_H264_UTILS_H__ */