summaryrefslogtreecommitdiff
path: root/omx
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2017-12-12 16:50:00 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-01-30 11:54:37 +0000
commitab181a4335777f1a888512099be52dd6be731190 (patch)
tree39a388b35d75c5c49a81931260dce3447115f80c /omx
parent13a43757f592e6ad14dc9d0eee214fd0e840842b (diff)
downloadgst-omx-ab181a4335777f1a888512099be52dd6be731190.tar.gz
include all OMX extension headers if present
The OMX specs defines 8 headers that implementations can use to define their custom extensions. We were checking and including 3 and ignoring the other ones. https://bugzilla.gnome.org/show_bug.cgi?id=792043
Diffstat (limited to 'omx')
-rw-r--r--omx/gstomx.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/omx/gstomx.h b/omx/gstomx.h
index fecce35..a5330bd 100644
--- a/omx/gstomx.h
+++ b/omx/gstomx.h
@@ -70,6 +70,26 @@
#include <OMX_ComponentExt.h>
#endif
+#ifdef HAVE_CORE_EXT
+#include <OMX_CoreExt.h>
+#endif
+
+#ifdef HAVE_AUDIO_EXT
+#include <OMX_AudioExt.h>
+#endif
+
+#ifdef HAVE_IV_COMMON_EXT
+#include <OMX_IVCommonExt.h>
+#endif
+
+#ifdef HAVE_IMAGE_EXT
+#include <OMX_ImageExt.h>
+#endif
+
+#ifdef HAVE_OTHER_EXT
+#include <OMX_OtherExt.h>
+#endif
+
#ifdef GST_OMX_STRUCT_PACKING
#pragma pack()
#endif