More hacking

Add beginnings of Xv plugin
Add Poll event
Clean up props handling
V4l2 add beginnings of poll event
This commit is contained in:
Wim Taymans 2016-07-07 09:30:18 +02:00
parent a1a27328e2
commit a31eb56663
14 changed files with 842 additions and 79 deletions

View file

@ -69,6 +69,20 @@ struct _SpaEvent {
size_t size;
};
/**
* SpaEventPoll:
* @fd: a file descriptor to watch
* @events: events to watch for
* @revents: result events
* @callback: callback called when there was activity on @fd
*/
typedef struct {
int fd;
short events;
short revents;
SpaNotify callback;
} SpaEventPoll;
#ifdef __cplusplus
} /* extern "C" */
#endif