Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.
#include "config.h"
#endif
+#ifdef HAVE_VP8_DECODER
+
#include <gst/gst.h>
#include <gst/video/gstbasevideodecoder.h>
#include <gst/video/gstbasevideoutils.h>
#include "gstvp8utils.h"
-#ifdef HAVE_VP8_DECODER
-
GST_DEBUG_CATEGORY_STATIC (gst_vp8dec_debug);
#define GST_CAT_DEFAULT gst_vp8dec_debug
#include "config.h"
#endif
+#ifdef HAVE_VP8_ENCODER
+
#include <gst/gst.h>
#include <gst/video/gstbasevideoencoder.h>
#include <gst/video/gstbasevideoutils.h>
#include "gstvp8utils.h"
-#ifdef HAVE_VP8_ENCODER
-
GST_DEBUG_CATEGORY_STATIC (gst_vp8enc_debug);
#define GST_CAT_DEFAULT gst_vp8enc_debug