* Some image scaling tweaks for different platforms.

This commit is contained in:
Justin Maggard
2009-03-20 19:33:34 +00:00
parent 06784a31ca
commit c4d180f80d
5 changed files with 145 additions and 13 deletions

View File

@ -537,9 +537,6 @@ start_inotify()
char * esc_name = NULL;
char * path_buf = NULL;
if (setpriority(PRIO_PROCESS, 0, 19) == -1)
DPRINTF(E_WARN, L_INOTIFY, "Failed to reduce inotify thread priority\n");
fd = inotify_init();
if ( fd < 0 ) {
@ -551,6 +548,9 @@ start_inotify()
sleep(1);
}
inotify_create_watches(fd);
if (setpriority(PRIO_PROCESS, 0, 19) == -1)
DPRINTF(E_WARN, L_INOTIFY, "Failed to reduce inotify thread priority\n");
while( 1 )
{
length = read(fd, buffer, BUF_LEN);