Index: rtp.c
===================================================================
--- rtp.c	(revision 31713)
+++ rtp.c	(working copy)
@@ -1283,6 +1283,8 @@
 	*/
 	if (rtp->lastts > rtp->lastdigitts)
 		rtp->lastdigitts = rtp->lastts;
+	if (f->has_timing_info)
+		rtp->lastts = f->ts * 8;
 
 	/* Get a pointer to the header */
 	rtpheader = (unsigned char *)(f->data - hdrlen);
