X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ortp_send.c;h=9dcde7fc376a0c526c4902641bf495b4650f55fc;hp=da590dcdcaf251800feca76546e873bd1fddd999;hb=36ee1cbaaa368a4f84291aada064188c41db0e7a;hpb=9230155e692c3a2303a267759183dd1ad264dda1 diff --git a/ortp_send.c b/ortp_send.c index da590dcd..9dcde7fc 100644 --- a/ortp_send.c +++ b/ortp_send.c @@ -123,9 +123,10 @@ static void ortp_shutdown_targets(void) list_for_each_entry_safe(ot, tmp, &targets, node) { if (!ot->session || !ot->streaming) continue; - PARA_INFO_LOG("sending eof to ortp target %s:%d, ts = %d\n", TARGET_ADDR(ot), ot->port, - ot->last_ts); - rtp_session_send_with_ts(ot->session, buf, ORTP_AUDIO_HEADER_LEN, ot->last_ts + ot->chunk_ts); + PARA_INFO_LOG("sending eof to ortp target %s:%d, ts = %d\n", + TARGET_ADDR(ot), ot->port, ot->last_ts); + rtp_session_send_with_ts(ot->session, buf, + ORTP_AUDIO_HEADER_LEN, ot->last_ts); ot->streaming = 0; ot->chunk_ts = 0; rtp_session_reset(ot->session);