summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-09-28 00:34:40 +0200
committerPaul B Mahol <onemda@gmail.com>2021-09-28 00:38:35 +0200
commit71f2a9a2e53fa0cd9707bc35ce4d56459aad61b7 (patch)
tree160d91badbfeb31417f1a65d026e3b276c65618e /libavfilter
parent94e805235bff7e224f0276fdcdeb517b8541fa18 (diff)
avfilter/vf_remap: remove timeline support
It is not supported, as it is possible to change frame video width and height and that can lead to undefined output.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_remap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavfilter/vf_remap.c b/libavfilter/vf_remap.c
index d372ac1d7d..ec925e8948 100644
--- a/libavfilter/vf_remap.c
+++ b/libavfilter/vf_remap.c
@@ -283,11 +283,7 @@ static int process_frame(FFFrameSync *fs)
(ret = ff_framesync_get_frame(&s->fs, 2, &ypic, 0)) < 0)
return ret;
- if (ctx->is_disabled) {
- out = av_frame_clone(in);
- if (!out)
- return AVERROR(ENOMEM);
- } else {
+ {
ThreadData td;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
@@ -407,5 +403,5 @@ const AVFilter ff_vf_remap = {
FILTER_INPUTS(remap_inputs),
FILTER_OUTPUTS(remap_outputs),
.priv_class = &remap_class,
- .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS,
+ .flags = AVFILTER_FLAG_SLICE_THREADS,
};