gstreamer/subprojects/gst-plugins-bad/ext/codec2json/meson.build
Benjamin Gaignard 8cd8eeff20 codec2json: Add h2652json element
This element convert H.265 frame parameters into human readable json data.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3865>
2023-11-13 14:09:59 +00:00

25 lines
643 B
Meson

codec2json_sources = files([
'gstav12json.c',
'gsth2642json.c',
'gsth2652json.c',
'gstvp82json.c',
'plugin.c',
])
cp_args = [
'-DGST_USE_UNSTABLE_API',
]
json_dep = dependency('json-glib-1.0', version : '>=1.6.6', fallback : ['json-glib', 'json_glib_dep'], required: get_option('codec2json'))
if json_dep.found()
gstcodec2json = library('gstcodec2json',
codec2json_sources,
c_args : gst_plugins_bad_args + cp_args,
include_directories : [configinc],
install : true,
install_dir : plugins_install_dir,
dependencies : [gstvideo_dep, gstcodecparsers_dep, json_dep],
)
plugins += [gstcodec2json]
endif