[MOVED FROM GST-P-FARSIGHT] Fix RTP timestamp on dtmf packets

20070712162328-3e2dc-98c1303f4a52b891ce59bf88e07d29f4e2dfc974.gz
This commit is contained in:
Olivier Crete 2007-07-12 16:23:28 +00:00 committed by Edward Hervey
parent 6a6a0b0755
commit 230ee96a32

View file

@ -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);
}