lavfi/vsrc: switch to ff_filter_frame.
This commit is contained in:
parent
6d2892c9f5
commit
f61369d762
@ -319,11 +319,7 @@ static int request_frame(AVFilterLink *outlink)
|
||||
#ifdef DEBUG
|
||||
show_cellauto_row(outlink->src);
|
||||
#endif
|
||||
|
||||
ff_start_frame(outlink, avfilter_ref_buffer(picref, ~0));
|
||||
ff_draw_slice(outlink, 0, cellauto->h, 1);
|
||||
ff_end_frame(outlink);
|
||||
avfilter_unref_buffer(picref);
|
||||
ff_filter_frame(outlink, picref);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -439,11 +439,7 @@ static int request_frame(AVFilterLink *outlink)
|
||||
#ifdef DEBUG
|
||||
show_life_grid(outlink->src);
|
||||
#endif
|
||||
|
||||
ff_start_frame(outlink, avfilter_ref_buffer(picref, ~0));
|
||||
ff_draw_slice(outlink, 0, life->h, 1);
|
||||
ff_end_frame(outlink);
|
||||
avfilter_unref_buffer(picref);
|
||||
ff_filter_frame(outlink, picref);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -355,11 +355,7 @@ static int request_frame(AVFilterLink *outlink)
|
||||
}
|
||||
|
||||
test->frame_nb++;
|
||||
|
||||
ff_start_frame(outlink, avfilter_ref_buffer(picref, ~0));
|
||||
ff_draw_slice(outlink, 0, picref->video->h, 1);
|
||||
ff_end_frame(outlink);
|
||||
avfilter_unref_buffer(picref);
|
||||
ff_filter_frame(outlink, picref);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user