diff --git a/ext/amrnb/meson.build b/ext/amrnb/meson.build index 33cc68585c..e9aa4af51c 100644 --- a/ext/amrnb/meson.build +++ b/ext/amrnb/meson.build @@ -9,4 +9,5 @@ if amrnb_dep.found() install : true, install_dir : plugins_install_dir, ) + install_data(sources: 'GstAmrnbEnc.prs', install_dir: presetdir) endif diff --git a/ext/x264/meson.build b/ext/x264/meson.build index 20e5866de4..544721a3cf 100644 --- a/ext/x264/meson.build +++ b/ext/x264/meson.build @@ -19,4 +19,6 @@ if x264_dep.found() install : true, install_dir : plugins_install_dir, ) + + install_data(sources: 'GstX264Enc.prs', install_dir: presetdir) endif diff --git a/meson.build b/meson.build index 82de4a30ba..f281d91f30 100644 --- a/meson.build +++ b/meson.build @@ -178,6 +178,7 @@ else endif endif +presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets') subdir('gst') subdir('ext') subdir('tests')