mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
adaptivedemux: tests: added unit test for adaptivedemux
Created a unit test for dashdemux. It relies on a fake SOUP HTTP src plugin that will feed data to dashdemux. The test controls the data to be generated and checks the correct data was received for each expected stream. https://bugzilla.gnome.org/show_bug.cgi?id=756322
This commit is contained in:
parent
a38a9ba50d
commit
0e1f5a0385
2 changed files with 1184 additions and 0 deletions
|
@ -42,8 +42,10 @@ endif
|
||||||
|
|
||||||
if USE_DASH
|
if USE_DASH
|
||||||
check_dash = elements/dash_mpd
|
check_dash = elements/dash_mpd
|
||||||
|
check_dash_demux = elements/dash_demux
|
||||||
else
|
else
|
||||||
check_dash =
|
check_dash =
|
||||||
|
check_dash_demux =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if USE_FAAC
|
if USE_FAAC
|
||||||
|
@ -230,6 +232,7 @@ check_PROGRAMS = \
|
||||||
generic/states \
|
generic/states \
|
||||||
$(check_assrender) \
|
$(check_assrender) \
|
||||||
$(check_dash) \
|
$(check_dash) \
|
||||||
|
$(check_dash_demux) \
|
||||||
$(check_faac) \
|
$(check_faac) \
|
||||||
$(check_faad) \
|
$(check_faad) \
|
||||||
$(check_voaacenc) \
|
$(check_voaacenc) \
|
||||||
|
@ -437,6 +440,15 @@ elements_dash_mpd_LDADD = $(LDADD) $(LIBXML2_LIBS) \
|
||||||
$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-@GST_API_VERSION@.la
|
$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-@GST_API_VERSION@.la
|
||||||
elements_dash_mpd_SOURCES = elements/dash_mpd.c
|
elements_dash_mpd_SOURCES = elements/dash_mpd.c
|
||||||
|
|
||||||
|
elements_dash_demux_CFLAGS = $(AM_CFLAGS) $(LIBXML2_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
|
||||||
|
elements_dash_demux_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_dash_demux_SOURCES = elements/fake_http_src.c elements/fake_http_src.h elements/dash_demux.c
|
||||||
|
|
||||||
pipelines_streamheader_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
|
pipelines_streamheader_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
|
||||||
pipelines_streamheader_LDADD = $(GIO_LIBS) $(LDADD)
|
pipelines_streamheader_LDADD = $(GIO_LIBS) $(LDADD)
|
||||||
|
|
||||||
|
|
1172
tests/check/elements/dash_demux.c
Normal file
1172
tests/check/elements/dash_demux.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue