Commit 07663871 authored by Nicolas George's avatar Nicolas George

vf_alphamerge: fix permissions.

parent de35d2b4
...@@ -192,15 +192,13 @@ AVFilter avfilter_vf_alphamerge = { ...@@ -192,15 +192,13 @@ AVFilter avfilter_vf_alphamerge = {
.start_frame = start_frame, .start_frame = start_frame,
.draw_slice = draw_slice, .draw_slice = draw_slice,
.end_frame = end_frame, .end_frame = end_frame,
.min_perms = AV_PERM_READ | AV_PERM_WRITE, .min_perms = AV_PERM_READ | AV_PERM_WRITE | AV_PERM_PRESERVE },
.rej_perms = AV_PERM_REUSE2 | AV_PERM_PRESERVE },
{ .name = "alpha", { .name = "alpha",
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame, .start_frame = start_frame,
.draw_slice = draw_slice, .draw_slice = draw_slice,
.end_frame = end_frame, .end_frame = end_frame,
.min_perms = AV_PERM_READ, .min_perms = AV_PERM_READ | AV_PERM_PRESERVE },
.rej_perms = AV_PERM_REUSE2 },
{ .name = NULL } { .name = NULL }
}, },
.outputs = (const AVFilterPad[]) { .outputs = (const AVFilterPad[]) {
......
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