Commit 0be8a5f8 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠 Committed by Sebastian Dröge
Browse files

meson: build voamrwbenc plugin

parent 986f6cac
......@@ -54,7 +54,7 @@ subdir('srtp')
subdir('teletextdec')
subdir('ttml')
subdir('voaacenc')
#subdir('voamrwbenc')
subdir('voamrwbenc')
subdir('vulkan')
subdir('wayland')
subdir('webrtc')
......
voamrwbenc_dep = dependency('vo-amrwbenc', version: '>= 0.1.0', required: get_option('voamrwbenc'))
if voamrwbenc_dep.found()
gstvoamrwbenc = library('gstvoamrwbenc',
'gstvoamrwb.c', 'gstvoamrwbenc.c',
c_args: gst_plugins_bad_args,
link_args: noseh_link_args,
include_directories: [configinc],
dependencies: [gstaudio_dep, gstpbutils_dep, gsttag_dep, voamrwbenc_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstvoamrwbenc, install_dir: plugins_pkgconfig_install_dir)
install_data('GstVoAmrwbEnc.prs', install_dir: presetdir)
endif
......@@ -532,6 +532,8 @@ gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' +
'g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);' + \
'gst_init(NULL,NULL);' ]
presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
pkgconfig = import('pkgconfig')
plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig')
if get_option('default_library') == 'shared'
......
......@@ -141,6 +141,7 @@ option('uvch264', type : 'feature', value : 'auto', description : 'UVC compliant
option('vcd', type : 'feature', value : 'auto', description : 'VCD source plugin')
option('vdpau', type : 'feature', value : 'auto', description : 'Nvidia VDPAU plugin')
option('voaacenc', type : 'feature', value : 'auto', description : 'AAC audio encoder plugin')
option('voamrwbenc', type : 'feature', value : 'auto', description : 'AMR-WB audio encoder plugin')
option('vulkan', type : 'feature', value : 'auto', description : 'Vulkan video sink plugin')
option('wasapi', type : 'feature', value : 'auto', description : 'Windows Audio Session API source/sink plugin')
option('webp', type : 'feature', value : 'auto', description : 'WebP image codec plugin')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment