]> git.tue.mpg.de Git - paraslash.git/commitdiff
mp3: Increase eof timeout
authorAndre <maan@p133.(none)>
Mon, 3 Apr 2006 14:11:54 +0000 (16:11 +0200)
committerAndre <maan@p133.(none)>
Mon, 3 Apr 2006 14:11:54 +0000 (16:11 +0200)
This fixes some problems with ortp.

mp3.c

diff --git a/mp3.c b/mp3.c
index b605b4ea5f3df3c5c866342da55e43549206fc44..ab8df7dfb942da7ffa1e4e87ef58e8d3c9bcc50f 100644 (file)
--- a/mp3.c
+++ b/mp3.c
@@ -411,7 +411,8 @@ static int mp3_read_info(void)
        tv_divide(fcount, &total_time, &af->chunk_tv);
        rewind(mp3.file);
        PARA_DEBUG_LOG("chunk_time: %lu\n", af->chunk_tv.tv_usec);
-       tv_scale(10, &af->chunk_tv, &af->eof_tv);
+       tv_scale(30, &af->chunk_tv, &af->eof_tv);
+       PARA_DEBUG_LOG("eof timeout: %lu\n", tv2ms(&af->eof_tv));
        return 1;
 }