summaryrefslogtreecommitdiff
path: root/omx
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-06-24 14:52:43 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-06-24 14:52:43 +0200
commitb9238195dd983ec2803073ab66167324de9afe01 (patch)
tree337ecbfa38a0959ce5df83ccd02d1959492ee377 /omx
parentc0183cc31344e2959a00493780f9a7bc3dc56fc9 (diff)
omx: Only include OMX_VideoExt.h conditionally
It does not exist on the RPi for example.
Diffstat (limited to 'omx')
-rw-r--r--omx/gstomx.h4
-rw-r--r--omx/gstomxvp8dec.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/omx/gstomx.h b/omx/gstomx.h
index f78bbf9..9ad8e2f 100644
--- a/omx/gstomx.h
+++ b/omx/gstomx.h
@@ -52,6 +52,10 @@
#include <OMX_Broadcom.h>
#endif
+#ifdef HAVE_VIDEO_EXT
+#include <OMX_VideoExt.h>
+#endif
+
#ifdef GST_OMX_STRUCT_PACKING
#pragma pack()
#endif
diff --git a/omx/gstomxvp8dec.h b/omx/gstomxvp8dec.h
index 5648ba3..f99f4ce 100644
--- a/omx/gstomxvp8dec.h
+++ b/omx/gstomxvp8dec.h
@@ -23,7 +23,6 @@
#include <gst/gst.h>
#include "gstomxvideodec.h"
-#include <OMX_VideoExt.h>
G_BEGIN_DECLS