diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-20 05:22:52 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-20 05:22:52 +0000 |
commit | 164129098425beadef668f7f87696e905134f54b (patch) | |
tree | 77bd85009a958129b99db438eda0d54ebdfc5aa4 /rtp.c | |
parent | 6af94b4263f18e260011f007e0ba21ac14347244 (diff) |
Same for transmit core
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2487 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -861,6 +861,7 @@ static unsigned int calc_txstamp(struct ast_rtp *rtp, struct timeval *delivery) unsigned int ms; if (!rtp->txcore.tv_sec && !rtp->txcore.tv_usec) { gettimeofday(&rtp->txcore, NULL); + rtp->txcore.tv_usec -= rtp->txcore.tv_usec % 20000; } if (delivery && (delivery->tv_sec || delivery->tv_usec)) { /* Use previous txcore */ |