mirror of
https://github.com/mpv-player/mpv
synced 2024-10-06 14:54:02 +02:00
vf_dlopen framestep: step width of 0
This is now defined to mean to never output any frame again (except for the first).
This commit is contained in:
parent
34e542591b
commit
5589412b3c
@ -50,6 +50,8 @@ static int framestep_put_image(struct vf_dlopen_context *ctx)
|
||||
framestep_data_t *framestep = ctx->priv;
|
||||
|
||||
// stepping
|
||||
if (framestep->pos < 0)
|
||||
return 0;
|
||||
--framestep->pos;
|
||||
if (framestep->pos >= 0)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user