From 6a9e0210bb8f5390e96e3c6746ff907e9858729f Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 29 Jun 2003 03:24:39 +0000 Subject: Add H.263 video support git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1131 f38db490-d61c-443f-a65b-d21fe96a405b --- rtp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rtp.c') diff --git a/rtp.c b/rtp.c index 99a20fc0e..48d6f85cc 100755 --- a/rtp.c +++ b/rtp.c @@ -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) -- cgit v1.2.3