GPollFunc

Specifies the type of function passed to MainContext.setPollFunc. The semantics of the function should match those of the poll() system call.

alias GPollFunc = int function(GPollFD* ufds, uint nfsd, int timeout)

Return Value

the number of gstreamer.PollFD elements which have events or errors reported, or -1 if an error occurred.