From 230ee96a32c7fd9f769131650ffc72659baef77d Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Thu, 12 Jul 2007 16:23:28 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Fix RTP timestamp on dtmf packets 20070712162328-3e2dc-98c1303f4a52b891ce59bf88e07d29f4e2dfc974.gz --- gst/rtpdtmf/gstrtpdtmfsrc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gst/rtpdtmf/gstrtpdtmfsrc.c') diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c index b849194b..a31957f9 100644 --- a/gst/rtpdtmf/gstrtpdtmfsrc.c +++ b/gst/rtpdtmf/gstrtpdtmfsrc.c @@ -563,8 +563,7 @@ gst_rtp_dtmf_prepare_timestamps (GstRTPDTMFSrc *dtmfsrc) dtmfsrc->rtp_timestamp = dtmfsrc->ts_base + gst_util_uint64_scale_int ( gst_segment_to_running_time (&dtmfsrc->segment, GST_FORMAT_TIME, - dtmfsrc->timestamp - - gst_element_get_base_time (GST_ELEMENT (dtmfsrc))), + dtmfsrc->timestamp), dtmfsrc->clock_rate, GST_SECOND); } -- cgit v1.2.1