Hallo > Despite chmoding the lavrec binary setuid root, I've been getting the errors > > ++ WARN: [lavrec] Unable to set negative priority for main thread > ++ WARN: [lavrec] Pthread Real-time scheduling for main thread could not be > enabled > > whenever I record with lavrec. This is due to any setuid being turned off > in function lavrec_init, which is called in lavrec_main prior to the priority > change code. The call to lavrec_init should be moved to after the priority > change code, and the setpriority call should be changed to use getpid() as > its second parameter. With wich user do you start lavrec ?
The Real-time scheduling can only be enabled by the root user for a process. So you have start lavrec as root or configure sudo. To record with th RT scheduling. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users