gstreamer/tests/check
Ederson de Souza 12838af353 avtpcvfpay: Ensure NAL fragments are transmitted following stream specs
TSN streams are expected to send packets to the network in a well
defined "pace", which is arbitrarily defined for each stream. This pace
is defined by the "measurement interval" property of a stream.

When the AVTP CVF payloader element - avtpcvfpay - fragments a video
frame that is too big to be sent to the network, it currently defines
that all fragments should be transmitted at the same time (via DTS
property of GstBuffers generated, as sink will use those to time the
transmission of the AVTPDU). This doesn't comply with stream definition,
which also has a limit on how many packets can be sent on a given
measurement interval.

This patch solves that by spreading in time the DTS of the GstBuffers
containing the AVTPDUs. Two new properties, "measurement-interval" and
"max-interval-frames", added to avptcvfpay element so that it knows
stream measurement interval and how many AVTPDUs it can send on any of
them. More details on the method used to proper spread DTS/PTS according
to measurement interval can be found in a code commentary inside this patch.

Tests also added for the new property and behaviour.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1004>
2020-05-02 17:42:15 +00:00
..
elements avtpcvfpay: Ensure NAL fragments are transmitted following stream specs 2020-05-02 17:42:15 +00:00
generic Remove autotools build system 2019-10-14 13:54:27 +01:00
libs libs: parser: Adds AV1 parser. 2020-05-01 19:55:41 +00:00
media meson test: Enable libs tests 2017-12-08 18:42:22 +01:00
pipelines documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gst-plugins-bad.supp tests/check/gst-plugins-bad.supp: Add suppressions for SoundTouch valgrind warnings and a valgrind warning caused by ... 2008-02-22 06:42:28 +00:00
meson.build libs: parser: Adds AV1 parser. 2020-05-01 19:55:41 +00:00