af_channelmap: require AV_PERM_PRESERVE.
This commit is contained in:
parent
44aeb06290
commit
368f368e59
@ -192,11 +192,11 @@ AVFilter avfilter_af_astreamsync = {
|
|||||||
{ .name = "in1",
|
{ .name = "in1",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.filter_samples = filter_samples,
|
.filter_samples = filter_samples,
|
||||||
.min_perms = AV_PERM_READ, },
|
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE, },
|
||||||
{ .name = "in2",
|
{ .name = "in2",
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.filter_samples = filter_samples,
|
.filter_samples = filter_samples,
|
||||||
.min_perms = AV_PERM_READ, },
|
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE, },
|
||||||
{ .name = NULL }
|
{ .name = NULL }
|
||||||
},
|
},
|
||||||
.outputs = (const AVFilterPad[]) {
|
.outputs = (const AVFilterPad[]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user