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.

Mark


------------------------------------------------------- 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

Reply via email to