From: Andre Date: Mon, 3 Apr 2006 14:11:54 +0000 (+0200) Subject: mp3: Increase eof timeout X-Git-Tag: v0.2.12~115 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=9ebd69fa0ad93040ca37190e1b71683d027095e9;hp=f7212adf2159341127331436d2ddc9e1f7a21563 mp3: Increase eof timeout This fixes some problems with ortp. --- diff --git a/mp3.c b/mp3.c index b605b4ea..ab8df7df 100644 --- 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; }