mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tests: Add AVTP CVF depayloader tests
In these tests, some specially crafted buffers are sent to the depayloader, simulating some scenarios and checking what comes out from it.
This commit is contained in:
parent
b34acc0c8c
commit
a6fc6558eb
3 changed files with 1216 additions and 1 deletions
|
@ -40,7 +40,13 @@ check_assrender =
|
|||
endif
|
||||
|
||||
if USE_AVTP
|
||||
check_avtp = elements/avtpaafpay elements/avtpaafdepay elements/avtpcvfpay elements/avtpsink elements/avtpsrc
|
||||
check_avtp = \
|
||||
elements/avtpaafpay \
|
||||
elements/avtpaafdepay \
|
||||
elements/avtpcvfpay \
|
||||
elements/avtpcvfdepay \
|
||||
elements/avtpsink \
|
||||
elements/avtpsrc
|
||||
else
|
||||
check_avtp =
|
||||
endif
|
||||
|
@ -512,6 +518,9 @@ elements_avtpaafdepay_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(LDADD)
|
|||
elements_avtpcvfpay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) $(AVTP_CFLAGS)
|
||||
elements_avtpcvfpay_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(LDADD) $(AVTP_LIBS)
|
||||
|
||||
elements_avtpcvfdepay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS) $(AVTP_CFLAGS)
|
||||
elements_avtpcvfdepay_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(LDADD) $(AVTP_LIBS)
|
||||
|
||||
elements_avtpsink_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
|
||||
elements_avtpsink_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(LDADD)
|
||||
|
||||
|
|
1205
tests/check/elements/avtpcvfdepay.c
Normal file
1205
tests/check/elements/avtpcvfdepay.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -73,6 +73,7 @@ if host_machine.system() != 'windows'
|
|||
[['elements/avtpaafpay.c'], not avtp_dep.found(), [avtp_dep]],
|
||||
[['elements/avtpaafdepay.c'], not avtp_dep.found(), [avtp_dep]],
|
||||
[['elements/avtpcvfpay.c'], not avtp_dep.found(), [avtp_dep]],
|
||||
[['elements/avtpcvfdepay.c'], not avtp_dep.found(), [avtp_dep]],
|
||||
[['elements/avtpsink.c'], not avtp_dep.found(), [avtp_dep]],
|
||||
[['elements/avtpsrc.c'], not avtp_dep.found(), [avtp_dep]],
|
||||
[['elements/ccconverter.c']],
|
||||
|
|
Loading…
Reference in a new issue