From: kramm Date: Wed, 31 Mar 2004 13:39:44 +0000 (+0000) Subject: added progress field X-Git-Tag: stable_core_1~19 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=662140a5161907a74d7b0af06d4c65d056dc5b7a;p=swftools.git added progress field --- diff --git a/avi2swf/videoreader.h b/avi2swf/videoreader.h index b994844..73799a2 100644 --- a/avi2swf/videoreader.h +++ b/avi2swf/videoreader.h @@ -20,6 +20,9 @@ typedef struct _videoreader_t int channels; int rate; + /* progress */ + int frame; + void (*setparameter) (struct _videoreader_t*, char*name, char*value); int (*getsamples) (struct _videoreader_t*, void*buffer, int num); int (*getimage) (struct _videoreader_t*, void*buffer); // buffer must hold width*height*4 bytes