From 288efd4f99fe0df4b6656828c147c994a92f26c4 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 5 Sep 2014 16:11:08 -0300 Subject: [PATCH] tests: hlsdemux: fix compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tests/check/elements/hlsdemux_m3u8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/elements/hlsdemux_m3u8.c b/tests/check/elements/hlsdemux_m3u8.c index 5f221e30d8..7094a8cb12 100644 --- a/tests/check/elements/hlsdemux_m3u8.c +++ b/tests/check/elements/hlsdemux_m3u8.c @@ -26,12 +26,12 @@ #include -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\