]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb ca: use tvhpoll_set()
authorJaroslav Kysela <perex@perex.cz>
Tue, 2 Jan 2018 16:53:47 +0000 (17:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Jan 2018 14:03:22 +0000 (15:03 +0100)
src/input/mpegts/linuxdvb/linuxdvb_ca.c

index e5ca45a3b1a8ed149bc2be879a9229ffb0f8476f..30f7ffae7c1029f00cbb5ecf5d5197c940ae8ef6 100644 (file)
@@ -345,7 +345,7 @@ linuxdvb_ca_thread ( void *aux )
       evcnt++;
     }
     pthread_mutex_unlock(&linuxdvb_ca_mutex);
-    tvhpoll_add(poll, ev, evcnt);
+    tvhpoll_set(poll, ev, evcnt);
 
     r = tvhpoll_wait(poll, ev, evcnt, waitms);
     if (r < 0 && ERRNO_AGAIN(errno))