summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorzeeshan.ali@nokia.com <zeeshan.ali@nokia.com>2007-03-29 11:42:57 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:47:57 +0100
commit44328d3355ee3a5709ba8096681e2a1f8e236626 (patch)
tree86cfbbc642d69519f776146c6c2b7a153cda4d48 /gst
parentf1609fe6e24dc985ba78410b89a9f81f6580178c (diff)
downloadgst-plugins-bad-44328d3355ee3a5709ba8096681e2a1f8e236626.tar.gz
gst-plugins-bad-44328d3355ee3a5709ba8096681e2a1f8e236626.tar.bz2
gst-plugins-bad-44328d3355ee3a5709ba8096681e2a1f8e236626.zip
[MOVED FROM GST-P-FARSIGHT] Increment the ts after setting the buffer's ts
20070329114257-65035-c8686ab4ce20b1f36f3dac120485ade5cd90aac9.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpdtmf/gstrtpdtmfsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c
index e658bc05..a2a98bb9 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);