mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
rtpmux: add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
This commit is contained in:
parent
9674d5cc23
commit
55aae6bfab
1 changed files with 6 additions and 4 deletions
|
@ -141,19 +141,21 @@ gst_rtp_mux_class_init (GstRTPMuxClass * klass)
|
||||||
PROP_TIMESTAMP_OFFSET, g_param_spec_int ("timestamp-offset",
|
PROP_TIMESTAMP_OFFSET, g_param_spec_int ("timestamp-offset",
|
||||||
"Timestamp Offset",
|
"Timestamp Offset",
|
||||||
"Offset to add to all outgoing timestamps (-1 = random)", -1,
|
"Offset to add to all outgoing timestamps (-1 = random)", -1,
|
||||||
G_MAXINT, DEFAULT_TIMESTAMP_OFFSET, G_PARAM_READWRITE));
|
G_MAXINT, DEFAULT_TIMESTAMP_OFFSET,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM_OFFSET,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM_OFFSET,
|
||||||
g_param_spec_int ("seqnum-offset", "Sequence number Offset",
|
g_param_spec_int ("seqnum-offset", "Sequence number Offset",
|
||||||
"Offset to add to all outgoing seqnum (-1 = random)", -1, G_MAXINT,
|
"Offset to add to all outgoing seqnum (-1 = random)", -1, G_MAXINT,
|
||||||
DEFAULT_SEQNUM_OFFSET, G_PARAM_READWRITE));
|
DEFAULT_SEQNUM_OFFSET, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SEQNUM,
|
||||||
g_param_spec_uint ("seqnum", "Sequence number",
|
g_param_spec_uint ("seqnum", "Sequence number",
|
||||||
"The RTP sequence number of the last processed packet",
|
"The RTP sequence number of the last processed packet",
|
||||||
0, G_MAXUINT, 0, G_PARAM_READABLE));
|
0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SSRC,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SSRC,
|
||||||
g_param_spec_uint ("ssrc", "SSRC",
|
g_param_spec_uint ("ssrc", "SSRC",
|
||||||
"The SSRC of the packets (-1 == random)",
|
"The SSRC of the packets (-1 == random)",
|
||||||
0, G_MAXUINT, DEFAULT_SSRC, G_PARAM_READWRITE));
|
0, G_MAXUINT, DEFAULT_SSRC,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
gstelement_class->request_new_pad =
|
gstelement_class->request_new_pad =
|
||||||
GST_DEBUG_FUNCPTR (gst_rtp_mux_request_new_pad);
|
GST_DEBUG_FUNCPTR (gst_rtp_mux_request_new_pad);
|
||||||
|
|
Loading…
Reference in a new issue