]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ortp_recv.c
More audiod fixes
[paraslash.git] / ortp_recv.c
index 9c9013648e794b12d6c6f0750eedc079048ebaf7..d8432abc0b9dbfdc74c2f6279babfb265b318f11 100644 (file)
@@ -106,6 +106,11 @@ static void ortp_recv_post_select(struct sched *s, struct task *t)
        unsigned chunk_time;
 
 //     PARA_INFO_LOG("rn: %p, pord: %p, session: %p\n", rn, pord, pord->session);
+       t->ret = -E_ORTP_RECV_EOF;
+       if (rn->output_eof && *rn->output_eof) {
+               rn->eof = 1;
+               return;
+       }
        t->ret = 1;
        if (pord->start.tv_sec)
                if (tv_diff(&s->now, &pord->next_chunk, NULL) < 0)