From 5589412b3c37315e13ec95202c6a78fc0760a220 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 20 May 2013 06:59:44 +0200 Subject: vf_dlopen framestep: step width of 0 This is now defined to mean to never output any frame again (except for the first). --- TOOLS/vf_dlopen/framestep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'TOOLS/vf_dlopen') 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; -- cgit v1.2.3