From 54e6f65ef3e335406e1f210c81b3afe007f12650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 21 May 2010 08:13:06 +0200 Subject: [PATCH] vp8: move #ifdef HAVE_VP8_ENCODER/DECODER Otherwise we'll try including e.g. which doesn't exist. --- ext/vp8/gstvp8dec.c | 4 ++-- ext/vp8/gstvp8enc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/vp8/gstvp8dec.c b/ext/vp8/gstvp8dec.c index 1e059c8356..bc8fb68ad8 100644 --- a/ext/vp8/gstvp8dec.c +++ b/ext/vp8/gstvp8dec.c @@ -24,6 +24,8 @@ #include "config.h" #endif +#ifdef HAVE_VP8_DECODER + #include #include #include @@ -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 diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index ba677a1c20..f390af3d55 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -24,6 +24,8 @@ #include "config.h" #endif +#ifdef HAVE_VP8_ENCODER + #include #include #include @@ -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