diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2014-09-05 16:11:08 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2014-09-05 16:11:08 -0300 |
commit | 288efd4f99fe0df4b6656828c147c994a92f26c4 (patch) | |
tree | 7be88f2d4caf27ff6eb038a3756891ea7a952764 | |
parent | 2b7e0d0e73bd1a09a13efd75d4cd070c877ff208 (diff) |
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.
-rw-r--r-- | tests/check/elements/hlsdemux_m3u8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/hlsdemux_m3u8.c b/tests/check/elements/hlsdemux_m3u8.c index 5f221e30d..7094a8cb1 100644 --- a/tests/check/elements/hlsdemux_m3u8.c +++ b/tests/check/elements/hlsdemux_m3u8.c @@ -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\ |