mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
various (gst): add a missing G_PARAM_STATIC_STRINGS flags
This commit is contained in:
parent
1af3f73e8d
commit
91f9b986a1
6 changed files with 12 additions and 10 deletions
|
@ -160,7 +160,7 @@ ac3iec_class_init (AC3IECClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_RAW_AUDIO,
|
||||
g_param_spec_boolean ("raw-audio", "raw-audio",
|
||||
"If true, source pad caps are set to raw audio.",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = ac3iec_change_state;
|
||||
}
|
||||
|
|
|
@ -321,10 +321,10 @@ gst_mp3parse_class_init (GstMPEGAudioParseClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SKIP,
|
||||
g_param_spec_int ("skip", "skip", "skip",
|
||||
G_MININT, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BIT_RATE,
|
||||
g_param_spec_int ("bitrate", "Bitrate", "Bit Rate",
|
||||
G_MININT, G_MAXINT, 0, G_PARAM_READABLE));
|
||||
G_MININT, G_MAXINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = gst_mp3parse_change_state;
|
||||
|
||||
|
|
|
@ -170,15 +170,17 @@ gst_mpeg_parse_class_init (GstMPEGParseClass * klass)
|
|||
g_param_spec_int ("max_scr_gap", "Max SCR gap",
|
||||
"Maximum allowed gap between expected and actual "
|
||||
"SCR values. -1 means never adjust.", -1, G_MAXINT,
|
||||
DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE));
|
||||
DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BYTE_OFFSET,
|
||||
g_param_spec_uint64 ("byte-offset", "Byte Offset",
|
||||
"Emit reached-offset signal when the byte offset is reached.",
|
||||
0, G_MAXUINT64, G_MAXUINT64, G_PARAM_READWRITE));
|
||||
0, G_MAXUINT64, G_MAXUINT64,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TIME_OFFSET,
|
||||
g_param_spec_uint64 ("time-offset", "Time Offset",
|
||||
"Time offset in the stream.",
|
||||
0, G_MAXUINT64, G_MAXUINT64, G_PARAM_READABLE));
|
||||
0, G_MAXUINT64, G_MAXUINT64,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -123,10 +123,10 @@ gst_rfc2250_enc_class_init (GstRFC2250EncClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BIT_RATE,
|
||||
g_param_spec_uint ("bit_rate", "bit_rate", "bit_rate",
|
||||
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), ARG_MPEG2,
|
||||
g_param_spec_boolean ("mpeg2", "mpeg2", "is this an mpeg2 stream",
|
||||
FALSE, G_PARAM_READABLE));
|
||||
FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->get_property = gst_rfc2250_enc_get_property;
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ gst_pnm_src_class_init (GstPNMSrcClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_LOCATION,
|
||||
g_param_spec_string ("location", "PNM Location",
|
||||
"Location of the PNM url to read",
|
||||
DEFAULT_LOCATION, G_PARAM_READWRITE));
|
||||
DEFAULT_LOCATION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstpushsrc_class->create = gst_pnm_src_create;
|
||||
}
|
||||
|
|
|
@ -428,7 +428,7 @@ gst_rdt_manager_class_init (GstRDTManagerClass * g_class)
|
|||
g_object_class_install_property (gobject_class, PROP_LATENCY,
|
||||
g_param_spec_uint ("latency", "Buffer latency in ms",
|
||||
"Amount of ms to buffer", 0, G_MAXUINT, DEFAULT_LATENCY_MS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstRDTManager::request-pt-map:
|
||||
|
|
Loading…
Reference in a new issue