summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/vpx/gstvp8dec.h8
-rw-r--r--ext/vpx/gstvp8enc.h8
-rw-r--r--ext/vpx/gstvp9dec.h8
-rw-r--r--ext/vpx/gstvp9enc.h8
4 files changed, 32 insertions, 0 deletions
diff --git a/ext/vpx/gstvp8dec.h b/ext/vpx/gstvp8dec.h
index aff385935..8692f0131 100644
--- a/ext/vpx/gstvp8dec.h
+++ b/ext/vpx/gstvp8dec.h
@@ -23,6 +23,12 @@
#ifndef __GST_VP8_DEC_H__
#define __GST_VP8_DEC_H__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_VP8_DECODER
+
#include <gst/gst.h>
#include <gst/video/gstvideodecoder.h>
@@ -81,4 +87,6 @@ GType gst_vp8_dec_get_type (void);
G_END_DECLS
+#endif
+
#endif /* __GST_VP8_DEC_H__ */
diff --git a/ext/vpx/gstvp8enc.h b/ext/vpx/gstvp8enc.h
index b2351124d..206ac02a4 100644
--- a/ext/vpx/gstvp8enc.h
+++ b/ext/vpx/gstvp8enc.h
@@ -22,6 +22,12 @@
#ifndef __GST_VP8_ENC_H__
#define __GST_VP8_ENC_H__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_VP8_ENCODER
+
#include <gst/gst.h>
#include <gst/video/gstvideoencoder.h>
@@ -111,4 +117,6 @@ GType gst_vp8_enc_get_type (void);
G_END_DECLS
+#endif
+
#endif /* __GST_VP8_ENC_H__ */
diff --git a/ext/vpx/gstvp9dec.h b/ext/vpx/gstvp9dec.h
index ae27f7e08..8cd69ba0d 100644
--- a/ext/vpx/gstvp9dec.h
+++ b/ext/vpx/gstvp9dec.h
@@ -23,6 +23,12 @@
#ifndef __GST_VP9_DEC_H__
#define __GST_VP9_DEC_H__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_VP9_DECODER
+
#include <gst/gst.h>
#include <gst/video/gstvideodecoder.h>
@@ -81,4 +87,6 @@ GType gst_vp9_dec_get_type (void);
G_END_DECLS
+#endif
+
#endif /* __GST_VP9_DEC_H__ */
diff --git a/ext/vpx/gstvp9enc.h b/ext/vpx/gstvp9enc.h
index 8026d5808..b99190579 100644
--- a/ext/vpx/gstvp9enc.h
+++ b/ext/vpx/gstvp9enc.h
@@ -22,6 +22,12 @@
#ifndef __GST_VP9_ENC_H__
#define __GST_VP9_ENC_H__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_VP9_ENCODER
+
#include <gst/gst.h>
#include <gst/video/gstvideoencoder.h>
@@ -110,4 +116,6 @@ GType gst_vp9_enc_get_type (void);
G_END_DECLS
+#endif
+
#endif /* __GST_VP9_ENC_H__ */