mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
2b7e0d0e73
commit
288efd4f99
1 changed files with 2 additions and 2 deletions
|
@ -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\
|
||||
|
|
Loading…
Reference in a new issue