diff options
Diffstat (limited to 'src/fastfwd.c')
-rw-r--r-- | src/fastfwd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fastfwd.c b/src/fastfwd.c index b3098d4..b5b7e6a 100644 --- a/src/fastfwd.c +++ b/src/fastfwd.c @@ -66,6 +66,11 @@ void fastfwd(float seconds, float timescale) { skiprate = timescale; } +void fastfwd_add(float seconds, float timescale) { + skiptime += seconds; + skiprate = timescale; +} + static inline void *find_eng(void *runframe) { #ifdef _WIN32 const uchar *insns = (const uchar *)runframe; |