[MOVED FROM GST-P-FARSIGHT] Only set marker on very first packet of an event

20070711155202-3e2dc-f7ea3abd2cb0ca2937ea4508e6e301baaa6e2154.gz
This commit is contained in:
Olivier Crete 2007-07-11 15:52:02 +00:00 committed by Edward Hervey
parent 3905482b3f
commit 6a6a0b0755

View file

@ -732,6 +732,9 @@ gst_rtp_dtmf_src_push_next_rtp_packet (GstRTPDTMFSrc *dtmfsrc)
if (ret != GST_FLOW_OK) if (ret != GST_FLOW_OK)
GST_ERROR_OBJECT (dtmfsrc, GST_ERROR_OBJECT (dtmfsrc,
"Failed to push buffer on src pad", GST_BUFFER_SIZE (buf)); "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); gst_buffer_unref(buf);