2017-02-23 23:28:35 +00:00
|
|
|
timecode_sources = [
|
|
|
|
'plugin.c',
|
|
|
|
'gsttimecodestamper.c',
|
|
|
|
'gstavwait.c'
|
|
|
|
]
|
|
|
|
|
2019-07-01 10:42:16 +00:00
|
|
|
tc_deps = [gstbase_dep, gstaudio_dep, gstvideo_dep]
|
|
|
|
|
2019-07-01 10:43:28 +00:00
|
|
|
ltc_dep = dependency('ltc', version : '>=1.1.4', required : false)
|
|
|
|
if ltc_dep.found()
|
|
|
|
cdata.set('HAVE_LTC', 1)
|
|
|
|
tc_deps += [ltc_dep]
|
|
|
|
endif
|
|
|
|
|
2017-02-23 23:28:35 +00:00
|
|
|
gsttimecode = library('gsttimecode',
|
|
|
|
timecode_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
2019-07-01 10:42:16 +00:00
|
|
|
dependencies : tc_deps,
|
2017-02-23 23:28:35 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gsttimecode, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gsttimecode]
|