2016-08-12 15:51:45 +00:00
|
|
|
debugutilsbad_sources = [
|
|
|
|
'gstdebugspy.c',
|
|
|
|
'gsterrorignore.c',
|
|
|
|
'debugutilsbad.c',
|
|
|
|
'fpsdisplaysink.c',
|
|
|
|
'gstchecksumsink.c',
|
|
|
|
'gstchopmydata.c',
|
|
|
|
'gstcompare.c',
|
2018-02-20 03:02:14 +00:00
|
|
|
'gstfakevideosink.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
'gstwatchdog.c',
|
2018-04-18 18:53:34 +00:00
|
|
|
'gsttestsrcbin.c',
|
debugutils: clockselect, a pipeline that enables clock selection
Sometimes, one wants to force a clock on some pipelines - for instance,
when testing TSN related pipelines, one usually uses GstPtpClock or
CLOCK_REALTIME (assuming system realtime clock is in sync with network
one). Until now, one needs to write an application for that - not
difficult, but quite boring if one just wants to test something. This
patch presents a new element to help that: clockselect.
clockselect is a pipeline with two properties to select a clock. One
property, "clock-id", enables one to choose between "monotonic",
"realtime", "ptp" or "default" clock - where default keeps pipeline
behaviour of choosing a clock based on its elements. The other property,
"ptp-domain" gives one the choice of which PTP domain should be used.
Some very simple tests also added for this new element.
2019-10-23 17:11:46 +00:00
|
|
|
'gstclockselect.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
gstdebugutilsbad = library('gstdebugutilsbad',
|
|
|
|
debugutilsbad_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
debugutils: clockselect, a pipeline that enables clock selection
Sometimes, one wants to force a clock on some pipelines - for instance,
when testing TSN related pipelines, one usually uses GstPtpClock or
CLOCK_REALTIME (assuming system realtime clock is in sync with network
one). Until now, one needs to write an application for that - not
difficult, but quite boring if one just wants to test something. This
patch presents a new element to help that: clockselect.
clockselect is a pipeline with two properties to select a clock. One
property, "clock-id", enables one to choose between "monotonic",
"realtime", "ptp" or "default" clock - where default keeps pipeline
behaviour of choosing a clock based on its elements. The other property,
"ptp-domain" gives one the choice of which PTP domain should be used.
Some very simple tests also added for this new element.
2019-10-23 17:11:46 +00:00
|
|
|
dependencies : [gstbase_dep, gstvideo_dep, gstnet_dep],
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstdebugutilsbad, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstdebugutilsbad]
|