[MOVED FROM GST-P-FARSIGHT] RTP timestamp is the time of the beginning of the dtmf event

20070711155056-3e2dc-cb5cda73fbf7df1c545cb0321b0e339914c5897f.gz
This commit is contained in:
Olivier Crete 2007-07-11 15:50:56 +00:00 committed by Edward Hervey
parent 9fe41ae280
commit 2c955bfad3

View file

@ -651,8 +651,6 @@ gst_rtp_dtmf_prepare_rtp_headers (GstRTPDTMFSrc *dtmfsrc, GstBuffer *buf)
/* timestamp of RTP header */ /* timestamp of RTP header */
gst_rtp_buffer_set_timestamp (buf, dtmfsrc->rtp_timestamp); gst_rtp_buffer_set_timestamp (buf, dtmfsrc->rtp_timestamp);
dtmfsrc->rtp_timestamp +=
dtmfsrc->interval * dtmfsrc->clock_rate / 1000;
} }
static void static void