Commit 7f56565f authored by Philip Jägenstedt's avatar Philip Jägenstedt Committed by Sebastian Dröge

[MOVED FROM BAD 029/134] vp8: move #ifdef HAVE_VP8_ENCODER/DECODER

Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.
parent 70015da6
......@@ -24,6 +24,8 @@
#include "config.h"
#endif
#ifdef HAVE_VP8_DECODER
#include <gst/gst.h>
#include <gst/video/gstbasevideodecoder.h>
#include <gst/video/gstbasevideoutils.h>
......@@ -44,8 +46,6 @@
#include "gstvp8utils.h"
#ifdef HAVE_VP8_DECODER
GST_DEBUG_CATEGORY_STATIC (gst_vp8dec_debug);
#define GST_CAT_DEFAULT gst_vp8dec_debug
......
......@@ -24,6 +24,8 @@
#include "config.h"
#endif
#ifdef HAVE_VP8_ENCODER
#include <gst/gst.h>
#include <gst/video/gstbasevideoencoder.h>
#include <gst/video/gstbasevideoutils.h>
......@@ -45,8 +47,6 @@
#include "gstvp8utils.h"
#ifdef HAVE_VP8_ENCODER
GST_DEBUG_CATEGORY_STATIC (gst_vp8enc_debug);
#define GST_CAT_DEFAULT gst_vp8enc_debug
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment