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

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_remap.c+2−6
@@ -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};

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