mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-14 19:10:09 +01:00
lavfi/vsrc: switch to ff_filter_frame.
This commit is contained in:
@@ -319,11 +319,7 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
show_cellauto_row(outlink->src);
|
show_cellauto_row(outlink->src);
|
||||||
#endif
|
#endif
|
||||||
|
ff_filter_frame(outlink, picref);
|
||||||
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);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -439,11 +439,7 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
show_life_grid(outlink->src);
|
show_life_grid(outlink->src);
|
||||||
#endif
|
#endif
|
||||||
|
ff_filter_frame(outlink, picref);
|
||||||
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);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -355,11 +355,7 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
}
|
}
|
||||||
|
|
||||||
test->frame_nb++;
|
test->frame_nb++;
|
||||||
|
ff_filter_frame(outlink, picref);
|
||||||
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);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user