vb2_thread_start — start a thread for the given queue.
int vb2_thread_start ( | struct vb2_queue * q, |
vb2_thread_fnc fnc, | |
void * priv, | |
const char * thread_name) ; |
q
videobuf queue
fnc
callback function
priv
priv pointer passed to the callback function
thread_name
the name of the thread. This will be prefixed with “vb2-”.
This starts a thread that will queue and dequeue until an error occurs
or vb2_thread_stop
is called.
This function should not be used for anything else but the videobuf2-dvb support. If you think you have another good use-case for this, then please contact the linux-media mailinglist first.