diff options
author | Olivier Crete <olivier.crete@collabora.co.uk> | 2007-07-11 15:52:02 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:47:58 +0100 |
commit | 6a6a0b07556eb614462befdb728b968f48a78fa6 (patch) | |
tree | ff131f937ba34786ba177daa91a301173da2fdd0 /gst/rtpdtmf/gstrtpdtmfsrc.c | |
parent | 3905482b3f65a9dc25a4c029c72d5398bdf8c9e3 (diff) | |
download | gst-plugins-bad-6a6a0b07556eb614462befdb728b968f48a78fa6.tar.gz gst-plugins-bad-6a6a0b07556eb614462befdb728b968f48a78fa6.tar.bz2 gst-plugins-bad-6a6a0b07556eb614462befdb728b968f48a78fa6.zip |
[MOVED FROM GST-P-FARSIGHT] Only set marker on very first packet of an event
20070711155202-3e2dc-f7ea3abd2cb0ca2937ea4508e6e301baaa6e2154.gz
Diffstat (limited to 'gst/rtpdtmf/gstrtpdtmfsrc.c')
-rw-r--r-- | gst/rtpdtmf/gstrtpdtmfsrc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c index 3c7543cf..b849194b 100644 --- a/gst/rtpdtmf/gstrtpdtmfsrc.c +++ b/gst/rtpdtmf/gstrtpdtmfsrc.c @@ -732,6 +732,9 @@ gst_rtp_dtmf_src_push_next_rtp_packet (GstRTPDTMFSrc *dtmfsrc) if (ret != GST_FLOW_OK) GST_ERROR_OBJECT (dtmfsrc, "Failed to push buffer on src pad", GST_BUFFER_SIZE (buf)); + + /* Make sure only the first packet sent has the marker set */ + gst_rtp_buffer_set_marker (buf, FALSE); } gst_buffer_unref(buf); |