mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
meson: use gir_init_section in GstTranscoder
GstTranscoder adds extra_args for gir which call gst_init() during introspection. These extra arguments are the same as the standard ones defined in the top level meson.build as "git_init_section", However, the top level definition also ensures an empty plugin repository is used. Because GstTranscoder does not use the standard args, plugins get loaded when it is introspected. Since some of the plugins fail without specific hardware, this causes #1100. This patch makes it use gir_init_section. Fixes #1100.
This commit is contained in:
parent
97a4d0cd7d
commit
8ba1b8146f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ if build_gir
|
|||
'GstPbutils-' + api_version],
|
||||
dependencies: [gst_dep, gstpbutils_dep],
|
||||
install : true,
|
||||
extra_args : ['--add-init-section=extern gboolean gst_init(gint *argc, gchar **argv); gst_init(NULL,NULL);']
|
||||
extra_args : gir_init_section
|
||||
)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue