rtp: add value annotation for GST_RTP_VALID_VALUE

... otherwise its value is not available to bindings.

See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1425#note_2384464

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6762>
This commit is contained in:
François Laignel 2024-04-29 16:22:47 +02:00 committed by GStreamer Marge Bot
parent 9c10726ae1
commit 59e17fa931
2 changed files with 2 additions and 2 deletions

View file

@ -2100,7 +2100,7 @@ packets, basically it accepts other types than RR and SR</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtcpbuffer.h"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_VALID_VALUE" value="200" c:type="GST_RTCP_VALID_VALUE">
<constant name="RTCP_VALID_VALUE" value="32968" c:type="GST_RTCP_VALID_VALUE">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtcpbuffer.h">Valid value for the first two bytes of an RTCP packet after applying
#GST_RTCP_VALID_MASK to them.</doc>
<source-position filename="../subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtcpbuffer.h"/>

View file

@ -268,7 +268,7 @@ typedef enum
#define GST_RTCP_REDUCED_SIZE_VALID_MASK (0xc000 | 0xf8)
/**
* GST_RTCP_VALID_VALUE:
* GST_RTCP_VALID_VALUE: (value 32968)
*
* Valid value for the first two bytes of an RTCP packet after applying
* #GST_RTCP_VALID_MASK to them.