Commit 8f253339 authored by Thiago Santos's avatar Thiago Santos
Browse files

tests: mssdemux: add unit tests

Adds unit tests similar to the ones that we have for DASH and HLS.

Tests:

* manifest parsing finishes successfully
* some queries (duration, seekable, latency)
* seeking with various values and flags
parent ac2734f5
......@@ -96,6 +96,12 @@ else
check_mplex =
endif
if USE_SMOOTHSTREAMING
check_mssdemux = elements/mssdemux
else
check_mssdemux =
endif
if USE_NEON
check_neon = elements/neonhttpsrc
else
......@@ -248,6 +254,7 @@ check_PROGRAMS = \
$(check_voamrwbenc) \
$(check_mpeg2enc) \
$(check_mplex) \
$(check_mssdemux) \
$(check_ofa) \
$(check_timidity) \
$(check_kate) \
......@@ -469,6 +476,15 @@ elements_dash_demux_LDADD = \
elements_dash_demux_SOURCES = elements/test_http_src.c elements/test_http_src.h elements/adaptive_demux_engine.c elements/adaptive_demux_engine.h elements/adaptive_demux_common.c elements/adaptive_demux_common.h elements/dash_demux.c
elements_mssdemux_CFLAGS = $(AM_CFLAGS) $(LIBXML2_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
elements_mssdemux_LDADD = \
$(LDADD) $(LIBXML2_LIBS) $(GST_BASE_LIBS) \
-lgsttag-$(GST_API_VERSION) \
-lgstapp-$(GST_API_VERSION) \
$(top_builddir)/gst-libs/gst/adaptivedemux/libgstadaptivedemux-@GST_API_VERSION@.la
elements_mssdemux_SOURCES = elements/test_http_src.c elements/test_http_src.h elements/adaptive_demux_engine.c elements/adaptive_demux_engine.h elements/adaptive_demux_common.c elements/adaptive_demux_common.h elements/mssdemux.c
pipelines_streamheader_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
pipelines_streamheader_LDADD = $(GIO_LIBS) $(LDADD)
......
......@@ -40,6 +40,7 @@ mpeg4videoparse
mpegtsmux
mpg123audiodec
mplex
mssdemux
mxfdemux
mxfmux
neonhttpsrc
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment