summaryrefslogtreecommitdiff
path: root/avi2swf/videoreader.h
diff options
context:
space:
mode:
authorkramm <kramm>2004-03-31 13:39:44 +0000
committerkramm <kramm>2004-03-31 13:39:44 +0000
commit662140a5161907a74d7b0af06d4c65d056dc5b7a (patch)
tree886335a33121746927698a8f9144e8f9d0326c79 /avi2swf/videoreader.h
parent2cfb71602733241db4b17cb6ed59ce4884e7d94a (diff)
added progress field
Diffstat (limited to 'avi2swf/videoreader.h')
-rw-r--r--avi2swf/videoreader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/avi2swf/videoreader.h b/avi2swf/videoreader.h
index b9948441..73799a2a 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