summaryrefslogtreecommitdiffstats
path: root/gst/rtpdtmf
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtpdtmf')
-rw-r--r--gst/rtpdtmf/gstrtpdtmfsrc.c3
1 files changed, 1 insertions, 2 deletions
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);
}