hlsdemux: Include the m3u8.c file directly in the test because of an automake bug

$(top_srcdir) doesn't seem to work with _SOURCES because that would be too
obvious.

http://lists.gnu.org/archive/html/automake/2013-09/msg00005.html
This commit is contained in:
Sebastian Dröge 2014-09-05 12:25:01 +03:00
parent d089c53704
commit 3c14457b47
2 changed files with 2 additions and 1 deletions

View file

@ -483,7 +483,6 @@ elements_compositor_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
elements_hlsdemux_m3u8_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) -I$(top_srcdir)/ext/hls
elements_hlsdemux_m3u8_LDADD = $(GST_BASE_LIBS) $(LDADD)
elements_hlsdemux_m3u8_SOURCES = elements/hlsdemux_m3u8.c \
$(top_srcdir)/ext/hls/m3u8.c
orc_compositor_CFLAGS = $(ORC_CFLAGS)

View file

@ -28,7 +28,9 @@
GST_DEBUG_CATEGORY (fragmented_debug);
#undef GST_CAT_DEFAULT
#include "m3u8.h"
#include "m3u8.c"
static const gchar *INVALID_PLAYLIST = "#EXTM3 UINVALID";