mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
hlsdemux: Add unit test for parsing of M3U8 playlists
Ported from https://github.com/ylatuya/gst-plugins-bad This still has some unit tests for alternative renditions and seeking, which are commented out for the time being until we support them properly.
This commit is contained in:
parent
46b0310acd
commit
96c273f18a
3 changed files with 1373 additions and 0 deletions
|
@ -154,6 +154,12 @@ else
|
|||
check_curl_sftp =
|
||||
endif
|
||||
|
||||
if USE_HLS
|
||||
check_hlsdemux = elements/hlsdemux_m3u8
|
||||
else
|
||||
check_hlsdemux =
|
||||
endif
|
||||
|
||||
if USE_CURL
|
||||
check_curl = elements/curlhttpsink \
|
||||
elements/curlfilesink \
|
||||
|
@ -258,6 +264,7 @@ check_PROGRAMS = \
|
|||
$(check_orc) \
|
||||
libs/insertbin \
|
||||
$(check_gl) \
|
||||
$(check_hlsdemux) \
|
||||
$(EXPERIMENTAL_CHECKS)
|
||||
|
||||
noinst_HEADERS = elements/mxfdemux.h
|
||||
|
@ -474,6 +481,11 @@ libs_aggregator_CFLAGS = \
|
|||
elements_compositor_LDADD = $(LDADD) $(GST_BASE_LIBS)
|
||||
elements_compositor_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
|
||||
|
||||
elements_hlsdemux_m3u8_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS) -I$(top_builddir)/ext/hls
|
||||
elements_hlsdemux_m3u8_LDADD = $(GST_BASE_LIBS) $(LDADD) \
|
||||
$(top_builddir)/ext/hls/.libs/libgstfragmented_la-m3u8.o
|
||||
elements_hlsdemux_m3u8_SOURCES = elements/hlsdemux_m3u8.c
|
||||
|
||||
orc_compositor_CFLAGS = $(ORC_CFLAGS)
|
||||
orc_compositor_LDADD = $(ORC_LIBS) -lorc-test-0.4
|
||||
nodist_orc_compositor_SOURCES = orc/compositor.c
|
||||
|
|
1
tests/check/elements/.gitignore
vendored
1
tests/check/elements/.gitignore
vendored
|
@ -22,6 +22,7 @@ gdpdepay
|
|||
gdppay
|
||||
h263parse
|
||||
h264parse
|
||||
hlsdemux_m3u8
|
||||
id3mux
|
||||
imagecapturebin
|
||||
interleave
|
||||
|
|
1360
tests/check/elements/hlsdemux_m3u8.c
Normal file
1360
tests/check/elements/hlsdemux_m3u8.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue