tests: hlsdemux: fix compilation

In file included from /home/thiagoss/gst/head/gstreamer/gst/gst.h:54:0,
                 from /home/thiagoss/gst/head/gstreamer/libs/gst/check/gstcheck.h:34,
                 from elements/hlsdemux_m3u8.c:27:
../../ext/hls/gstfragmented.h:8:28: error: redundant redeclaration of ‘fragmented_debug’ [-Werror=redundant-decls]
 GST_DEBUG_CATEGORY_EXTERN (fragmented_debug);

Move the definition of the category to after the declaration.
This commit is contained in:
Thiago Santos 2014-09-05 16:11:08 -03:00
parent 2b7e0d0e73
commit 288efd4f99

View file

@ -26,12 +26,12 @@
#include <gst/check/gstcheck.h>
GST_DEBUG_CATEGORY (fragmented_debug);
#undef GST_CAT_DEFAULT
#include "m3u8.h"
#include "m3u8.c"
GST_DEBUG_CATEGORY (fragmented_debug);
static const gchar *INVALID_PLAYLIST = "#EXTM3 UINVALID";
static const gchar *ON_DEMAND_PLAYLIST = "#EXTM3U \n\