You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_idet: Use frame_requested instead of prev
This is more robust if the delay is not constant Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -285,7 +285,7 @@ static int request_frame(AVFilterLink *link)
|
||||
} else if (ret < 0) {
|
||||
return ret;
|
||||
}
|
||||
} while (!idet->prev);
|
||||
} while (link->frame_requested);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user