diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2013-05-20 06:59:44 +0200 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2013-05-20 06:59:44 +0200 |
commit | 5589412b3c37315e13ec95202c6a78fc0760a220 (patch) | |
tree | b1bbb9661397ad7d757b3a6088dd877bc2d56251 /TOOLS/vf_dlopen | |
parent | 34e542591bf1f9573548b90c87d8c07f8a353570 (diff) |
vf_dlopen framestep: step width of 0
This is now defined to mean to never output any frame again (except for
the first).
Diffstat (limited to 'TOOLS/vf_dlopen')
-rw-r--r-- | TOOLS/vf_dlopen/framestep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TOOLS/vf_dlopen/framestep.c b/TOOLS/vf_dlopen/framestep.c index 6440fe3139..531d11b018 100644 --- a/TOOLS/vf_dlopen/framestep.c +++ b/TOOLS/vf_dlopen/framestep.c @@ -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; |