minor tweaks.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4455 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-08-07 14:13:18 +00:00
parent dcc3d4c5d9
commit cf893a1921
5 changed files with 35 additions and 12 deletions

View file

@ -10,6 +10,7 @@ typedef enum uploadfmt_e
typedef struct
{
char *drivername;
void *(QDECL *createdecoder)(char *name); //needed
void *(QDECL *decodeframe)(void *ctx, qboolean nosound, uploadfmt_t *fmt, int *width, int *height); //needed
void (QDECL *doneframe)(void *ctx, void *img); //basically a free()
@ -26,6 +27,7 @@ typedef struct
typedef struct
{
char *drivername;
void *(QDECL *capture_begin) (char *streamname, int videorate, int width, int height, int *sndkhz, int *sndchannels, int *sndbits);
void (QDECL *capture_video) (void *ctx, void *data, int frame, int width, int height);
void (QDECL *capture_audio) (void *ctx, void *data, int bytes);