mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-15 04:46:32 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
20 lines
458 B
Meson
20 lines
458 B
Meson
rtmp_sources = [
|
|
'gstrtmp.c',
|
|
'gstrtmpelement.c',
|
|
'gstrtmpsink.c',
|
|
'gstrtmpsrc.c',
|
|
]
|
|
|
|
rtmp_dep = dependency('librtmp', required : get_option('rtmp'))
|
|
|
|
if rtmp_dep.found()
|
|
gstrtmp = library('gstrtmp',
|
|
rtmp_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstbase_dep, rtmp_dep] + winsock2,
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstrtmp]
|
|
endif
|