mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
3eb4896435
Allows proxying the control interface from one property on one GstObject to another property (of the same type) in another GstObject. E.g. in a parent-child relationship, one may need to gst_object_sync_values() on the child and have a binding (set elsewhere) on the parent update the value. Note: that this doesn't solve GObject property forwarding and must be taken care of by the implementation manually or using GBinding. https://bugzilla.gnome.org/show_bug.cgi?id=774657
65 lines
2 KiB
Meson
65 lines
2 KiB
Meson
gst_controller_sources = [
|
|
'gstargbcontrolbinding.c',
|
|
'gstdirectcontrolbinding.c',
|
|
'gsttimedvaluecontrolsource.c',
|
|
'gstinterpolationcontrolsource.c',
|
|
'gstproxycontrolbinding.c',
|
|
'gsttriggercontrolsource.c',
|
|
'gstlfocontrolsource.c',
|
|
]
|
|
|
|
gst_controller_headers = [
|
|
'gstargbcontrolbinding.h',
|
|
'gstdirectcontrolbinding.h',
|
|
'gsttimedvaluecontrolsource.h',
|
|
'gstinterpolationcontrolsource.h',
|
|
'gstproxycontrolbinding.h',
|
|
'gsttriggercontrolsource.h',
|
|
'gstlfocontrolsource.h',
|
|
'controller.h',
|
|
]
|
|
install_headers(gst_controller_headers, subdir : 'gstreamer-1.0/gst/controller/')
|
|
|
|
if libtype != 'shared'
|
|
gst_controller_static = static_library('gstcontroller-@0@'.format(apiversion),
|
|
gst_controller_sources,
|
|
c_args : gst_c_args,
|
|
install : true,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gobject_dep, glib_dep, mathlib, gst_dep],
|
|
)
|
|
gst_controller = gst_controller_static
|
|
endif
|
|
|
|
if libtype != 'static'
|
|
gst_controller_shared = shared_library('gstcontroller-@0@'.format(apiversion),
|
|
gst_controller_sources,
|
|
c_args : gst_c_args,
|
|
install : true,
|
|
version : libversion,
|
|
soversion : soversion,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gobject_dep, glib_dep, mathlib, gst_dep],
|
|
vs_module_defs: vs_module_defs_dir + 'libgstcontroller.def',
|
|
)
|
|
gst_controller = gst_controller_shared
|
|
if build_gir
|
|
gnome.generate_gir(gst_controller_shared,
|
|
sources : gst_controller_sources + gst_controller_headers,
|
|
namespace : 'GstController',
|
|
nsversion : apiversion,
|
|
identifier_prefix : 'Gst',
|
|
symbol_prefix : 'gst',
|
|
export_packages : 'gstreamer-controller-1.0',
|
|
dependencies : [gst_dep],
|
|
include_directories : [configinc, libsinc, privinc],
|
|
includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
|
|
install : true,
|
|
extra_args : gir_init_section,
|
|
)
|
|
endif
|
|
endif
|
|
|
|
gst_controller_dep = declare_dependency(link_with : gst_controller,
|
|
include_directories : [libsinc],
|
|
dependencies : [gst_dep])
|