diff --git a/gst-libs/gst/rtp/gstrtpbuffer.h b/gst-libs/gst/rtp/gstrtpbuffer.h index 46a6e9cd7d..5a9049fb8d 100644 --- a/gst-libs/gst/rtp/gstrtpbuffer.h +++ b/gst-libs/gst/rtp/gstrtpbuffer.h @@ -150,6 +150,25 @@ gboolean gst_rtp_buffer_add_extension_twobytes_header (GstRTPBuffer *rtp, gconstpointer data, guint size); +/** + * GstRTPBufferFlags: + * @GST_RTP_BUFFER_FLAG_RETRANSMISSION: The #GstBuffer was once wrapped + * in a retransmitted packet as specified by RFC 4588. + * @GST_RTP_BUFFER_FLAG_LAST: Offset to define more flags. + * + * Additional RTP buffer flags. These flags can potentially be used on any + * buffers carrying RTP packets. + * + * Note that these are only valid for #GstCaps of type: application/x-rtp (x-rtcp). + * They can conflict with other extended buffer flags. + * + * Since: 1.10 + */ +typedef enum { + GST_RTP_BUFFER_FLAG_RETRANSMISSION = (GST_BUFFER_FLAG_LAST << 0), + GST_RTP_BUFFER_FLAG_LAST = (GST_BUFFER_FLAG_LAST << 8) +} GstRTPBufferFlags; + /** * GstRTPBufferMapFlags: * @GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING: Skip mapping and validation of RTP