mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-24 20:12:51 +00:00
split: set rej_perms = AV_PERM_WRITE on outputs.
This commit is contained in:
parent
a0d274d228
commit
a34eb393fc
@ -52,6 +52,7 @@ static int split_init(AVFilterContext *ctx, const char *args)
|
|||||||
snprintf(name, sizeof(name), "output%d", i);
|
snprintf(name, sizeof(name), "output%d", i);
|
||||||
pad.type = ctx->filter->inputs[0].type;
|
pad.type = ctx->filter->inputs[0].type;
|
||||||
pad.name = av_strdup(name);
|
pad.name = av_strdup(name);
|
||||||
|
pad.rej_perms = AV_PERM_WRITE;
|
||||||
|
|
||||||
ff_insert_outpad(ctx, i, &pad);
|
ff_insert_outpad(ctx, i, &pad);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user