It is not supported, as it is possible to change frame video width and height and that can lead to undefined output.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -283,11 +283,7 @@ static int process_frame(FFFrameSync *fs) · 282 unmodified lines | |||
| 283 | (ret = ff_framesync_get_frame(&s->fs, 2, &ypic, 0)) < 0) | 283 | (ret = ff_framesync_get_frame(&s->fs, 2, &ypic, 0)) < 0) |
| 284 | return ret; | 284 | return ret; |
| 285 | 285 | ||
| 286 | if (ctx->is_disabled) { | 286 | { |
| 287 | out = av_frame_clone(in); | ||
| 288 | if (!out) | ||
| 289 | return AVERROR(ENOMEM); | ||
| 290 | } else { | ||
| 291 | ThreadData td; | 287 | ThreadData td; |
| 292 | 288 | ||
| 293 | out = ff_get_video_buffer(outlink, outlink->w, outlink->h); | 289 | out = ff_get_video_buffer(outlink, outlink->w, outlink->h); |
| @@ -407,5 +403,5 @@ const AVFilter ff_vf_remap = { · 113 unmodified lines | |||
| 407 | FILTER_INPUTS(remap_inputs), | 403 | FILTER_INPUTS(remap_inputs), |
| 408 | FILTER_OUTPUTS(remap_outputs), | 404 | FILTER_OUTPUTS(remap_outputs), |
| 409 | .priv_class = &remap_class, | 405 | .priv_class = &remap_class, |
| 410 | .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS, | 406 | .flags = AVFILTER_FLAG_SLICE_THREADS, |
| 411 | }; | 407 | }; |