You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/af_ladspa: check another directory for plugins
This commit is contained in:
@@ -426,6 +426,11 @@ static av_cold int init(AVFilterContext *ctx)
|
||||
}
|
||||
|
||||
av_free(paths);
|
||||
if (!s->dl_handle && (paths = av_asprintf("%s/.ladspa", getenv("HOME")))) {
|
||||
s->dl_handle = try_load(paths, s->dl_name);
|
||||
av_free(paths);
|
||||
}
|
||||
|
||||
if (!s->dl_handle && (paths = av_asprintf("%s/.ladspa/lib", getenv("HOME")))) {
|
||||
s->dl_handle = try_load(paths, s->dl_name);
|
||||
av_free(paths);
|
||||
|
Reference in New Issue
Block a user