vpx: fix compilation when encoder or decoder headers are not installed

https://bugzilla.gnome.org/show_bug.cgi?id=704547
This commit is contained in:
Arnaud Vrac 2013-06-17 21:27:37 +02:00 committed by Sebastian Dröge
parent 01b20ab901
commit 37458a4a17
4 changed files with 32 additions and 0 deletions

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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__ */

View file

@ -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__ */