mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 19:09:41 +00:00
e47fa2006f
This commit introduces the AVTP Clock Reference Format (CRF) Checker element. This element re-uses the GstAvtpCrfBase class introduced along with the CRF Synchronizer element. This element will typically be used along with the avtpsrc element to ensure that the AVTP timestamp (and H264 timestamp in case of CVF-H264 packets) is "aligned" with the incoming CRF stream. Here, "aligned" means that the timestamp value should be within 25% of the period of the media clock recovered from the CRF stream. The user can also set an option (drop-invalid) in order to drop any packet whose timestamp is not within the thresholds of the incoming CRF stream.
30 lines
819 B
Meson
30 lines
819 B
Meson
avtp_sources = [
|
|
'gstavtp.c',
|
|
'gstavtpaafdepay.c',
|
|
'gstavtpaafpay.c',
|
|
'gstavtpcvfdepay.c',
|
|
'gstavtpcvfpay.c',
|
|
'gstavtpbasedepayload.c',
|
|
'gstavtpbasepayload.c',
|
|
'gstavtpsink.c',
|
|
'gstavtpsrc.c',
|
|
'gstavtpcrfutil.c',
|
|
'gstavtpcrfbase.c',
|
|
'gstavtpcrfsync.c',
|
|
'gstavtpcrfcheck.c',
|
|
]
|
|
|
|
avtp_dep = dependency('avtp', required: get_option('avtp'))
|
|
|
|
if avtp_dep.found() and cc.has_type('struct sock_txtime', prefix : '#include <linux/net_tstamp.h>')
|
|
gstavtp = library('gstavtp',
|
|
avtp_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstaudio_dep, gstvideo_dep, avtp_dep, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstavtp, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstavtp]
|
|
endif
|