diff options
author | Olivier Crete <olivier.crete@collabora.co.uk> | 2007-07-12 16:23:28 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:47:59 +0100 |
commit | 230ee96a32c7fd9f769131650ffc72659baef77d (patch) | |
tree | 1f87f735ed616969e85f9b950a97514e8125e9c9 /gst | |
parent | 6a6a0b07556eb614462befdb728b968f48a78fa6 (diff) | |
download | gst-plugins-bad-230ee96a32c7fd9f769131650ffc72659baef77d.tar.gz gst-plugins-bad-230ee96a32c7fd9f769131650ffc72659baef77d.tar.bz2 gst-plugins-bad-230ee96a32c7fd9f769131650ffc72659baef77d.zip |
[MOVED FROM GST-P-FARSIGHT] Fix RTP timestamp on dtmf packets
20070712162328-3e2dc-98c1303f4a52b891ce59bf88e07d29f4e2dfc974.gz
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpdtmf/gstrtpdtmfsrc.c | 3 |
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); } |