1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_fieldorder: require write permissions

This filter modifies the input frame.
This commit is contained in:
Anton Khirnov 2012-11-27 08:59:55 +01:00
parent 49dd71a6f1
commit 4c973de9a5

View File

@ -184,7 +184,7 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = {
.config_props = config_input,
.get_video_buffer = get_video_buffer,
.filter_frame = filter_frame,
.min_perms = AV_PERM_READ,
.min_perms = AV_PERM_READ | AV_PERM_WRITE,
.rej_perms = AV_PERM_REUSE2 | AV_PERM_PRESERVE,
},
{ NULL }