From: zeeshan.ali@nokia.com Date: Thu, 29 Mar 2007 11:42:57 +0000 (+0000) Subject: [MOVED FROM GST-P-FARSIGHT] Increment the ts after setting the buffer's ts X-Git-Tag: 1.19.3~507^2~19399 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44328d3355ee3a5709ba8096681e2a1f8e236626;p=platform%2Fupstream%2Fgstreamer.git [MOVED FROM GST-P-FARSIGHT] Increment the ts after setting the buffer's ts 20070329114257-65035-c8686ab4ce20b1f36f3dac120485ade5cd90aac9.gz --- diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c index e658bc0..a2a98bb 100644 --- a/gst/rtpdtmf/gstrtpdtmfsrc.c +++ b/gst/rtpdtmf/gstrtpdtmfsrc.c @@ -578,8 +578,8 @@ gst_rtp_dtmf_src_push_next_rtp_packet (GstRTPDTMFSrc *dtmfsrc) /* timestamp and duration of GstBuffer */ GST_BUFFER_DURATION (buf) = DEFAULT_PACKET_INTERVAL * GST_MSECOND; - dtmfsrc->timestamp += GST_BUFFER_DURATION (buf); GST_BUFFER_TIMESTAMP (buf) = dtmfsrc->timestamp; + dtmfsrc->timestamp += GST_BUFFER_DURATION (buf); payload = (GstRTPDTMFPayload *) gst_rtp_buffer_get_payload (buf);