mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
[MOVED FROM GST-P-FARSIGHT] Only set marker on very first packet of an event
20070711155202-3e2dc-f7ea3abd2cb0ca2937ea4508e6e301baaa6e2154.gz
This commit is contained in:
parent
3905482b3f
commit
6a6a0b0755
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue