From 6a6a0b07556eb614462befdb728b968f48a78fa6 Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Wed, 11 Jul 2007 15:52:02 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Only set marker on very first packet of an event 20070711155202-3e2dc-f7ea3abd2cb0ca2937ea4508e6e301baaa6e2154.gz --- gst/rtpdtmf/gstrtpdtmfsrc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/rtpdtmf') 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); -- cgit v1.2.1