BUG: zero-copy mode of vloopback module on Linux kernel >2.6.32
the vloopback module can be initialized to work in zero-copy mode. When client has issued an ioctl pusher will receive a SIGIO signal.
Right now, when client issues an ioctl, the SIGIO is sent but never arrives because vloopback stores the wrong pusher PID.
The solution is quite easy: change vloopback.c:489: loops[nr]->pid = find_pid_ns(current->pid,0); to: loops[nr]->pid = find_vpid(current->pid);
This has been tested on >2.6.31 and is working well.
Paste in your error messages, config settings, terminal window output etc in this text field.
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
|
Shared libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
|
--
RaulFajardo - 02 May 2011
Follow up
Fix record