mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
sink_buffer: require AV_PERM_PRESERVE.
This commit is contained in:
parent
e54e30c889
commit
a0d274d228
@ -230,7 +230,7 @@ AVFilter avfilter_vsink_buffersink = {
|
|||||||
.inputs = (const AVFilterPad[]) {{ .name = "default",
|
.inputs = (const AVFilterPad[]) {{ .name = "default",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.end_frame = end_frame,
|
.end_frame = end_frame,
|
||||||
.min_perms = AV_PERM_READ, },
|
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE, },
|
||||||
{ .name = NULL }},
|
{ .name = NULL }},
|
||||||
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
|
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
|
||||||
};
|
};
|
||||||
@ -310,7 +310,7 @@ AVFilter avfilter_asink_abuffersink = {
|
|||||||
.inputs = (const AVFilterPad[]) {{ .name = "default",
|
.inputs = (const AVFilterPad[]) {{ .name = "default",
|
||||||
.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[]) {{ .name = NULL }},
|
.outputs = (const AVFilterPad[]) {{ .name = NULL }},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user