diff options
author | Mark Spencer <markster@digium.com> | 2003-06-29 03:24:39 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-06-29 03:24:39 +0000 |
commit | 9c9ee7c952189b570511cc4d8dcb5993ff36ff73 (patch) | |
tree | 4eff0e924a946900561c70a2d56554a97b06efb4 /rtp.c | |
parent | 3b7891887808db51d70c68795c9d6028f89bca58 (diff) |
Add H.263 video support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -460,6 +460,8 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp) } } else { /* Video -- samples is # of samples vs. 90000 */ + if (!rtp->lastividtimestamp) + rtp->lastividtimestamp = timestamp; rtp->f.samples = timestamp - rtp->lastividtimestamp; rtp->lastividtimestamp = timestamp; if (mark) |