mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
lavfi: disallow ff_request_frame for filters using activate.
Having two different functions allows to have stricter tests and detect errors earlier.
This commit is contained in:
@@ -408,6 +408,7 @@ int ff_request_frame(AVFilterLink *link)
|
||||
{
|
||||
FF_TPRINTF_START(NULL, request_frame); ff_tlog_link(NULL, link, 1);
|
||||
|
||||
av_assert1(!link->dst->filter->activate);
|
||||
if (link->status_out)
|
||||
return link->status_out;
|
||||
if (link->status_in) {
|
||||
|
||||
Reference in New Issue
Block a user