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