Switcher required configuration are not generated when loaded by the user
Summary
A bundle loaded with a configuration from file has no Shmdata directory path and no Shmdata prefix.
How to reproduce ?
Run the check_resample
test through gdb
:
cd build/plugins/samplerate
GST_DEBUG=3 gdb ./check_resample
run
From the output of the first (or second) run : Address already in use (resamplebundle6_1_1)
. The address is expected to be <shmdata_dir>/<shmdata_prefix>resamplebundle6_1_1
.
The socket file is also created in the current directory
$ ls -ail plugins/samplerate/resamplebundle6_1_1
3935185 srwxrwxr-x 1 nico nico 0 Jul 21 15:57 plugins/samplerate/resamplebundle6_1_1
Expected behaviour
Since Shmdata prefix and directory are not specified in my custom configuration, I expect the Shmdata being created with default configuration.
What is the frequency of occurrence of this behaviour ?
Always. This is a regression since the introduction of a configurable prefix and directory for Shmdata.
Edited by Nicolas Bouillot