History

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.

Paul B Mahol committed 5 years ago

Commit 71f2a9a1 parent 94e80521 file · +2 −6Browse files

Unified · Split

libavfilter/vf_remap.c+2−6
@@ -283,11 +283,7 @@ static int process_frame(FFFrameSync *fs) · 282 unmodified lines
283283 (ret = ff_framesync_get_frame(&s->fs, 2, &ypic, 0)) < 0)
284284 return ret;
285285
286− if (ctx->is_disabled) {
287− out = av_frame_clone(in);
288− if (!out)
289− return AVERROR(ENOMEM);
290− } else {
286+ {
291287 ThreadData td;
292288
293289 out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
@@ -407,5 +403,5 @@ const AVFilter ff_vf_remap = { · 113 unmodified lines
407403 FILTER_INPUTS(remap_inputs),
408404 FILTER_OUTPUTS(remap_outputs),
409405 .priv_class = &remap_class,
410− .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS,
406+ .flags = AVFILTER_FLAG_SLICE_THREADS,
411407 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t