0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +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:
Rudolf Polzer 2013-05-20 06:59:44 +02:00
parent 34e542591b
commit 5589412b3c

View File

@ -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;