mirror of https://git.ffmpeg.org/ffmpeg.git
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.
This commit is contained in:
parent
94e805235b
commit
71f2a9a2e5
|
@ -283,11 +283,7 @@ static int process_frame(FFFrameSync *fs)
|
||||||
(ret = ff_framesync_get_frame(&s->fs, 2, &ypic, 0)) < 0)
|
(ret = ff_framesync_get_frame(&s->fs, 2, &ypic, 0)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (ctx->is_disabled) {
|
{
|
||||||
out = av_frame_clone(in);
|
|
||||||
if (!out)
|
|
||||||
return AVERROR(ENOMEM);
|
|
||||||
} else {
|
|
||||||
ThreadData td;
|
ThreadData td;
|
||||||
|
|
||||||
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
||||||
|
@ -407,5 +403,5 @@ const AVFilter ff_vf_remap = {
|
||||||
FILTER_INPUTS(remap_inputs),
|
FILTER_INPUTS(remap_inputs),
|
||||||
FILTER_OUTPUTS(remap_outputs),
|
FILTER_OUTPUTS(remap_outputs),
|
||||||
.priv_class = &remap_class,
|
.priv_class = &remap_class,
|
||||||
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS,
|
.flags = AVFILTER_FLAG_SLICE_THREADS,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue