properties: add G_PARAM_STATIC_STRINGS where missing

"Hold on, I know you need to generate the registry, but let me just
create copies of all those strings first", Framework whispered

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8915>
This commit is contained in:
Alexander Slobodeniuk 2025-05-02 08:56:19 +02:00 committed by GStreamer Marge Bot
parent ee59564d5c
commit d437e92049
70 changed files with 371 additions and 230 deletions

View File

@ -494,7 +494,8 @@ ges_asset_class_init (GESAssetClass * klass)
_properties[PROP_TYPE] = _properties[PROP_TYPE] =
g_param_spec_gtype ("extractable-type", "Extractable type", g_param_spec_gtype ("extractable-type", "Extractable type",
"The type of the Object that can be extracted out of the asset", "The type of the Object that can be extracted out of the asset",
G_TYPE_OBJECT, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); G_TYPE_OBJECT,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/** /**
* GESAsset:id: * GESAsset:id:
@ -512,7 +513,7 @@ ges_asset_class_init (GESAssetClass * klass)
_properties[PROP_ID] = _properties[PROP_ID] =
g_param_spec_string ("id", "Identifier", g_param_spec_string ("id", "Identifier",
"The unique identifier of the asset", NULL, "The unique identifier of the asset", NULL,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/** /**
* GESAsset:proxy: * GESAsset:proxy:
@ -526,7 +527,8 @@ ges_asset_class_init (GESAssetClass * klass)
*/ */
_properties[PROP_PROXY] = _properties[PROP_PROXY] =
g_param_spec_object ("proxy", "Proxy", g_param_spec_object ("proxy", "Proxy",
"The asset default proxy.", GES_TYPE_ASSET, G_PARAM_READWRITE); "The asset default proxy.", GES_TYPE_ASSET,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/** /**
* GESAsset:proxy-target: * GESAsset:proxy-target:
@ -546,7 +548,8 @@ ges_asset_class_init (GESAssetClass * klass)
*/ */
_properties[PROP_PROXY_TARGET] = _properties[PROP_PROXY_TARGET] =
g_param_spec_object ("proxy-target", "Proxy target", g_param_spec_object ("proxy-target", "Proxy target",
"The target of a proxy asset.", GES_TYPE_ASSET, G_PARAM_READABLE); "The target of a proxy asset.", GES_TYPE_ASSET,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, PROP_LAST, _properties); g_object_class_install_properties (object_class, PROP_LAST, _properties);

View File

@ -149,7 +149,8 @@ ges_audio_uri_source_class_init (GESAudioUriSourceClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_URI, g_object_class_install_property (object_class, PROP_URI,
g_param_spec_string ("uri", "URI", "uri of the resource", g_param_spec_string ("uri", "URI", "uri of the resource",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
element_class->get_natural_framerate = _get_natural_framerate; element_class->get_natural_framerate = _get_natural_framerate;

View File

@ -131,7 +131,7 @@ ges_clip_asset_class_init (GESClipAssetClass * self_class)
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats", properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
"Supported formats", "Formats supported by the file", "Supported formats", "Formats supported by the file",
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO, GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS, g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS,
properties[PROP_SUPPORTED_FORMATS]); properties[PROP_SUPPORTED_FORMATS]);

View File

@ -2588,7 +2588,7 @@ ges_clip_class_init (GESClipClass * klass)
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats", properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
"Supported formats", "Formats supported by the clip", "Supported formats", "Formats supported by the clip",
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO, GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_AUDIO | GES_TRACK_TYPE_VIDEO,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS, g_object_class_install_property (object_class, PROP_SUPPORTED_FORMATS,
properties[PROP_SUPPORTED_FORMATS]); properties[PROP_SUPPORTED_FORMATS]);
@ -2604,7 +2604,8 @@ ges_clip_class_init (GESClipClass * klass)
*/ */
properties[PROP_LAYER] = g_param_spec_object ("layer", "Layer", properties[PROP_LAYER] = g_param_spec_object ("layer", "Layer",
"The GESLayer where this clip is being used.", "The GESLayer where this clip is being used.",
GES_TYPE_LAYER, G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY); GES_TYPE_LAYER,
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_LAYER, g_object_class_install_property (object_class, PROP_LAYER,
properties[PROP_LAYER]); properties[PROP_LAYER]);
@ -2631,7 +2632,8 @@ ges_clip_class_init (GESClipClass * klass)
properties[PROP_DURATION_LIMIT] = properties[PROP_DURATION_LIMIT] =
g_param_spec_uint64 ("duration-limit", "Duration Limit", g_param_spec_uint64 ("duration-limit", "Duration Limit",
"A limit on the duration of the clip", 0, G_MAXUINT64, "A limit on the duration of the clip", 0, G_MAXUINT64,
GST_CLOCK_TIME_NONE, G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY); GST_CLOCK_TIME_NONE,
G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_DURATION_LIMIT, g_object_class_install_property (object_class, PROP_DURATION_LIMIT,
properties[PROP_DURATION_LIMIT]); properties[PROP_DURATION_LIMIT]);

View File

@ -460,7 +460,7 @@ ges_container_class_init (GESContainerClass * klass)
*/ */
properties[PROP_HEIGHT] = g_param_spec_uint ("height", "Height", properties[PROP_HEIGHT] = g_param_spec_uint ("height", "Height",
"The span of priorities this container occupies", 0, G_MAXUINT, 1, "The span of priorities this container occupies", 0, G_MAXUINT, 1,
G_PARAM_READABLE); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_HEIGHT, g_object_class_install_property (object_class, PROP_HEIGHT,
properties[PROP_HEIGHT]); properties[PROP_HEIGHT]);

View File

@ -207,7 +207,8 @@ ges_effect_clip_class_init (GESEffectClipClass * klass)
g_param_spec_string ("video-bin-description", g_param_spec_string ("video-bin-description",
"Video bin description", "Video bin description",
"Description of the video track of the effect", "Description of the video track of the effect",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
/** /**
* GESEffectClip:audio-bin-description: * GESEffectClip:audio-bin-description:
@ -221,7 +222,8 @@ ges_effect_clip_class_init (GESEffectClipClass * klass)
g_param_spec_string ("audio-bin-description", g_param_spec_string ("audio-bin-description",
"bin description", "bin description",
"Bin description of the audio track of the effect", "Bin description of the audio track of the effect",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
timobj_class->create_track_element = _create_track_element; timobj_class->create_track_element = _create_track_element;
} }

View File

@ -583,7 +583,7 @@ ges_group_class_init (GESGroupClass * klass)
*/ */
properties[PROP_START] = g_param_spec_uint64 ("start", "Start", properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
"The position in the container", 0, G_MAXUINT64, 0, "The position in the container", 0, G_MAXUINT64, 0,
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION); G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
/** /**
* GESGroup:in-point: * GESGroup:in-point:
@ -593,7 +593,8 @@ ges_group_class_init (GESGroupClass * klass)
*/ */
properties[PROP_INPOINT] = properties[PROP_INPOINT] =
g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0, g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0,
G_MAXUINT64, 0, G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION); G_MAXUINT64, 0,
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
/** /**
* GESGroup:duration: * GESGroup:duration:
@ -607,7 +608,7 @@ ges_group_class_init (GESGroupClass * klass)
properties[PROP_DURATION] = properties[PROP_DURATION] =
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0, g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
G_MAXUINT64, GST_CLOCK_TIME_NONE, G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION); G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
/** /**
* GESGroup:max-duration: * GESGroup:max-duration:
@ -618,7 +619,8 @@ ges_group_class_init (GESGroupClass * klass)
properties[PROP_MAX_DURATION] = properties[PROP_MAX_DURATION] =
g_param_spec_uint64 ("max-duration", "Maximum duration", g_param_spec_uint64 ("max-duration", "Maximum duration",
"The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE, "The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION |
G_PARAM_STATIC_STRINGS);
/** /**
* GESGroup:priority: * GESGroup:priority:
@ -629,7 +631,7 @@ ges_group_class_init (GESGroupClass * klass)
*/ */
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority", properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
"The priority of the object", 0, G_MAXUINT, 0, "The priority of the object", 0, G_MAXUINT, 0,
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION); G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, PROP_LAST, properties); g_object_class_install_properties (object_class, PROP_LAST, properties);

View File

@ -173,7 +173,8 @@ ges_image_source_class_init (GESImageSourceClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_URI, g_object_class_install_property (object_class, PROP_URI,
g_param_spec_string ("uri", "URI", "uri of the resource", g_param_spec_string ("uri", "URI", "uri of the resource",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
source_class->create_source = ges_image_source_create_source; source_class->create_source = ges_image_source_create_source;
vsource_class->ABI.abi.get_natural_size = vsource_class->ABI.abi.get_natural_size =

View File

@ -231,7 +231,8 @@ ges_layer_class_init (GESLayerClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_PRIORITY, g_object_class_install_property (object_class, PROP_PRIORITY,
g_param_spec_uint ("priority", "Priority", g_param_spec_uint ("priority", "Priority",
"The priority of the layer", 0, G_MAXUINT, 0, G_PARAM_READWRITE)); "The priority of the layer", 0, G_MAXUINT, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GESLayer:auto-transition: * GESLayer:auto-transition:
@ -246,7 +247,8 @@ ges_layer_class_init (GESLayerClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_AUTO_TRANSITION, g_object_class_install_property (object_class, PROP_AUTO_TRANSITION,
g_param_spec_boolean ("auto-transition", "Auto-Transition", g_param_spec_boolean ("auto-transition", "Auto-Transition",
"whether the transitions are added", FALSE, G_PARAM_READWRITE)); "whether the transitions are added", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GESLayer::clip-added: * GESLayer::clip-added:

View File

@ -100,7 +100,7 @@ ges_marker_class_init (GESMarkerClass * klass)
marker_properties[PROP_MARKER_POSITION] = marker_properties[PROP_MARKER_POSITION] =
g_param_spec_uint64 ("position", "Position", g_param_spec_uint64 ("position", "Position",
"The position of the marker", 0, G_MAXUINT64, "The position of the marker", 0, G_MAXUINT64,
GST_CLOCK_TIME_NONE, G_PARAM_READABLE); GST_CLOCK_TIME_NONE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_MARKER_POSITION, g_object_class_install_property (object_class, PROP_MARKER_POSITION,
marker_properties[PROP_MARKER_POSITION]); marker_properties[PROP_MARKER_POSITION]);
@ -220,7 +220,7 @@ ges_marker_list_class_init (GESMarkerListClass * klass)
g_param_spec_flags ("flags", "Flags", g_param_spec_flags ("flags", "Flags",
"Functionalities the marker list should be used for", "Functionalities the marker list should be used for",
GES_TYPE_MARKER_FLAGS, GES_MARKER_FLAG_NONE, GES_TYPE_MARKER_FLAGS, GES_MARKER_FLAG_NONE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_MARKER_LIST_FLAGS, g_object_class_install_property (object_class, PROP_MARKER_LIST_FLAGS,
list_properties[PROP_MARKER_LIST_FLAGS]); list_properties[PROP_MARKER_LIST_FLAGS]);

View File

@ -254,7 +254,8 @@ ges_multi_file_source_class_init (GESMultiFileSourceClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_URI, g_object_class_install_property (object_class, PROP_URI,
g_param_spec_string ("uri", "URI", "multifile uri", g_param_spec_string ("uri", "URI", "multifile uri",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
source_class->create_source = ges_multi_file_source_create_source; source_class->create_source = ges_multi_file_source_create_source;
} }

View File

@ -541,7 +541,8 @@ ges_project_class_init (GESProjectClass * klass)
* The location of the project to use. * The location of the project to use.
*/ */
_properties[PROP_URI] = g_param_spec_string ("uri", "URI", _properties[PROP_URI] = g_param_spec_string ("uri", "URI",
"uri of the project", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); "uri of the project", NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, PROP_LAST, _properties); g_object_class_install_properties (object_class, PROP_LAST, _properties);

View File

@ -315,7 +315,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
g_param_spec_enum ("vpattern", "VPattern", g_param_spec_enum ("vpattern", "VPattern",
"Which video pattern to display. See videotestsrc element", "Which video pattern to display. See videotestsrc element",
GES_VIDEO_TEST_PATTERN_TYPE, GES_VIDEO_TEST_PATTERN_TYPE,
DEFAULT_VPATTERN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); DEFAULT_VPATTERN,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GESTestClip:freq: * GESTestClip:freq:
@ -325,7 +326,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
g_object_class_install_property (object_class, PROP_FREQ, g_object_class_install_property (object_class, PROP_FREQ,
g_param_spec_double ("freq", "Audio Frequency", g_param_spec_double ("freq", "Audio Frequency",
"The frequency to generate. See audiotestsrc element", "The frequency to generate. See audiotestsrc element",
0, 20000, 440, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, 20000, 440,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GESTestClip:volume: * GESTestClip:volume:
@ -335,7 +337,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
g_object_class_install_property (object_class, PROP_VOLUME, g_object_class_install_property (object_class, PROP_VOLUME,
g_param_spec_double ("volume", "Audio Volume", g_param_spec_double ("volume", "Audio Volume",
"The volume of the test audio signal.", "The volume of the test audio signal.",
0, 1, DEFAULT_VOLUME, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, 1, DEFAULT_VOLUME,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
@ -345,7 +348,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_MUTE, g_object_class_install_property (object_class, PROP_MUTE,
g_param_spec_boolean ("mute", "Mute", "Mute audio track", g_param_spec_boolean ("mute", "Mute", "Mute audio track",
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
clip_class->create_track_element = ges_test_clip_create_track_element; clip_class->create_track_element = ges_test_clip_create_track_element;
} }

View File

@ -168,7 +168,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
g_object_class_install_property (object_class, PROP_TEXT, g_object_class_install_property (object_class, PROP_TEXT,
g_param_spec_string ("text", "Text", "The text to display", g_param_spec_string ("text", "Text", "The text to display",
DEFAULT_PROP_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); DEFAULT_PROP_TEXT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GESTextOverlayClip:font-desc: * GESTextOverlayClip:font-desc:
@ -215,7 +216,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
g_object_class_install_property (object_class, PROP_COLOR, g_object_class_install_property (object_class, PROP_COLOR,
g_param_spec_uint ("color", "Color", "The color of the text", g_param_spec_uint ("color", "Color", "The color of the text",
0, G_MAXUINT32, G_MAXUINT32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, G_MAXUINT32, G_MAXUINT32,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GESTextOverlayClip:xpos: * GESTextOverlayClip:xpos:
@ -225,7 +227,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
g_object_class_install_property (object_class, PROP_XPOS, g_object_class_install_property (object_class, PROP_XPOS,
g_param_spec_double ("xpos", "Xpos", "The horizontal position", g_param_spec_double ("xpos", "Xpos", "The horizontal position",
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, 1, 0.5,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GESTextOverlayClip:ypos: * GESTextOverlayClip:ypos:
@ -235,7 +238,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
g_object_class_install_property (object_class, PROP_YPOS, g_object_class_install_property (object_class, PROP_YPOS,
g_param_spec_double ("ypos", "Ypos", "The vertical position", g_param_spec_double ("ypos", "Ypos", "The vertical position",
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, 1, 0.5,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
} }
static void static void

View File

@ -459,7 +459,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
properties[PROP_PARENT] = properties[PROP_PARENT] =
g_param_spec_object ("parent", "Parent", g_param_spec_object ("parent", "Parent",
"The parent container of the object", GES_TYPE_TIMELINE_ELEMENT, "The parent container of the object", GES_TYPE_TIMELINE_ELEMENT,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:timeline: * GESTimelineElement:timeline:
@ -469,7 +469,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
properties[PROP_TIMELINE] = properties[PROP_TIMELINE] =
g_param_spec_object ("timeline", "Timeline", g_param_spec_object ("timeline", "Timeline",
"The timeline the object is in", GES_TYPE_TIMELINE, "The timeline the object is in", GES_TYPE_TIMELINE,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:start: * GESTimelineElement:start:
@ -483,7 +483,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
*/ */
properties[PROP_START] = g_param_spec_uint64 ("start", "Start", properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
"The position in the timeline", 0, G_MAXUINT64, 0, "The position in the timeline", 0, G_MAXUINT64, 0,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:in-point: (getter get_inpoint)(setter set_inpoint) * GESTimelineElement:in-point: (getter get_inpoint)(setter set_inpoint)
@ -504,7 +504,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
*/ */
properties[PROP_INPOINT] = properties[PROP_INPOINT] =
g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0, g_param_spec_uint64 ("in-point", "In-point", "The in-point", 0,
G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_MAXUINT64, 0,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:duration: * GESTimelineElement:duration:
@ -519,7 +520,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
properties[PROP_DURATION] = properties[PROP_DURATION] =
g_param_spec_uint64 ("duration", "Duration", "The play duration", 0, g_param_spec_uint64 ("duration", "Duration", "The play duration", 0,
G_MAXUINT64, GST_CLOCK_TIME_NONE, G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:max-duration: * GESTimelineElement:max-duration:
@ -542,7 +543,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
properties[PROP_MAX_DURATION] = properties[PROP_MAX_DURATION] =
g_param_spec_uint64 ("max-duration", "Maximum duration", g_param_spec_uint64 ("max-duration", "Maximum duration",
"The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE, "The maximum duration of the object", 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY |
G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:priority: * GESTimelineElement:priority:
@ -552,7 +554,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
* Deprecated: 1.10: Priority management is now done by GES itself. * Deprecated: 1.10: Priority management is now done by GES itself.
*/ */
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority", properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
"The priority of the object", 0, G_MAXUINT, 0, G_PARAM_READWRITE); "The priority of the object", 0, G_MAXUINT, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/** /**
* GESTimelineElement:name: * GESTimelineElement:name:
@ -570,7 +573,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
*/ */
properties[PROP_SERIALIZE] = g_param_spec_boolean ("serialize", "Serialize", properties[PROP_SERIALIZE] = g_param_spec_boolean ("serialize", "Serialize",
"Whether the element should be serialized", TRUE, "Whether the element should be serialized", TRUE,
G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION); G_PARAM_READWRITE | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, PROP_LAST, properties); g_object_class_install_properties (object_class, PROP_LAST, properties);

View File

@ -629,7 +629,7 @@ ges_timeline_class_init (GESTimelineClass * klass)
properties[PROP_DURATION] = properties[PROP_DURATION] =
g_param_spec_uint64 ("duration", "Duration", g_param_spec_uint64 ("duration", "Duration",
"The duration of the timeline", 0, G_MAXUINT64, "The duration of the timeline", 0, G_MAXUINT64,
GST_CLOCK_TIME_NONE, G_PARAM_READABLE); GST_CLOCK_TIME_NONE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_DURATION, g_object_class_install_property (object_class, PROP_DURATION,
properties[PROP_DURATION]); properties[PROP_DURATION]);
@ -643,7 +643,8 @@ ges_timeline_class_init (GESTimelineClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_AUTO_TRANSITION, g_object_class_install_property (object_class, PROP_AUTO_TRANSITION,
g_param_spec_boolean ("auto-transition", "Auto-Transition", g_param_spec_boolean ("auto-transition", "Auto-Transition",
"whether the transitions are added", FALSE, G_PARAM_READWRITE)); "whether the transitions are added", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GESTimeline:snapping-distance: * GESTimeline:snapping-distance:
@ -656,7 +657,7 @@ ges_timeline_class_init (GESTimelineClass * klass)
properties[PROP_SNAPPING_DISTANCE] = properties[PROP_SNAPPING_DISTANCE] =
g_param_spec_uint64 ("snapping-distance", "Snapping distance", g_param_spec_uint64 ("snapping-distance", "Snapping distance",
"Distance from which moving an object will snap with neighbours", 0, "Distance from which moving an object will snap with neighbours", 0,
G_MAXUINT64, 0, G_PARAM_READWRITE); G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_SNAPPING_DISTANCE, g_object_class_install_property (object_class, PROP_SNAPPING_DISTANCE,
properties[PROP_SNAPPING_DISTANCE]); properties[PROP_SNAPPING_DISTANCE]);

View File

@ -152,7 +152,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
g_object_class_install_property (object_class, PROP_TEXT, g_object_class_install_property (object_class, PROP_TEXT,
g_param_spec_string ("text", "Text", "The text to display", g_param_spec_string ("text", "Text", "The text to display",
DEFAULT_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | DEFAULT_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
GES_PARAM_NO_SERIALIZATION)); GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
/** /**
* GESTitleClip:font-desc: * GESTitleClip:font-desc:
@ -220,7 +220,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
g_object_class_install_property (object_class, PROP_COLOR, g_object_class_install_property (object_class, PROP_COLOR,
g_param_spec_uint ("color", "Color", "The color of the text", g_param_spec_uint ("color", "Color", "The color of the text",
0, G_MAXUINT32, G_MAXUINT32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | 0, G_MAXUINT32, G_MAXUINT32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
GES_PARAM_NO_SERIALIZATION)); GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
/** /**
* GESTitleClip:background: * GESTitleClip:background:
@ -235,7 +235,8 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
g_object_class_install_property (object_class, PROP_BACKGROUND, g_object_class_install_property (object_class, PROP_BACKGROUND,
g_param_spec_uint ("background", "Background", g_param_spec_uint ("background", "Background",
"The background of the text", 0, G_MAXUINT32, G_MAXUINT32, "The background of the text", 0, G_MAXUINT32, G_MAXUINT32,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_PARAM_NO_SERIALIZATION |
G_PARAM_STATIC_STRINGS));
/** /**
* GESTitleClip:xpos: * GESTitleClip:xpos:
@ -250,7 +251,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
g_object_class_install_property (object_class, PROP_XPOS, g_object_class_install_property (object_class, PROP_XPOS,
g_param_spec_double ("xpos", "Xpos", "The horizontal position", g_param_spec_double ("xpos", "Xpos", "The horizontal position",
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT 0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
| GES_PARAM_NO_SERIALIZATION)); | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
/** /**
* GESTitleClip:ypos: * GESTitleClip:ypos:
@ -265,7 +266,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
g_object_class_install_property (object_class, PROP_YPOS, g_object_class_install_property (object_class, PROP_YPOS,
g_param_spec_double ("ypos", "Ypos", "The vertical position", g_param_spec_double ("ypos", "Ypos", "The vertical position",
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT 0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
| GES_PARAM_NO_SERIALIZATION)); | GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
} }
static void static void

View File

@ -92,7 +92,7 @@ ges_track_element_asset_class_init (GESTrackElementAssetClass * klass)
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type", properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type",
"Track type", "The GESTrackType in which the object is", "Track type", "The GESTrackType in which the object is",
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN, GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_TRACK_TYPE, g_object_class_install_property (object_class, PROP_TRACK_TYPE,
properties[PROP_TRACK_TYPE]); properties[PROP_TRACK_TYPE]);

View File

@ -356,7 +356,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
*/ */
properties[PROP_ACTIVE] = properties[PROP_ACTIVE] =
g_param_spec_boolean ("active", "Active", "Use object in output", TRUE, g_param_spec_boolean ("active", "Active", "Use object in output", TRUE,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_ACTIVE, g_object_class_install_property (object_class, PROP_ACTIVE,
properties[PROP_ACTIVE]); properties[PROP_ACTIVE]);
@ -371,7 +371,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type", "Track Type", properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type", "Track Type",
"The track type of the object", GES_TYPE_TRACK_TYPE, "The track type of the object", GES_TYPE_TRACK_TYPE,
GES_TRACK_TYPE_UNKNOWN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GES_TRACK_TYPE_UNKNOWN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
G_PARAM_EXPLICIT_NOTIFY); G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_TRACK_TYPE, g_object_class_install_property (object_class, PROP_TRACK_TYPE,
properties[PROP_TRACK_TYPE]); properties[PROP_TRACK_TYPE]);
@ -382,7 +382,8 @@ ges_track_element_class_init (GESTrackElementClass * klass)
* belong to a track. * belong to a track.
*/ */
properties[PROP_TRACK] = g_param_spec_object ("track", "Track", properties[PROP_TRACK] = g_param_spec_object ("track", "Track",
"The track the object is in", GES_TYPE_TRACK, G_PARAM_READABLE); "The track the object is in", GES_TYPE_TRACK,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_TRACK, g_object_class_install_property (object_class, PROP_TRACK,
properties[PROP_TRACK]); properties[PROP_TRACK]);
@ -429,7 +430,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
properties[PROP_HAS_INTERNAL_SOURCE] = properties[PROP_HAS_INTERNAL_SOURCE] =
g_param_spec_boolean ("has-internal-source", "Has Internal Source", g_param_spec_boolean ("has-internal-source", "Has Internal Source",
"Whether the element has some internal source of stream data", FALSE, "Whether the element has some internal source of stream data", FALSE,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_HAS_INTERNAL_SOURCE, g_object_class_install_property (object_class, PROP_HAS_INTERNAL_SOURCE,
properties[PROP_HAS_INTERNAL_SOURCE]); properties[PROP_HAS_INTERNAL_SOURCE]);
@ -452,7 +453,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
g_param_spec_boolean ("auto-clamp-control-sources", g_param_spec_boolean ("auto-clamp-control-sources",
"Auto-Clamp Control Sources", "Whether to automatically update the " "Auto-Clamp Control Sources", "Whether to automatically update the "
"control sources with a change in in-point or out-point", TRUE, "control sources with a change in in-point or out-point", TRUE,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_AUTO_CLAMP_CONTROL_SOURCES, PROP_AUTO_CLAMP_CONTROL_SOURCES,
properties[PROP_AUTO_CLAMP_CONTROL_SOURCES]); properties[PROP_AUTO_CLAMP_CONTROL_SOURCES]);

View File

@ -734,7 +734,8 @@ ges_track_class_init (GESTrackClass * klass)
*/ */
properties[ARG_CAPS] = g_param_spec_boxed ("caps", "Caps", properties[ARG_CAPS] = g_param_spec_boxed ("caps", "Caps",
"Caps used to choose the output stream", "Caps used to choose the output stream",
GST_TYPE_CAPS, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); GST_TYPE_CAPS,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, ARG_CAPS, g_object_class_install_property (object_class, ARG_CAPS,
properties[ARG_CAPS]); properties[ARG_CAPS]);
@ -754,7 +755,7 @@ ges_track_class_init (GESTrackClass * klass)
properties[ARG_RESTRICTION_CAPS] = properties[ARG_RESTRICTION_CAPS] =
g_param_spec_boxed ("restriction-caps", "Restriction caps", g_param_spec_boxed ("restriction-caps", "Restriction caps",
"Caps used as a final filter on the output stream", GST_TYPE_CAPS, "Caps used as a final filter on the output stream", GST_TYPE_CAPS,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, ARG_RESTRICTION_CAPS, g_object_class_install_property (object_class, ARG_RESTRICTION_CAPS,
properties[ARG_RESTRICTION_CAPS]); properties[ARG_RESTRICTION_CAPS]);
@ -769,7 +770,7 @@ ges_track_class_init (GESTrackClass * klass)
* the underlying composition? */ * the underlying composition? */
properties[ARG_DURATION] = g_param_spec_uint64 ("duration", "Duration", properties[ARG_DURATION] = g_param_spec_uint64 ("duration", "Duration",
"The current duration of the track", 0, G_MAXUINT64, GST_SECOND, "The current duration of the track", 0, G_MAXUINT64, GST_SECOND,
G_PARAM_READABLE); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, ARG_DURATION, g_object_class_install_property (object_class, ARG_DURATION,
properties[ARG_DURATION]); properties[ARG_DURATION]);
@ -786,7 +787,7 @@ ges_track_class_init (GESTrackClass * klass)
properties[ARG_TYPE] = g_param_spec_flags ("track-type", "TrackType", properties[ARG_TYPE] = g_param_spec_flags ("track-type", "TrackType",
"Type of stream the track outputs", "Type of stream the track outputs",
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_CUSTOM, GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_CUSTOM,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, ARG_TYPE, g_object_class_install_property (object_class, ARG_TYPE,
properties[ARG_TYPE]); properties[ARG_TYPE]);
@ -801,7 +802,9 @@ ges_track_class_init (GESTrackClass * klass)
*/ */
properties[ARG_MIXING] = g_param_spec_boolean ("mixing", "Mixing", properties[ARG_MIXING] = g_param_spec_boolean ("mixing", "Mixing",
"Whether layer mixing is activated on the track or not", "Whether layer mixing is activated on the track or not",
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY); TRUE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY |
G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, ARG_MIXING, g_object_class_install_property (object_class, ARG_MIXING,
properties[ARG_MIXING]); properties[ARG_MIXING]);

View File

@ -284,7 +284,7 @@ ges_transition_clip_class_init (GESTransitionClipClass * klass)
"The SMPTE video wipe to use, or 0 for crossfade", "The SMPTE video wipe to use, or 0 for crossfade",
GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE, GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE, GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
GES_TIMELINE_ELEMENT_CLASS (klass)->lookup_child = _lookup_child; GES_TIMELINE_ELEMENT_CLASS (klass)->lookup_child = _lookup_child;
container_class->child_added = _child_added; container_class->child_added = _child_added;

View File

@ -287,7 +287,8 @@ ges_uri_clip_asset_class_init (GESUriClipAssetClass * klass)
*/ */
properties[PROP_DURATION] = properties[PROP_DURATION] =
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0, g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
G_MAXUINT64, GST_CLOCK_TIME_NONE, G_PARAM_READWRITE); G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_DURATION, g_object_class_install_property (object_class, PROP_DURATION,
properties[PROP_DURATION]); properties[PROP_DURATION]);
@ -300,7 +301,8 @@ ges_uri_clip_asset_class_init (GESUriClipAssetClass * klass)
*/ */
properties[PROP_IS_NESTED_TIMELINE] = properties[PROP_IS_NESTED_TIMELINE] =
g_param_spec_boolean ("is-nested-timeline", "Is nested timeline", g_param_spec_boolean ("is-nested-timeline", "Is nested timeline",
"Whether this is a nested timeline", FALSE, G_PARAM_READABLE); "Whether this is a nested timeline", FALSE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_IS_NESTED_TIMELINE, g_object_class_install_property (object_class, PROP_IS_NESTED_TIMELINE,
properties[PROP_IS_NESTED_TIMELINE]); properties[PROP_IS_NESTED_TIMELINE]);

View File

@ -157,7 +157,7 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_URI, g_object_class_install_property (object_class, PROP_URI,
g_param_spec_string ("uri", "URI", "uri of the resource", NULL, g_param_spec_string ("uri", "URI", "uri of the resource", NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
/** /**
* GESUriClip:mute: * GESUriClip:mute:
@ -166,7 +166,8 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_MUTE, g_object_class_install_property (object_class, PROP_MUTE,
g_param_spec_boolean ("mute", "Mute", "Mute audio track", g_param_spec_boolean ("mute", "Mute", "Mute audio track",
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GESUriClip:is-image: * GESUriClip:is-image:
@ -177,7 +178,8 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
g_object_class_install_property (object_class, PROP_IS_IMAGE, g_object_class_install_property (object_class, PROP_IS_IMAGE,
g_param_spec_boolean ("is-image", "Is still image", g_param_spec_boolean ("is-image", "Is still image",
"Whether the clip represents a still image or not", "Whether the clip represents a still image or not",
FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/* Redefine the supported formats property so the default value is UNKNOWN /* Redefine the supported formats property so the default value is UNKNOWN
* and not AUDIO | VIDEO */ * and not AUDIO | VIDEO */
@ -185,7 +187,7 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
g_param_spec_flags ("supported-formats", g_param_spec_flags ("supported-formats",
"Supported formats", "Formats supported by the file", "Supported formats", "Formats supported by the file",
GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN, GES_TYPE_TRACK_TYPE, GES_TRACK_TYPE_UNKNOWN,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
element_class->set_max_duration = uri_clip_set_max_duration; element_class->set_max_duration = uri_clip_set_max_duration;

View File

@ -158,7 +158,7 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
*/ */
properties[PROP_BORDER] = properties[PROP_BORDER] =
g_param_spec_uint ("border", "Border", "The border width", 0, g_param_spec_uint ("border", "Border", "The border width", 0,
G_MAXUINT, 0, G_PARAM_READWRITE); G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_BORDER, g_object_class_install_property (object_class, PROP_BORDER,
properties[PROP_BORDER]); properties[PROP_BORDER]);
@ -172,7 +172,8 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
properties[PROP_TRANSITION_TYPE] = properties[PROP_TRANSITION_TYPE] =
g_param_spec_enum ("transition-type", "Transition type", g_param_spec_enum ("transition-type", "Transition type",
"The type of the transition", GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE, "The type of the transition", GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE, G_PARAM_READWRITE); GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_TRANSITION_TYPE, g_object_class_install_property (object_class, PROP_TRANSITION_TYPE,
properties[PROP_TRANSITION_TYPE]); properties[PROP_TRANSITION_TYPE]);
@ -185,7 +186,8 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
*/ */
properties[PROP_INVERT] = properties[PROP_INVERT] =
g_param_spec_boolean ("invert", "Invert", g_param_spec_boolean ("invert", "Invert",
"Whether the transition is inverted", FALSE, G_PARAM_READWRITE); "Whether the transition is inverted", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_INVERT, g_object_class_install_property (object_class, PROP_INVERT,
properties[PROP_INVERT]); properties[PROP_INVERT]);

View File

@ -328,7 +328,8 @@ ges_video_uri_source_class_init (GESVideoUriSourceClass * klass)
*/ */
g_object_class_install_property (object_class, PROP_URI, g_object_class_install_property (object_class, PROP_URI,
g_param_spec_string ("uri", "URI", "uri of the resource", g_param_spec_string ("uri", "URI", "uri of the resource",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
src_class->select_pad = ges_uri_source_select_pad; src_class->select_pad = ges_uri_source_select_pad;

View File

@ -542,7 +542,7 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
*/ */
properties[PROP_ALPHA] = properties[PROP_ALPHA] =
g_param_spec_double ("alpha", "alpha", "alpha of the stream", 0.0, 1.0, g_param_spec_double ("alpha", "alpha", "alpha of the stream", 0.0, 1.0,
1.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE); 1.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS);
/** /**
* gstframepositioner:posx: * gstframepositioner:posx:
@ -552,7 +552,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_POSX] = properties[PROP_POSX] =
g_param_spec_int ("posx", "posx", "x position of the stream", g_param_spec_int ("posx", "posx", "x position of the stream",
MIN_PIXELS, MAX_PIXELS, 0, MIN_PIXELS, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gstframepositioner:fposx: * gstframepositioner:fposx:
@ -562,7 +563,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_FPOSX] = properties[PROP_FPOSX] =
g_param_spec_float ("fposx", "fposx", "x position of the stream in float", g_param_spec_float ("fposx", "fposx", "x position of the stream in float",
MIN_PIXELS, MAX_PIXELS, 0, MIN_PIXELS, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gstframepositioner:posy: * gstframepositioner:posy:
@ -572,7 +574,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_POSY] = properties[PROP_POSY] =
g_param_spec_int ("posy", "posy", "y position of the stream", g_param_spec_int ("posy", "posy", "y position of the stream",
MIN_PIXELS, MAX_PIXELS, 0, MIN_PIXELS, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
@ -583,7 +586,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_FPOSY] = properties[PROP_FPOSY] =
g_param_spec_float ("fposy", "fposy", "y position of the stream in float", g_param_spec_float ("fposy", "fposy", "y position of the stream in float",
MIN_PIXELS, MAX_PIXELS, 0, MIN_PIXELS, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gstframepositioner:zorder: * gstframepositioner:zorder:
@ -592,7 +596,7 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
*/ */
properties[PROP_ZORDER] = properties[PROP_ZORDER] =
g_param_spec_uint ("zorder", "zorder", "z order of the stream", 0, g_param_spec_uint ("zorder", "zorder", "z order of the stream", 0,
G_MAXUINT, 0, G_PARAM_READWRITE); G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
/** /**
* gesframepositioner:width: * gesframepositioner:width:
@ -603,7 +607,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_WIDTH] = properties[PROP_WIDTH] =
g_param_spec_int ("width", "width", "width of the source", 0, g_param_spec_int ("width", "width", "width of the source", 0,
MAX_PIXELS, 0, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gesframepositioner:fwidth: * gesframepositioner:fwidth:
@ -614,7 +619,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_FWIDTH] = properties[PROP_FWIDTH] =
g_param_spec_float ("fwidth", "fwidth", "width of the source in float", 0, g_param_spec_float ("fwidth", "fwidth", "width of the source in float", 0,
MAX_PIXELS, 0, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gesframepositioner:height: * gesframepositioner:height:
@ -625,7 +631,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_HEIGHT] = properties[PROP_HEIGHT] =
g_param_spec_int ("height", "height", "height of the source", 0, g_param_spec_int ("height", "height", "height of the source", 0,
MAX_PIXELS, 0, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gesframepositioner:fheight: * gesframepositioner:fheight:
@ -636,7 +643,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
properties[PROP_FHEIGHT] = properties[PROP_FHEIGHT] =
g_param_spec_float ("fheight", "fheight", "height of the source in float", g_param_spec_float ("fheight", "fheight", "height of the source in float",
0, MAX_PIXELS, 0, 0, MAX_PIXELS, 0,
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION); G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_LAX_VALIDATION |
G_PARAM_STATIC_STRINGS);
/** /**
* gesframepositioner:operator: * gesframepositioner:operator:

View File

@ -195,7 +195,7 @@ nle_object_class_init (NleObjectClass * klass)
*/ */
properties[PROP_START] = g_param_spec_uint64 ("start", "Start", properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
"The start position relative to the parent (in nanoseconds)", "The start position relative to the parent (in nanoseconds)",
0, G_MAXUINT64, 0, G_PARAM_READWRITE); 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_START, g_object_class_install_property (gobject_class, PROP_START,
properties[PROP_START]); properties[PROP_START]);
@ -206,7 +206,7 @@ nle_object_class_init (NleObjectClass * klass)
*/ */
properties[PROP_DURATION] = g_param_spec_int64 ("duration", "Duration", properties[PROP_DURATION] = g_param_spec_int64 ("duration", "Duration",
"Outgoing duration (in nanoseconds)", 0, G_MAXINT64, 0, "Outgoing duration (in nanoseconds)", 0, G_MAXINT64, 0,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_DURATION, g_object_class_install_property (gobject_class, PROP_DURATION,
properties[PROP_DURATION]); properties[PROP_DURATION]);
@ -219,7 +219,7 @@ nle_object_class_init (NleObjectClass * klass)
*/ */
properties[PROP_STOP] = g_param_spec_uint64 ("stop", "Stop", properties[PROP_STOP] = g_param_spec_uint64 ("stop", "Stop",
"The stop position relative to the parent (in nanoseconds)", "The stop position relative to the parent (in nanoseconds)",
0, G_MAXUINT64, 0, G_PARAM_READABLE); 0, G_MAXUINT64, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_STOP, g_object_class_install_property (gobject_class, PROP_STOP,
properties[PROP_STOP]); properties[PROP_STOP]);
@ -234,7 +234,7 @@ nle_object_class_init (NleObjectClass * klass)
properties[PROP_INPOINT] = properties[PROP_INPOINT] =
g_param_spec_uint64 ("inpoint", "Media start", g_param_spec_uint64 ("inpoint", "Media start",
"The media start position (in nanoseconds)", 0, G_MAXUINT64, "The media start position (in nanoseconds)", 0, G_MAXUINT64,
GST_CLOCK_TIME_NONE, G_PARAM_READWRITE); GST_CLOCK_TIME_NONE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_INPOINT, g_object_class_install_property (gobject_class, PROP_INPOINT,
properties[PROP_INPOINT]); properties[PROP_INPOINT]);
@ -254,7 +254,7 @@ nle_object_class_init (NleObjectClass * klass)
*/ */
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority", properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
"The priority of the object (0 = highest priority)", 0, G_MAXUINT, 0, "The priority of the object (0 = highest priority)", 0, G_MAXUINT, 0,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_PRIORITY, g_object_class_install_property (gobject_class, PROP_PRIORITY,
properties[PROP_PRIORITY]); properties[PROP_PRIORITY]);
@ -266,7 +266,8 @@ nle_object_class_init (NleObjectClass * klass)
* Set to #TRUE to temporarily disable this object in a #NleComposition. * Set to #TRUE to temporarily disable this object in a #NleComposition.
*/ */
properties[PROP_ACTIVE] = g_param_spec_boolean ("active", "Active", properties[PROP_ACTIVE] = g_param_spec_boolean ("active", "Active",
"Use this object in the NleComposition", TRUE, G_PARAM_READWRITE); "Use this object in the NleComposition", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_ACTIVE, g_object_class_install_property (gobject_class, PROP_ACTIVE,
properties[PROP_ACTIVE]); properties[PROP_ACTIVE]);
@ -282,7 +283,7 @@ nle_object_class_init (NleObjectClass * klass)
*/ */
properties[PROP_CAPS] = g_param_spec_boxed ("caps", "Caps", properties[PROP_CAPS] = g_param_spec_boxed ("caps", "Caps",
"Caps used to filter/choose the output stream", "Caps used to filter/choose the output stream",
GST_TYPE_CAPS, G_PARAM_READWRITE); GST_TYPE_CAPS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_CAPS, g_object_class_install_property (gobject_class, PROP_CAPS,
properties[PROP_CAPS]); properties[PROP_CAPS]);
@ -295,7 +296,7 @@ nle_object_class_init (NleObjectClass * klass)
properties[PROP_EXPANDABLE] = properties[PROP_EXPANDABLE] =
g_param_spec_boolean ("expandable", "Expandable", g_param_spec_boolean ("expandable", "Expandable",
"Expand to the full duration of the container composition", FALSE, "Expand to the full duration of the container composition", FALSE,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_EXPANDABLE, g_object_class_install_property (gobject_class, PROP_EXPANDABLE,
properties[PROP_EXPANDABLE]); properties[PROP_EXPANDABLE]);
@ -314,7 +315,7 @@ nle_object_class_init (NleObjectClass * klass)
properties[PROP_MEDIA_DURATION_FACTOR] = properties[PROP_MEDIA_DURATION_FACTOR] =
g_param_spec_double ("media-duration-factor", "Media duration factor", g_param_spec_double ("media-duration-factor", "Media duration factor",
"The relative rate caused by this object", 0.01, G_MAXDOUBLE, "The relative rate caused by this object", 0.01, G_MAXDOUBLE,
1.0, G_PARAM_READWRITE | G_PARAM_DEPRECATED); 1.0, G_PARAM_READWRITE | G_PARAM_DEPRECATED | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_MEDIA_DURATION_FACTOR, g_object_class_install_property (gobject_class, PROP_MEDIA_DURATION_FACTOR,
properties[PROP_MEDIA_DURATION_FACTOR]); properties[PROP_MEDIA_DURATION_FACTOR]);

View File

@ -176,7 +176,7 @@ nle_operation_class_init (NleOperationClass * klass)
g_object_class_install_property (gobject_class, ARG_SINKS, g_object_class_install_property (gobject_class, ARG_SINKS,
g_param_spec_int ("sinks", "Sinks", g_param_spec_int ("sinks", "Sinks",
"Number of input sinks (-1 for automatic handling)", -1, G_MAXINT, -1, "Number of input sinks (-1 for automatic handling)", -1, G_MAXINT, -1,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* NleOperation:input-priority-changed: * NleOperation:input-priority-changed:

View File

@ -168,7 +168,7 @@ nle_source_class_init (NleSourceClass * klass)
g_object_class_install_property (gobject_class, PROP_REVERSE, g_object_class_install_property (gobject_class, PROP_REVERSE,
g_param_spec_boolean ("reverse", "Reverse", g_param_spec_boolean ("reverse", "Reverse",
"Whether to playback the source reverse or not", FALSE, "Whether to playback the source reverse or not", FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (gstelement_class, "GNonLin Source", gst_element_class_set_static_metadata (gstelement_class, "GNonLin Source",
"Filter/Editor", "Filter/Editor",

View File

@ -85,7 +85,8 @@ nle_urisource_class_init (NleURISourceClass * klass)
g_object_class_install_property (gobject_class, ARG_URI, g_object_class_install_property (gobject_class, ARG_URI,
g_param_spec_string ("uri", "Uri", g_param_spec_string ("uri", "Uri",
"Uri of the file to use", NULL, G_PARAM_READWRITE)); "Uri of the file to use", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_add_static_pad_template (gstelement_class, gst_element_class_add_static_pad_template (gstelement_class,
&nle_urisource_src_template); &nle_urisource_src_template);

View File

@ -161,7 +161,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
g_param_spec_boolean ("serialize-iv", "Serialize IV", g_param_spec_boolean ("serialize-iv", "Serialize IV",
"Read initialization vector from first 16 bytes of first buffer", "Read initialization vector from first 16 bytes of first buffer",
GST_AES_DEFAULT_SERIALIZE_IV, GST_AES_DEFAULT_SERIALIZE_IV,
G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY)); G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
G_PARAM_STATIC_STRINGS));
/** /**
* GstAesDec:per-buffer-padding * GstAesDec:per-buffer-padding
@ -177,7 +178,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
"If true, pad each buffer using PKCS7 padding scheme. Otherwise, only" "If true, pad each buffer using PKCS7 padding scheme. Otherwise, only"
"pad final buffer", "pad final buffer",
GST_AES_PER_BUFFER_PADDING_DEFAULT, GST_AES_PER_BUFFER_PADDING_DEFAULT,
G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY)); G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
G_PARAM_STATIC_STRINGS));
/** /**
* GstAesDec:key * GstAesDec:key
@ -192,7 +194,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
"the number of bits in the key length : " "the number of bits in the key length : "
"16 bytes for AES 128 and 32 bytes for AES 256", "16 bytes for AES 128 and 32 bytes for AES 256",
(gchar *) GST_AES_DEFAULT_KEY, (gchar *) GST_AES_DEFAULT_KEY,
G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY)); G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
G_PARAM_STATIC_STRINGS));
/** /**
* GstAesDec:iv * GstAesDec:iv
* *
@ -205,7 +208,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
"AES encryption initialization vector (in hexadecimal). " "AES encryption initialization vector (in hexadecimal). "
"Length must equal AES block length (16 bytes)", "Length must equal AES block length (16 bytes)",
(gchar *) GST_AES_DEFAULT_IV, (gchar *) GST_AES_DEFAULT_IV,
G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY)); G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, gst_element_class_set_details_simple (gstelement_class,
"aesdec", "aesdec",

View File

@ -92,13 +92,14 @@ gst_chromaprint_class_init (GstChromaprintClass * klass)
g_object_class_install_property (gobject_class, PROP_FINGERPRINT, g_object_class_install_property (gobject_class, PROP_FINGERPRINT,
g_param_spec_string ("fingerprint", "Resulting fingerprint", g_param_spec_string ("fingerprint", "Resulting fingerprint",
"Resulting fingerprint", NULL, G_PARAM_READABLE)); "Resulting fingerprint", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_MAX_DURATION, g_object_class_install_property (gobject_class, PROP_MAX_DURATION,
g_param_spec_uint ("duration", "Duration limit", g_param_spec_uint ("duration", "Duration limit",
"Number of seconds of audio to use for fingerprinting", "Number of seconds of audio to use for fingerprinting",
0, G_MAXUINT, DEFAULT_MAX_DURATION, 0, G_MAXUINT, DEFAULT_MAX_DURATION,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_chromaprint_finalize); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_chromaprint_finalize);

View File

@ -476,13 +476,15 @@ gst_iqa_class_init (GstIqaClass * klass)
#ifdef HAVE_DSSIM #ifdef HAVE_DSSIM
g_object_class_install_property (gobject_class, PROP_DO_SSIM, g_object_class_install_property (gobject_class, PROP_DO_SSIM,
g_param_spec_boolean ("do-dssim", "do-dssim", g_param_spec_boolean ("do-dssim", "do-dssim",
"Run structural similarity checks", FALSE, G_PARAM_READWRITE)); "Run structural similarity checks", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SSIM_ERROR_THRESHOLD, g_object_class_install_property (gobject_class, PROP_SSIM_ERROR_THRESHOLD,
g_param_spec_double ("dssim-error-threshold", "dssim error threshold", g_param_spec_double ("dssim-error-threshold", "dssim error threshold",
"dssim value over which the element will post an error message on the bus." "dssim value over which the element will post an error message on the bus."
" A value < 0.0 means 'disabled'.", " A value < 0.0 means 'disabled'.",
-1.0, G_MAXDOUBLE, DEFAULT_DSSIM_ERROR_THRESHOLD, G_PARAM_READWRITE)); -1.0, G_MAXDOUBLE, DEFAULT_DSSIM_ERROR_THRESHOLD,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#endif #endif
/** /**
@ -495,7 +497,7 @@ gst_iqa_class_init (GstIqaClass * klass)
g_object_class_install_property (gobject_class, PROP_MODE, g_object_class_install_property (gobject_class, PROP_MODE,
g_param_spec_flags ("mode", "IQA mode", g_param_spec_flags ("mode", "IQA mode",
"Controls the frame comparison mode.", GST_TYPE_IQA_MODE, "Controls the frame comparison mode.", GST_TYPE_IQA_MODE,
0, G_PARAM_READWRITE)); 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_type_mark_as_plugin_api (GST_TYPE_IQA_MODE, 0); gst_type_mark_as_plugin_api (GST_TYPE_IQA_MODE, 0);

View File

@ -209,12 +209,13 @@ gst_openal_sink_class_init (GstOpenALSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_DEVICE_NAME, g_object_class_install_property (gobject_class, PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "Device name", g_param_spec_string ("device-name", "Device name",
"Human-readable name of the opened device", "", G_PARAM_READABLE)); "Human-readable name of the opened device", "",
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_DEVICE, g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device", g_param_spec_string ("device", "Device",
"Human-readable name of the device", OPENAL_DEFAULT_DEVICE, "Human-readable name of the device", OPENAL_DEFAULT_DEVICE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_USER_DEVICE, g_object_class_install_property (gobject_class, PROP_USER_DEVICE,
g_param_spec_pointer ("user-device", "ALCdevice", "User device", g_param_spec_pointer ("user-device", "ALCdevice", "User device",
@ -226,7 +227,7 @@ gst_openal_sink_class_init (GstOpenALSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_USER_SOURCE, g_object_class_install_property (gobject_class, PROP_USER_SOURCE,
g_param_spec_uint ("user-source", "ALsource", "User source", 0, UINT_MAX, g_param_spec_uint ("user-source", "ALsource", "User source", 0, UINT_MAX,
0, G_PARAM_READWRITE)); 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (gstelement_class, "OpenAL Audio Sink", gst_element_class_set_static_metadata (gstelement_class, "OpenAL Audio Sink",
"Sink/Audio", "Output audio through OpenAL", "Sink/Audio", "Output audio through OpenAL",

View File

@ -184,12 +184,12 @@ gst_openal_src_class_init (GstOpenalSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_DEVICE, g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "ALCdevice", g_param_spec_string ("device", "ALCdevice",
"User device, default device if NULL", OPENAL_DEFAULT_DEVICE, "User device, default device if NULL", OPENAL_DEFAULT_DEVICE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_DEVICE_NAME, g_object_class_install_property (gobject_class, PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "Device name", g_param_spec_string ("device-name", "Device name",
"Human-readable name of the device", OPENAL_DEFAULT_DEVICE_NAME, "Human-readable name of the device", OPENAL_DEFAULT_DEVICE_NAME,
G_PARAM_READABLE)); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (gstelement_class, gst_element_class_set_static_metadata (gstelement_class,
"OpenAL Audio Source", "Source/Audio", "Input audio through OpenAL", "OpenAL Audio Source", "Source/Audio", "Input audio through OpenAL",

View File

@ -211,7 +211,7 @@ gst_cvtracker_class_init (GstCVTrackerClass * klass)
g_object_class_install_property (gobject_class, PROP_DRAW, g_object_class_install_property (gobject_class, PROP_DRAW,
g_param_spec_boolean ("draw-rect", "Display", g_param_spec_boolean ("draw-rect", "Display",
"Draw rectangle around tracked object", "Draw rectangle around tracked object",
TRUE, (GParamFlags) G_PARAM_READWRITE)); TRUE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"cvtracker", "cvtracker",

View File

@ -201,7 +201,7 @@ gst_handdetect_class_init (GstHanddetectClass * klass)
g_param_spec_boolean ("display", g_param_spec_boolean ("display",
"Display", "Display",
"Whether the detected hands are highlighted in output frame", "Whether the detected hands are highlighted in output frame",
TRUE, (GParamFlags) G_PARAM_READWRITE) TRUE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))
); );
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_PROFILE_FIST, PROP_PROFILE_FIST,

View File

@ -221,7 +221,7 @@ gst_segmentation_class_init (GstSegmentationClass * klass)
g_object_class_install_property (gobject_class, PROP_LEARNING_RATE, g_object_class_install_property (gobject_class, PROP_LEARNING_RATE,
g_param_spec_float ("learning-rate", "learning-rate", g_param_spec_float ("learning-rate", "learning-rate",
"Speed with which a motionless foreground pixel would become background (inverse of number of frames)", "Speed with which a motionless foreground pixel would become background (inverse of number of frames)",
0, 1, DEFAULT_LEARNING_RATE, (GParamFlags) (G_PARAM_READWRITE))); 0, 1, DEFAULT_LEARNING_RATE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"Foreground/background video sequence segmentation", "Foreground/background video sequence segmentation",

View File

@ -329,12 +329,12 @@ gst_base_qr_overlay_class_init (GstBaseQROverlayClass * klass)
g_object_class_install_property (gobject_class, PROP_X_AXIS, g_object_class_install_property (gobject_class, PROP_X_AXIS,
g_param_spec_float ("x", "X position (in percent of the width)", g_param_spec_float ("x", "X position (in percent of the width)",
"X position (in percent of the width)", 0.0, 100.0, DEFAULT_PROP_X, "X position (in percent of the width)", 0.0, 100.0, DEFAULT_PROP_X,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_Y_AXIS, g_object_class_install_property (gobject_class, PROP_Y_AXIS,
g_param_spec_float ("y", "Y position (in percent of the height)", g_param_spec_float ("y", "Y position (in percent of the height)",
"Y position (in percent of the height)", 0.0, 100.0, DEFAULT_PROP_Y, "Y position (in percent of the height)", 0.0, 100.0, DEFAULT_PROP_Y,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstBaseQROverlay:size: * GstBaseQROverlay:size:
@ -347,7 +347,8 @@ gst_base_qr_overlay_class_init (GstBaseQROverlayClass * klass)
g_param_spec_float ("size", g_param_spec_float ("size",
"Size of the square (in percent of the smallest of width and height)", "Size of the square (in percent of the smallest of width and height)",
"Size of the square (in percent of the smallest of width and height)", "Size of the square (in percent of the smallest of width and height)",
0.0, 100.0, DEFAULT_PROP_SIZE, G_PARAM_READWRITE)); 0.0, 100.0, DEFAULT_PROP_SIZE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_QRCODE_ERROR_CORRECTION, g_object_class_install_property (gobject_class, PROP_QRCODE_ERROR_CORRECTION,
g_param_spec_enum ("qrcode-error-correction", "qrcode-error-correction", g_param_spec_enum ("qrcode-error-correction", "qrcode-error-correction",

View File

@ -130,25 +130,29 @@ gst_debug_qr_overlay_class_init (GstDebugQROverlayClass * klass)
g_param_spec_int64 ("extra-data-interval-buffers", g_param_spec_int64 ("extra-data-interval-buffers",
"extra-data-interval-buffers", "extra-data-interval-buffers",
"Extra data append into the Qrcode at the first buffer of each " "Extra data append into the Qrcode at the first buffer of each "
" interval", 0, G_MAXINT64, 60, G_PARAM_READWRITE)); " interval", 0, G_MAXINT64, 60,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DATA_SPAN_BUFFERS, g_param_spec_int64 ("extra-data-span-buffers", PROP_DATA_SPAN_BUFFERS, g_param_spec_int64 ("extra-data-span-buffers",
"extra-data-span-buffers", "extra-data-span-buffers",
"Numbers of consecutive buffers that the extra data will be inserted " "Numbers of consecutive buffers that the extra data will be inserted "
" (counting the first buffer)", 0, G_MAXINT64, 1, G_PARAM_READWRITE)); " (counting the first buffer)", 0, G_MAXINT64, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_EXTRA_DATA_NAME, g_param_spec_string ("extra-data-name", PROP_EXTRA_DATA_NAME, g_param_spec_string ("extra-data-name",
"Extra data name", "Extra data name",
"Json key name for extra append data", NULL, G_PARAM_READWRITE)); "Json key name for extra append data", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_EXTRA_DATA_ARRAY, g_param_spec_string ("extra-data-array", PROP_EXTRA_DATA_ARRAY, g_param_spec_string ("extra-data-array",
"Extra data array", "Extra data array",
"List of comma separated values that the extra data value will be " "List of comma separated values that the extra data value will be "
" cycled from at each interval, example array structure :" " cycled from at each interval, example array structure :"
" \"240,480,720,960,1200,1440,1680,1920\"", NULL, G_PARAM_READWRITE)); " \"240,480,720,960,1200,1440,1680,1920\"", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_details_simple (gstelement_class, gst_element_class_set_details_simple (gstelement_class,

View File

@ -106,7 +106,8 @@ gst_sf_src_class_init (GstSFSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_LOCATION, g_object_class_install_property (gobject_class, PROP_LOCATION,
g_param_spec_string ("location", "File Location", g_param_spec_string ("location", "File Location",
"Location of the file to read", NULL, G_PARAM_READWRITE)); "Location of the file to read", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_sf_src_finalize); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_sf_src_finalize);

View File

@ -125,27 +125,29 @@ gst_tone_generate_src_class_init (GstToneGenerateSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_ON_TIME, g_object_class_install_property (gobject_class, PROP_ON_TIME,
g_param_spec_int ("on-time", "Signal ON time first period", g_param_spec_int ("on-time", "Signal ON time first period",
"Time of the first period when the tone signal is present", 1, "Time of the first period when the tone signal is present", 1,
G_MAXINT, DEFAULT_ON_TIME, G_PARAM_READWRITE)); G_MAXINT, DEFAULT_ON_TIME,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_OFF_TIME, g_object_class_install_property (gobject_class, PROP_OFF_TIME,
g_param_spec_int ("off-time", "Signal OFF time first period ", g_param_spec_int ("off-time", "Signal OFF time first period ",
"Time of the first period when the tone signal is off", 0, G_MAXINT, "Time of the first period when the tone signal is off", 0, G_MAXINT,
DEFAULT_OFF_TIME, G_PARAM_READWRITE)); DEFAULT_OFF_TIME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_ON_TIME2, g_object_class_install_property (gobject_class, PROP_ON_TIME2,
g_param_spec_int ("on-time2", "Signal ON time second period", g_param_spec_int ("on-time2", "Signal ON time second period",
"Time of the second period when the tone signal is present", 1, "Time of the second period when the tone signal is present", 1,
G_MAXINT, DEFAULT_ON_TIME, G_PARAM_READWRITE)); G_MAXINT, DEFAULT_ON_TIME,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_OFF_TIME2, g_object_class_install_property (gobject_class, PROP_OFF_TIME2,
g_param_spec_int ("off-time2", "Signal OFF time first period ", g_param_spec_int ("off-time2", "Signal OFF time first period ",
"Time of the second period when the tone signal is off", 0, G_MAXINT, "Time of the second period when the tone signal is off", 0, G_MAXINT,
DEFAULT_ON_TIME, G_PARAM_READWRITE)); DEFAULT_ON_TIME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_REPEAT, g_object_class_install_property (gobject_class, PROP_REPEAT,
g_param_spec_boolean ("repeat", "Repeat the specified tone period ", g_param_spec_boolean ("repeat", "Repeat the specified tone period ",
"Whether to repeat specified tone indefinitely", DEFAULT_REPEAT, "Whether to repeat specified tone indefinitely", DEFAULT_REPEAT,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_add_static_pad_template (gstelement_class, gst_element_class_add_static_pad_template (gstelement_class,
&gst_tone_generate_src_src_template); &gst_tone_generate_src_src_template);

View File

@ -522,7 +522,8 @@ gst_x265_enc_class_init (GstX265EncClass * klass)
g_object_class_install_property (gobject_class, PROP_KEY_INT_MAX, g_object_class_install_property (gobject_class, PROP_KEY_INT_MAX,
g_param_spec_int ("key-int-max", "Max key frame", g_param_spec_int ("key-int-max", "Max key frame",
"Maximal distance between two key-frames (0 = x265 default / 250)", "Maximal distance between two key-frames (0 = x265 default / 250)",
0, G_MAXINT32, PROP_KEY_INT_MAX_DEFAULT, G_PARAM_READWRITE)); 0, G_MAXINT32, PROP_KEY_INT_MAX_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"x265enc", "Codec/Encoder/Video", "H265 Encoder", "x265enc", "Codec/Encoder/Video", "H265 Encoder",

View File

@ -585,7 +585,7 @@ gst_source_buffer_class_init (GstSourceBufferClass * klass)
"Updating", "Updating",
"Whether the current Source Buffer is still" "Whether the current Source Buffer is still"
" asynchronously processing previously issued commands", " asynchronously processing previously issued commands",
FALSE, G_PARAM_READABLE); FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (oclass, N_PROPS, properties); g_object_class_install_properties (oclass, N_PROPS, properties);

View File

@ -321,7 +321,7 @@ gst_transcoder_signal_adapter_class_init (GstTranscoderSignalAdapterClass *
param_specs[PROP_TRANSCODER] = param_specs[PROP_TRANSCODER] =
g_param_spec_object ("transcoder", "Transcoder", g_param_spec_object ("transcoder", "Transcoder",
"The GstTranscoder @self is tracking", GST_TYPE_TRANSCODER, "The GstTranscoder @self is tracking", GST_TYPE_TRANSCODER,
G_PARAM_READABLE); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (gobject_class, PROP_LAST, param_specs); g_object_class_install_properties (gobject_class, PROP_LAST, param_specs);
} }

View File

@ -124,20 +124,22 @@ gst_fragment_class_init (GstFragmentClass * klass)
g_object_class_install_property (gobject_class, PROP_INDEX, g_object_class_install_property (gobject_class, PROP_INDEX,
g_param_spec_uint ("index", "Index", "Index of the fragment", 0, g_param_spec_uint ("index", "Index", "Index of the fragment", 0,
G_MAXUINT, 0, G_PARAM_READABLE)); G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_NAME, g_object_class_install_property (gobject_class, PROP_NAME,
g_param_spec_string ("name", "Name", g_param_spec_string ("name", "Name",
"Name of the fragment (eg:fragment-12.ts)", NULL, G_PARAM_READABLE)); "Name of the fragment (eg:fragment-12.ts)", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_DISCONTINOUS, g_object_class_install_property (gobject_class, PROP_DISCONTINOUS,
g_param_spec_boolean ("discontinuous", "Discontinuous", g_param_spec_boolean ("discontinuous", "Discontinuous",
"Whether this fragment has a discontinuity or not", "Whether this fragment has a discontinuity or not",
FALSE, G_PARAM_READABLE)); FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_DURATION, g_object_class_install_property (gobject_class, PROP_DURATION,
g_param_spec_uint64 ("duration", "Fragment duration", g_param_spec_uint64 ("duration", "Fragment duration",
"Duration of the fragment", 0, G_MAXUINT64, 0, G_PARAM_READABLE)); "Duration of the fragment", 0, G_MAXUINT64, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_BUFFER, g_object_class_install_property (gobject_class, PROP_BUFFER,
g_param_spec_boxed ("buffer", "Buffer", g_param_spec_boxed ("buffer", "Buffer",

View File

@ -106,12 +106,12 @@ gst_accurip_class_init (GstAccuripClass * klass)
g_object_class_install_property (gobject_class, PROP_FIRST_TRACK, g_object_class_install_property (gobject_class, PROP_FIRST_TRACK,
g_param_spec_boolean ("first-track", "First track", g_param_spec_boolean ("first-track", "First track",
"Indicate to the CRC calculation algorithm that this is the first track of a set", "Indicate to the CRC calculation algorithm that this is the first track of a set",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_LAST_TRACK, g_object_class_install_property (gobject_class, PROP_LAST_TRACK,
g_param_spec_boolean ("last-track", "Last track", g_param_spec_boolean ("last-track", "Last track",
"Indicate to the CRC calculation algorithm that this is the last track of a set", "Indicate to the CRC calculation algorithm that this is the last track of a set",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_accurip_finalize); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_accurip_finalize);

View File

@ -177,7 +177,7 @@ gst_proxy_src_class_init (GstProxySrcClass * klass)
g_object_class_install_property (gobject_class, PROP_PROXYSINK, g_object_class_install_property (gobject_class, PROP_PROXYSINK,
g_param_spec_object ("proxysink", "Proxysink", "Matching proxysink", g_param_spec_object ("proxysink", "Proxysink", "Matching proxysink",
GST_TYPE_PROXY_SINK, G_PARAM_READWRITE)); GST_TYPE_PROXY_SINK, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gst_proxy_src_change_state; gstelement_class->change_state = gst_proxy_src_change_state;
gstelement_class->send_event = gst_proxy_src_send_event; gstelement_class->send_event = gst_proxy_src_send_event;

View File

@ -140,36 +140,39 @@ gst_remove_silence_class_init (GstRemoveSilenceClass * klass)
g_object_class_install_property (gobject_class, PROP_REMOVE, g_object_class_install_property (gobject_class, PROP_REMOVE,
g_param_spec_boolean ("remove", "Remove", g_param_spec_boolean ("remove", "Remove",
"Set to true to remove silence from the stream, false otherwise", "Set to true to remove silence from the stream, false otherwise",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_HYSTERESIS, g_object_class_install_property (gobject_class, PROP_HYSTERESIS,
g_param_spec_uint64 ("hysteresis", g_param_spec_uint64 ("hysteresis",
"Hysteresis", "Hysteresis",
"Set the hysteresis (on samples) used on the internal VAD", "Set the hysteresis (on samples) used on the internal VAD",
1, G_MAXUINT64, DEFAULT_VAD_HYSTERESIS, G_PARAM_READWRITE)); 1, G_MAXUINT64, DEFAULT_VAD_HYSTERESIS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_THRESHOLD, g_object_class_install_property (gobject_class, PROP_THRESHOLD,
g_param_spec_int ("threshold", g_param_spec_int ("threshold",
"Threshold", "Threshold",
"Set the silence threshold used on the internal VAD in dB", "Set the silence threshold used on the internal VAD in dB",
-70, 70, DEFAULT_VAD_THRESHOLD, G_PARAM_READWRITE)); -70, 70, DEFAULT_VAD_THRESHOLD,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SQUASH, g_object_class_install_property (gobject_class, PROP_SQUASH,
g_param_spec_boolean ("squash", "Squash", g_param_spec_boolean ("squash", "Squash",
"Set to true to retimestamp buffers when silence is removed and so avoid timestamp gap", "Set to true to retimestamp buffers when silence is removed and so avoid timestamp gap",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SILENT, g_object_class_install_property (gobject_class, PROP_SILENT,
g_param_spec_boolean ("silent", "Silent", g_param_spec_boolean ("silent", "Silent",
"Disable/enable bus message notifications for silence detected/finished", "Disable/enable bus message notifications for silence detected/finished",
TRUE, G_PARAM_READWRITE)); TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_MINIMUM_SILENCE_BUFFERS, g_object_class_install_property (gobject_class, PROP_MINIMUM_SILENCE_BUFFERS,
g_param_spec_uint ("minimum-silence-buffers", "Minimum silence buffers", g_param_spec_uint ("minimum-silence-buffers", "Minimum silence buffers",
"Define the minimum number of consecutive silence buffers before " "Define the minimum number of consecutive silence buffers before "
"removing silence, 0 means disabled. This will not introduce latency", "removing silence, 0 means disabled. This will not introduce latency",
MINIMUM_SILENCE_BUFFERS_MIN, MINIMUM_SILENCE_BUFFERS_MAX, MINIMUM_SILENCE_BUFFERS_MIN, MINIMUM_SILENCE_BUFFERS_MAX,
MINIMUM_SILENCE_BUFFERS_DEF, G_PARAM_READWRITE)); MINIMUM_SILENCE_BUFFERS_DEF,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_MINIMUM_SILENCE_TIME, g_object_class_install_property (gobject_class, PROP_MINIMUM_SILENCE_TIME,
g_param_spec_uint64 ("minimum_silence_time", g_param_spec_uint64 ("minimum_silence_time",

View File

@ -300,16 +300,18 @@ gst_a2dp_sink_class_init (GstA2dpSinkClass * klass)
g_object_class_install_property (object_class, PROP_DEVICE, g_object_class_install_property (object_class, PROP_DEVICE,
g_param_spec_string ("device", "Device", g_param_spec_string ("device", "Device",
"Bluetooth remote device address", NULL, G_PARAM_READWRITE)); "Bluetooth remote device address", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_AUTOCONNECT, g_object_class_install_property (object_class, PROP_AUTOCONNECT,
g_param_spec_boolean ("auto-connect", "Auto-connect", g_param_spec_boolean ("auto-connect", "Auto-connect",
"Automatically attempt to connect to device", "Automatically attempt to connect to device",
DEFAULT_AUTOCONNECT, G_PARAM_READWRITE)); DEFAULT_AUTOCONNECT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_TRANSPORT, g_object_class_install_property (object_class, PROP_TRANSPORT,
g_param_spec_string ("transport", "Transport", g_param_spec_string ("transport", "Transport",
"Use configured transport", NULL, G_PARAM_READWRITE)); "Use configured transport", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (element_class, "Bluetooth A2DP sink", gst_element_class_set_static_metadata (element_class, "Bluetooth A2DP sink",
"Sink/Audio", "Plays audio to an A2DP device", "Sink/Audio", "Plays audio to an A2DP device",

View File

@ -380,17 +380,20 @@ gst_avdtp_sink_class_init (GstAvdtpSinkClass * klass)
g_object_class_install_property (object_class, PROP_DEVICE, g_object_class_install_property (object_class, PROP_DEVICE,
g_param_spec_string ("device", "Device", g_param_spec_string ("device", "Device",
"Bluetooth remote device address", NULL, G_PARAM_READWRITE)); "Bluetooth remote device address", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_AUTOCONNECT, g_object_class_install_property (object_class, PROP_AUTOCONNECT,
g_param_spec_boolean ("auto-connect", g_param_spec_boolean ("auto-connect",
"Auto-connect", "Auto-connect",
"Automatically attempt to connect " "Automatically attempt to connect "
"to device", DEFAULT_AUTOCONNECT, G_PARAM_READWRITE)); "to device", DEFAULT_AUTOCONNECT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class, PROP_TRANSPORT, g_object_class_install_property (object_class, PROP_TRANSPORT,
g_param_spec_string ("transport", g_param_spec_string ("transport",
"Transport", "Use configured transport", NULL, G_PARAM_READWRITE)); "Transport", "Use configured transport", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
GST_DEBUG_CATEGORY_INIT (avdtp_sink_debug, "avdtpsink", 0, GST_DEBUG_CATEGORY_INIT (avdtp_sink_debug, "avdtpsink", 0,
"A2DP headset sink element"); "A2DP headset sink element");

View File

@ -105,13 +105,14 @@ gst_avdtp_src_class_init (GstAvdtpSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_TRANSPORT, g_object_class_install_property (gobject_class, PROP_TRANSPORT,
g_param_spec_string ("transport", g_param_spec_string ("transport",
"Transport", "Use configured transport", NULL, G_PARAM_READWRITE)); "Transport", "Use configured transport", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_TRANSPORT_VOLUME, g_object_class_install_property (gobject_class, PROP_TRANSPORT_VOLUME,
g_param_spec_uint ("transport-volume", g_param_spec_uint ("transport-volume",
"Transport volume", "Transport volume",
"Volume of the transport (only valid if transport is acquired)", "Volume of the transport (only valid if transport is acquired)",
0, 127, DEFAULT_VOLUME, G_PARAM_READWRITE)); 0, 127, DEFAULT_VOLUME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"Bluetooth AVDTP Source", "Bluetooth AVDTP Source",

View File

@ -221,17 +221,17 @@ gst_dshowvideosink_class_init (GstDshowVideoSinkClass * klass)
PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio", PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio",
"Force aspect ratio", "Force aspect ratio",
"When enabled, scaling will respect original aspect ratio", TRUE, "When enabled, scaling will respect original aspect ratio", TRUE,
(GParamFlags)G_PARAM_READWRITE)); GParamFlags(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_FULL_SCREEN, g_param_spec_boolean ("fullscreen", PROP_FULL_SCREEN, g_param_spec_boolean ("fullscreen",
"Full screen mode", "Full screen mode",
"Use full-screen mode (not available when using XOverlay)", FALSE, "Use full-screen mode (not available when using XOverlay)", FALSE,
(GParamFlags)G_PARAM_READWRITE)); GParamFlags(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_RENDERER, g_param_spec_string ("renderer", "Renderer", PROP_RENDERER, g_param_spec_string ("renderer", "Renderer",
"Force usage of specific DirectShow renderer (EVR, VMR9 or VMR7)", "Force usage of specific DirectShow renderer (EVR, VMR9 or VMR7)",
NULL, (GParamFlags)G_PARAM_READWRITE)); NULL, GParamFlags(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
} }
static void static void

View File

@ -135,20 +135,20 @@ gst_dshowvideosrc_class_init (GstDshowVideoSrcClass * klass)
(gobject_class, PROP_DEVICE, (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device", g_param_spec_string ("device", "Device",
"Directshow device path (@..classID/name)", NULL, "Directshow device path (@..classID/name)", NULL,
static_cast < GParamFlags > (G_PARAM_READWRITE))); static_cast < GParamFlags > (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property g_object_class_install_property
(gobject_class, PROP_DEVICE_NAME, (gobject_class, PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "Device name", g_param_spec_string ("device-name", "Device name",
"Human-readable name of the video device", NULL, "Human-readable name of the video device", NULL,
static_cast < GParamFlags > (G_PARAM_READWRITE))); static_cast < GParamFlags > (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property g_object_class_install_property
(gobject_class, PROP_DEVICE_INDEX, (gobject_class, PROP_DEVICE_INDEX,
g_param_spec_int ("device-index", "Device index", g_param_spec_int ("device-index", "Device index",
"Index of the enumerated video device", 0, G_MAXINT, "Index of the enumerated video device", 0, G_MAXINT,
DEFAULT_PROP_DEVICE_INDEX, DEFAULT_PROP_DEVICE_INDEX,
static_cast < GParamFlags > (G_PARAM_READWRITE))); static_cast < GParamFlags > (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
gst_element_class_add_static_pad_template (gstelement_class, &src_template); gst_element_class_add_static_pad_template (gstelement_class, &src_template);

View File

@ -217,7 +217,8 @@ gst_directsound_src_class_init (GstDirectSoundSrcClass * klass)
g_object_class_install_property g_object_class_install_property
(gobject_class, PROP_DEVICE_NAME, (gobject_class, PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "Device name", g_param_spec_string ("device-name", "Device name",
"Human-readable name of the sound device", NULL, G_PARAM_READWRITE)); "Human-readable name of the sound device", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DEVICE, PROP_DEVICE,

View File

@ -655,62 +655,72 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
g_object_class_install_property (gobject_class, ARG_DVBSRC_ADAPTER, g_object_class_install_property (gobject_class, ARG_DVBSRC_ADAPTER,
g_param_spec_int ("adapter", "The adapter device number", g_param_spec_int ("adapter", "The adapter device number",
"The DVB adapter device number (eg. 0 for adapter0)", "The DVB adapter device number (eg. 0 for adapter0)",
0, 16, DEFAULT_ADAPTER, G_PARAM_READWRITE)); 0, 16, DEFAULT_ADAPTER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_FRONTEND, g_object_class_install_property (gobject_class, ARG_DVBSRC_FRONTEND,
g_param_spec_int ("frontend", "The frontend device number", g_param_spec_int ("frontend", "The frontend device number",
"The frontend device number (eg. 0 for frontend0)", "The frontend device number (eg. 0 for frontend0)",
0, 16, DEFAULT_FRONTEND, G_PARAM_READWRITE)); 0, 16, DEFAULT_FRONTEND, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_FREQUENCY, g_object_class_install_property (gobject_class, ARG_DVBSRC_FREQUENCY,
g_param_spec_uint ("frequency", "Center frequency", g_param_spec_uint ("frequency", "Center frequency",
"Center frequency to tune into. Measured in kHz for the satellite " "Center frequency to tune into. Measured in kHz for the satellite "
"distribution standards and Hz for all the rest", "distribution standards and Hz for all the rest",
0, G_MAXUINT, DEFAULT_FREQUENCY, 0, G_MAXUINT, DEFAULT_FREQUENCY,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_POLARITY, g_object_class_install_property (gobject_class, ARG_DVBSRC_POLARITY,
g_param_spec_string ("polarity", "polarity", g_param_spec_string ("polarity", "polarity",
"(DVB-S/S2) Polarity [vhHV] (eg. V for Vertical)", "(DVB-S/S2) Polarity [vhHV] (eg. V for Vertical)",
DEFAULT_POLARITY, DEFAULT_POLARITY,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_PIDS, g_object_class_install_property (gobject_class, ARG_DVBSRC_PIDS,
g_param_spec_string ("pids", "pids", g_param_spec_string ("pids", "pids",
"Colon-separated list of PIDs (eg. 110:120) to capture. ACT and CAT " "Colon-separated list of PIDs (eg. 110:120) to capture. ACT and CAT "
"are automatically included but PMT should be added explicitly. " "are automatically included but PMT should be added explicitly. "
"Special value 8192 gets full MPEG-TS", "Special value 8192 gets full MPEG-TS",
DEFAULT_PIDS, GST_PARAM_MUTABLE_PLAYING | G_PARAM_WRITABLE)); DEFAULT_PIDS,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_WRITABLE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_SYM_RATE, g_object_class_install_property (gobject_class, ARG_DVBSRC_SYM_RATE,
g_param_spec_uint ("symbol-rate", g_param_spec_uint ("symbol-rate",
"symbol rate", "symbol rate",
"(DVB-S/S2, DVB-C) Symbol rate in kBd (kilo bauds)", "(DVB-S/S2, DVB-C) Symbol rate in kBd (kilo bauds)",
0, G_MAXUINT, DEFAULT_SYMBOL_RATE, 0, G_MAXUINT, DEFAULT_SYMBOL_RATE,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_TUNE, g_object_class_install_property (gobject_class, ARG_DVBSRC_TUNE,
g_param_spec_pointer ("tune", g_param_spec_pointer ("tune",
"tune", "Atomically tune to channel. (For Apps)", G_PARAM_WRITABLE)); "tune", "Atomically tune to channel. (For Apps)",
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_DISEQC_SRC, g_object_class_install_property (gobject_class, ARG_DVBSRC_DISEQC_SRC,
g_param_spec_int ("diseqc-source", g_param_spec_int ("diseqc-source",
"diseqc source", "diseqc source",
"(DVB-S/S2) Selected DiSEqC source. Only needed if you have a " "(DVB-S/S2) Selected DiSEqC source. Only needed if you have a "
"DiSEqC switch. Otherwise leave at -1 (disabled)", -1, 7, "DiSEqC switch. Otherwise leave at -1 (disabled)", -1, 7,
DEFAULT_DISEQC_SRC, GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); DEFAULT_DISEQC_SRC,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_BANDWIDTH_HZ, g_object_class_install_property (gobject_class, ARG_DVBSRC_BANDWIDTH_HZ,
g_param_spec_uint ("bandwidth-hz", "bandwidth-hz", g_param_spec_uint ("bandwidth-hz", "bandwidth-hz",
"Channel bandwidth in Hz", 0, G_MAXUINT, DEFAULT_BANDWIDTH_HZ, "Channel bandwidth in Hz", 0, G_MAXUINT, DEFAULT_BANDWIDTH_HZ,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
#ifndef GST_REMOVE_DEPRECATED #ifndef GST_REMOVE_DEPRECATED
g_object_class_install_property (gobject_class, ARG_DVBSRC_BANDWIDTH, g_object_class_install_property (gobject_class, ARG_DVBSRC_BANDWIDTH,
g_param_spec_enum ("bandwidth", "bandwidth", g_param_spec_enum ("bandwidth", "bandwidth",
"(DVB-T) Bandwidth. Deprecated", GST_TYPE_DVBSRC_BANDWIDTH, "(DVB-T) Bandwidth. Deprecated", GST_TYPE_DVBSRC_BANDWIDTH,
DEFAULT_BANDWIDTH, DEFAULT_BANDWIDTH,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE | G_PARAM_DEPRECATED)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE | G_PARAM_DEPRECATED |
G_PARAM_STATIC_STRINGS));
#endif #endif
/* FIXME: DVB-C, DVB-S, DVB-S2 named it as innerFEC */ /* FIXME: DVB-C, DVB-S, DVB-S2 named it as innerFEC */
@ -719,14 +729,16 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"code-rate-hp", "code-rate-hp",
"(DVB-T, DVB-S/S2 and DVB-C) High priority code rate", "(DVB-T, DVB-S/S2 and DVB-C) High priority code rate",
GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_CODE_RATE_HP, GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_CODE_RATE_HP,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_CODE_RATE_LP, g_object_class_install_property (gobject_class, ARG_DVBSRC_CODE_RATE_LP,
g_param_spec_enum ("code-rate-lp", g_param_spec_enum ("code-rate-lp",
"code-rate-lp", "code-rate-lp",
"(DVB-T) Low priority code rate", "(DVB-T) Low priority code rate",
GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_CODE_RATE_LP, GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_CODE_RATE_LP,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
/* FIXME: should the property be called 'guard-interval' then? */ /* FIXME: should the property be called 'guard-interval' then? */
g_object_class_install_property (gobject_class, ARG_DVBSRC_GUARD, g_object_class_install_property (gobject_class, ARG_DVBSRC_GUARD,
@ -734,13 +746,15 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"guard", "guard",
"(DVB-T) Guard Interval", "(DVB-T) Guard Interval",
GST_TYPE_DVBSRC_GUARD, DEFAULT_GUARD, GST_TYPE_DVBSRC_GUARD, DEFAULT_GUARD,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_MODULATION, g_object_class_install_property (gobject_class, ARG_DVBSRC_MODULATION,
g_param_spec_enum ("modulation", "modulation", g_param_spec_enum ("modulation", "modulation",
"(DVB-T/T2/C/S2, TURBO and ATSC) Modulation type", "(DVB-T/T2/C/S2, TURBO and ATSC) Modulation type",
GST_TYPE_DVBSRC_MODULATION, DEFAULT_MODULATION, GST_TYPE_DVBSRC_MODULATION, DEFAULT_MODULATION,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
/* FIXME: property should be named 'transmission-mode' */ /* FIXME: property should be named 'transmission-mode' */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -748,19 +762,22 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
g_param_spec_enum ("trans-mode", "trans-mode", g_param_spec_enum ("trans-mode", "trans-mode",
"(DVB-T) Transmission mode", "(DVB-T) Transmission mode",
GST_TYPE_DVBSRC_TRANSMISSION_MODE, DEFAULT_TRANSMISSION_MODE, GST_TYPE_DVBSRC_TRANSMISSION_MODE, DEFAULT_TRANSMISSION_MODE,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_HIERARCHY_INF, g_object_class_install_property (gobject_class, ARG_DVBSRC_HIERARCHY_INF,
g_param_spec_enum ("hierarchy", "hierarchy", g_param_spec_enum ("hierarchy", "hierarchy",
"(DVB-T) Hierarchy information", "(DVB-T) Hierarchy information",
GST_TYPE_DVBSRC_HIERARCHY, DEFAULT_HIERARCHY, GST_TYPE_DVBSRC_HIERARCHY, DEFAULT_HIERARCHY,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_INVERSION, g_object_class_install_property (gobject_class, ARG_DVBSRC_INVERSION,
g_param_spec_enum ("inversion", "inversion", g_param_spec_enum ("inversion", "inversion",
"(DVB-T and DVB-C) Inversion information", "(DVB-T and DVB-C) Inversion information",
GST_TYPE_DVBSRC_INVERSION, DEFAULT_INVERSION, GST_TYPE_DVBSRC_INVERSION, DEFAULT_INVERSION,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_STATS_REPORTING_INTERVAL, ARG_DVBSRC_STATS_REPORTING_INTERVAL,
@ -768,45 +785,53 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"stats-reporting-interval", "stats-reporting-interval",
"The number of reads before reporting frontend stats", "The number of reads before reporting frontend stats",
0, G_MAXUINT, DEFAULT_STATS_REPORTING_INTERVAL, 0, G_MAXUINT, DEFAULT_STATS_REPORTING_INTERVAL,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_TIMEOUT, g_object_class_install_property (gobject_class, ARG_DVBSRC_TIMEOUT,
g_param_spec_uint64 ("timeout", "Timeout", g_param_spec_uint64 ("timeout", "Timeout",
"Post a message after timeout microseconds (0 = disabled)", "Post a message after timeout microseconds (0 = disabled)",
0, G_MAXUINT64, DEFAULT_TIMEOUT, G_PARAM_READWRITE)); 0, G_MAXUINT64, DEFAULT_TIMEOUT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_TUNING_TIMEOUT, g_object_class_install_property (gobject_class, ARG_DVBSRC_TUNING_TIMEOUT,
g_param_spec_uint64 ("tuning-timeout", "Tuning Timeout", g_param_spec_uint64 ("tuning-timeout", "Tuning Timeout",
"Microseconds to wait before giving up tuning/locking on a signal", "Microseconds to wait before giving up tuning/locking on a signal",
0, G_MAXUINT64, DEFAULT_TUNING_TIMEOUT, 0, G_MAXUINT64, DEFAULT_TUNING_TIMEOUT,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_DVB_BUFFER_SIZE, ARG_DVBSRC_DVB_BUFFER_SIZE,
g_param_spec_uint ("dvb-buffer-size", g_param_spec_uint ("dvb-buffer-size",
"dvb-buffer-size", "dvb-buffer-size",
"The kernel buffer size used by the DVB api", "The kernel buffer size used by the DVB api",
0, G_MAXUINT, DEFAULT_DVB_BUFFER_SIZE, G_PARAM_READWRITE)); 0, G_MAXUINT, DEFAULT_DVB_BUFFER_SIZE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_DELSYS, g_object_class_install_property (gobject_class, ARG_DVBSRC_DELSYS,
g_param_spec_enum ("delsys", "delsys", "Delivery System", g_param_spec_enum ("delsys", "delsys", "Delivery System",
GST_TYPE_DVBSRC_DELSYS, DEFAULT_DELSYS, G_PARAM_READWRITE)); GST_TYPE_DVBSRC_DELSYS, DEFAULT_DELSYS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_PILOT, g_object_class_install_property (gobject_class, ARG_DVBSRC_PILOT,
g_param_spec_enum ("pilot", "pilot", "Pilot (DVB-S2)", g_param_spec_enum ("pilot", "pilot", "Pilot (DVB-S2)",
GST_TYPE_DVBSRC_PILOT, DEFAULT_PILOT, GST_TYPE_DVBSRC_PILOT, DEFAULT_PILOT,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_ROLLOFF, g_object_class_install_property (gobject_class, ARG_DVBSRC_ROLLOFF,
g_param_spec_enum ("rolloff", "rolloff", "Rolloff (DVB-S2)", g_param_spec_enum ("rolloff", "rolloff", "Rolloff (DVB-S2)",
GST_TYPE_DVBSRC_ROLLOFF, DEFAULT_ROLLOFF, GST_TYPE_DVBSRC_ROLLOFF, DEFAULT_ROLLOFF,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_STREAM_ID, g_object_class_install_property (gobject_class, ARG_DVBSRC_STREAM_ID,
g_param_spec_int ("stream-id", "stream-id", g_param_spec_int ("stream-id", "stream-id",
"(DVB-T2 and DVB-S2 max 255, ISDB max 65535) Stream ID " "(DVB-T2 and DVB-S2 max 255, ISDB max 65535) Stream ID "
"(-1 = disabled)", -1, 65535, DEFAULT_STREAM_ID, "(-1 = disabled)", -1, 65535, DEFAULT_STREAM_ID,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
/* Additional ISDB-T properties */ /* Additional ISDB-T properties */
@ -817,7 +842,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer enabled", "ISDB-T layer enabled",
"(ISDB-T) Layer Enabled (7 = All layers)", 1, 7, "(ISDB-T) Layer Enabled (7 = All layers)", 1, 7,
DEFAULT_ISDBT_LAYER_ENABLED, DEFAULT_ISDBT_LAYER_ENABLED,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_PARTIAL_RECEPTION, ARG_DVBSRC_ISDBT_PARTIAL_RECEPTION,
@ -825,7 +851,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T partial reception", "ISDB-T partial reception",
"(ISDB-T) Partial Reception (-1 = AUTO)", -1, 1, "(ISDB-T) Partial Reception (-1 = AUTO)", -1, 1,
DEFAULT_ISDBT_PARTIAL_RECEPTION, DEFAULT_ISDBT_PARTIAL_RECEPTION,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_SOUND_BROADCASTING, ARG_DVBSRC_ISDBT_SOUND_BROADCASTING,
@ -833,7 +860,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T sound broadcasting", "ISDB-T sound broadcasting",
"(ISDB-T) Sound Broadcasting", 0, 1, "(ISDB-T) Sound Broadcasting", 0, 1,
DEFAULT_ISDBT_SOUND_BROADCASTING, DEFAULT_ISDBT_SOUND_BROADCASTING,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_SB_SUBCHANNEL_ID, ARG_DVBSRC_ISDBT_SB_SUBCHANNEL_ID,
@ -841,7 +869,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T SB subchannel ID", "ISDB-T SB subchannel ID",
"(ISDB-T) SB Subchannel ID (-1 = AUTO)", -1, 41, "(ISDB-T) SB Subchannel ID (-1 = AUTO)", -1, 41,
DEFAULT_ISDBT_SB_SEGMENT_IDX, DEFAULT_ISDBT_SB_SEGMENT_IDX,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_SB_SEGMENT_IDX, ARG_DVBSRC_ISDBT_SB_SEGMENT_IDX,
@ -849,7 +878,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T SB segment IDX", "ISDB-T SB segment IDX",
"(ISDB-T) SB segment IDX", 0, 12, "(ISDB-T) SB segment IDX", 0, 12,
DEFAULT_ISDBT_SB_SEGMENT_IDX, DEFAULT_ISDBT_SB_SEGMENT_IDX,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_SB_SEGMENT_COUNT, ARG_DVBSRC_ISDBT_SB_SEGMENT_COUNT,
@ -857,46 +887,53 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T SB segment count", "ISDB-T SB segment count",
"(ISDB-T) SB segment count", 1, 13, "(ISDB-T) SB segment count", 1, 13,
DEFAULT_ISDBT_SB_SEGMENT_COUNT, DEFAULT_ISDBT_SB_SEGMENT_COUNT,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_ISDBT_LAYERA_FEC, g_object_class_install_property (gobject_class, ARG_DVBSRC_ISDBT_LAYERA_FEC,
g_param_spec_enum ("isdbt-layera-fec", g_param_spec_enum ("isdbt-layera-fec",
"ISDB-T layer A FEC", "(ISDB-T) layer A Forward Error Correction", "ISDB-T layer A FEC", "(ISDB-T) layer A Forward Error Correction",
GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_ISDBT_LAYERA_FEC, GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_ISDBT_LAYERA_FEC,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_ISDBT_LAYERB_FEC, g_object_class_install_property (gobject_class, ARG_DVBSRC_ISDBT_LAYERB_FEC,
g_param_spec_enum ("isdbt-layerb-fec", g_param_spec_enum ("isdbt-layerb-fec",
"ISDB-T layer B FEC", "(ISDB-T) layer B Forward Error Correction", "ISDB-T layer B FEC", "(ISDB-T) layer B Forward Error Correction",
GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_ISDBT_LAYERB_FEC, GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_ISDBT_LAYERB_FEC,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_ISDBT_LAYERC_FEC, g_object_class_install_property (gobject_class, ARG_DVBSRC_ISDBT_LAYERC_FEC,
g_param_spec_enum ("isdbt-layerc-fec", g_param_spec_enum ("isdbt-layerc-fec",
"ISDB-T layer A FEC", "(ISDB-T) layer C Forward Error Correction", "ISDB-T layer A FEC", "(ISDB-T) layer C Forward Error Correction",
GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_ISDBT_LAYERC_FEC, GST_TYPE_DVBSRC_CODE_RATE, DEFAULT_ISDBT_LAYERC_FEC,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERA_MODULATION, ARG_DVBSRC_ISDBT_LAYERA_MODULATION,
g_param_spec_enum ("isdbt-layera-modulation", "ISDBT layer A modulation", g_param_spec_enum ("isdbt-layera-modulation", "ISDBT layer A modulation",
"(ISDB-T) Layer A modulation type", "(ISDB-T) Layer A modulation type",
GST_TYPE_DVBSRC_MODULATION, DEFAULT_ISDBT_LAYERA_MODULATION, GST_TYPE_DVBSRC_MODULATION, DEFAULT_ISDBT_LAYERA_MODULATION,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERB_MODULATION, ARG_DVBSRC_ISDBT_LAYERB_MODULATION,
g_param_spec_enum ("isdbt-layerb-modulation", "ISDBT layer B modulation", g_param_spec_enum ("isdbt-layerb-modulation", "ISDBT layer B modulation",
"(ISDB-T) Layer B modulation type", "(ISDB-T) Layer B modulation type",
GST_TYPE_DVBSRC_MODULATION, DEFAULT_ISDBT_LAYERB_MODULATION, GST_TYPE_DVBSRC_MODULATION, DEFAULT_ISDBT_LAYERB_MODULATION,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERC_MODULATION, ARG_DVBSRC_ISDBT_LAYERC_MODULATION,
g_param_spec_enum ("isdbt-layerc-modulation", "ISDBT layer C modulation", g_param_spec_enum ("isdbt-layerc-modulation", "ISDBT layer C modulation",
"(ISDB-T) Layer C modulation type", "(ISDB-T) Layer C modulation type",
GST_TYPE_DVBSRC_MODULATION, DEFAULT_ISDBT_LAYERC_MODULATION, GST_TYPE_DVBSRC_MODULATION, DEFAULT_ISDBT_LAYERC_MODULATION,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERA_SEGMENT_COUNT, ARG_DVBSRC_ISDBT_LAYERA_SEGMENT_COUNT,
@ -904,7 +941,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer A segment count", "ISDB-T layer A segment count",
"(ISDB-T) Layer A segment count (-1 = AUTO)", -1, 13, "(ISDB-T) Layer A segment count (-1 = AUTO)", -1, 13,
DEFAULT_ISDBT_LAYERA_SEGMENT_COUNT, DEFAULT_ISDBT_LAYERA_SEGMENT_COUNT,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERB_SEGMENT_COUNT, ARG_DVBSRC_ISDBT_LAYERB_SEGMENT_COUNT,
@ -912,7 +950,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer B segment count", "ISDB-T layer B segment count",
"(ISDB-T) Layer B segment count (-1 = AUTO)", -1, 13, "(ISDB-T) Layer B segment count (-1 = AUTO)", -1, 13,
DEFAULT_ISDBT_LAYERB_SEGMENT_COUNT, DEFAULT_ISDBT_LAYERB_SEGMENT_COUNT,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERC_SEGMENT_COUNT, ARG_DVBSRC_ISDBT_LAYERC_SEGMENT_COUNT,
@ -920,7 +959,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer C segment count", "ISDB-T layer C segment count",
"(ISDB-T) Layer C segment count (-1 = AUTO)", -1, 13, "(ISDB-T) Layer C segment count (-1 = AUTO)", -1, 13,
DEFAULT_ISDBT_LAYERC_SEGMENT_COUNT, DEFAULT_ISDBT_LAYERC_SEGMENT_COUNT,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERA_TIME_INTERLEAVING, ARG_DVBSRC_ISDBT_LAYERA_TIME_INTERLEAVING,
@ -928,7 +968,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer A time interleaving", "ISDB-T layer A time interleaving",
"(ISDB-T) Layer A time interleaving (-1 = AUTO)", -1, 8, "(ISDB-T) Layer A time interleaving (-1 = AUTO)", -1, 8,
DEFAULT_ISDBT_LAYERA_TIME_INTERLEAVING, DEFAULT_ISDBT_LAYERA_TIME_INTERLEAVING,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERB_TIME_INTERLEAVING, ARG_DVBSRC_ISDBT_LAYERB_TIME_INTERLEAVING,
@ -936,7 +977,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer B time interleaving", "ISDB-T layer B time interleaving",
"(ISDB-T) Layer B time interleaving (-1 = AUTO)", -1, 8, "(ISDB-T) Layer B time interleaving (-1 = AUTO)", -1, 8,
DEFAULT_ISDBT_LAYERB_TIME_INTERLEAVING, DEFAULT_ISDBT_LAYERB_TIME_INTERLEAVING,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
ARG_DVBSRC_ISDBT_LAYERC_TIME_INTERLEAVING, ARG_DVBSRC_ISDBT_LAYERC_TIME_INTERLEAVING,
@ -944,7 +986,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
"ISDB-T layer C time interleaving", "ISDB-T layer C time interleaving",
"(ISDB-T) Layer C time interleaving (-1 = AUTO)", -1, 8, "(ISDB-T) Layer C time interleaving (-1 = AUTO)", -1, 8,
DEFAULT_ISDBT_LAYERC_TIME_INTERLEAVING, DEFAULT_ISDBT_LAYERC_TIME_INTERLEAVING,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
/* LNB properties (Satellite distribution standards) */ /* LNB properties (Satellite distribution standards) */
@ -952,19 +995,22 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
g_param_spec_uint ("lnb-slof", "Tuning Timeout", g_param_spec_uint ("lnb-slof", "Tuning Timeout",
"LNB's Upper bound for low band reception (kHz)", "LNB's Upper bound for low band reception (kHz)",
0, G_MAXUINT, DEFAULT_LNB_SLOF, 0, G_MAXUINT, DEFAULT_LNB_SLOF,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_LNB_LOF1, g_object_class_install_property (gobject_class, ARG_DVBSRC_LNB_LOF1,
g_param_spec_uint ("lnb-lof1", "Low band local oscillator frequency", g_param_spec_uint ("lnb-lof1", "Low band local oscillator frequency",
"LNB's Local oscillator frequency used for low band reception (kHz)", "LNB's Local oscillator frequency used for low band reception (kHz)",
0, G_MAXUINT, DEFAULT_LNB_LOF1, 0, G_MAXUINT, DEFAULT_LNB_LOF1,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DVBSRC_LNB_LOF2, g_object_class_install_property (gobject_class, ARG_DVBSRC_LNB_LOF2,
g_param_spec_uint ("lnb-lof2", "High band local oscillator frequency", g_param_spec_uint ("lnb-lof2", "High band local oscillator frequency",
"LNB's Local oscillator frequency used for high band reception (kHz)", "LNB's Local oscillator frequency used for high band reception (kHz)",
0, G_MAXUINT, DEFAULT_LNB_LOF2, 0, G_MAXUINT, DEFAULT_LNB_LOF2,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
/* Additional DTMB properties */ /* Additional DTMB properties */
@ -973,7 +1019,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
g_param_spec_enum ("interleaving", "DTMB Interleaving", g_param_spec_enum ("interleaving", "DTMB Interleaving",
"(DTMB) Interleaving type", "(DTMB) Interleaving type",
GST_TYPE_INTERLEAVING, DEFAULT_INTERLEAVING, GST_TYPE_INTERLEAVING, DEFAULT_INTERLEAVING,
GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE)); GST_PARAM_MUTABLE_PLAYING | G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
/** /**
* GstDvbSrc::tuning-start: * GstDvbSrc::tuning-start:

View File

@ -421,7 +421,8 @@ gst_fbdevsink_class_init (GstFBDEVSinkClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DEVICE, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DEVICE,
g_param_spec_string ("device", "device", g_param_spec_string ("device", "device",
"The framebuffer device eg: /dev/fb0", NULL, G_PARAM_READWRITE)); "The framebuffer device eg: /dev/fb0", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
basesink_class->set_caps = GST_DEBUG_FUNCPTR (gst_fbdevsink_setcaps); basesink_class->set_caps = GST_DEBUG_FUNCPTR (gst_fbdevsink_setcaps);
basesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_fbdevsink_getcaps); basesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_fbdevsink_getcaps);

View File

@ -275,7 +275,7 @@ gst_kms_allocator_class_init (GstKMSAllocatorClass * klass)
g_props[PROP_DRM_FD] = g_param_spec_int ("drm-fd", "DRM fd", g_props[PROP_DRM_FD] = g_param_spec_int ("drm-fd", "DRM fd",
"DRM file descriptor", -1, G_MAXINT, -1, "DRM file descriptor", -1, G_MAXINT, -1,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (gobject_class, PROP_N, g_props); g_object_class_install_properties (gobject_class, PROP_N, g_props);
} }

View File

@ -423,7 +423,8 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_X, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_X,
g_param_spec_int ("text-x", "horizontal position.", g_param_spec_int ("text-x", "horizontal position.",
"Resulting X position of font rendering.", -G_MAXINT, "Resulting X position of font rendering.", -G_MAXINT,
G_MAXINT, DEFAULT_PROP_TEXT_X, G_PARAM_READABLE)); G_MAXINT, DEFAULT_PROP_TEXT_X,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
/** /**
* GstBaseTextOverlay:text-y: * GstBaseTextOverlay:text-y:
@ -433,7 +434,8 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_Y, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_Y,
g_param_spec_int ("text-y", "vertical position", g_param_spec_int ("text-y", "vertical position",
"Resulting Y position of font rendering.", -G_MAXINT, "Resulting Y position of font rendering.", -G_MAXINT,
G_MAXINT, DEFAULT_PROP_TEXT_Y, G_PARAM_READABLE)); G_MAXINT, DEFAULT_PROP_TEXT_Y,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
/** /**
* GstBaseTextOverlay:text-width: * GstBaseTextOverlay:text-width:
@ -443,7 +445,8 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_WIDTH, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_WIDTH,
g_param_spec_uint ("text-width", "width", g_param_spec_uint ("text-width", "width",
"Resulting width of font rendering", "Resulting width of font rendering",
0, G_MAXINT, DEFAULT_PROP_TEXT_WIDTH, G_PARAM_READABLE)); 0, G_MAXINT, DEFAULT_PROP_TEXT_WIDTH,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
/** /**
* GstBaseTextOverlay:text-height: * GstBaseTextOverlay:text-height:
@ -453,7 +456,8 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_HEIGHT, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TEXT_HEIGHT,
g_param_spec_uint ("text-height", "height", g_param_spec_uint ("text-height", "height",
"Resulting height of font rendering", 0, "Resulting height of font rendering", 0,
G_MAXINT, DEFAULT_PROP_TEXT_HEIGHT, G_PARAM_READABLE)); G_MAXINT, DEFAULT_PROP_TEXT_HEIGHT,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
/** /**
* GstBaseTextOverlay:xpos: * GstBaseTextOverlay:xpos:

View File

@ -490,7 +490,7 @@ gst_drm_dumb_allocator_class_init (GstDRMDumbAllocatorClass * klass)
*/ */
g_props[PROP_DRM_FD] = g_param_spec_int ("drm-fd", "DRM fd", g_props[PROP_DRM_FD] = g_param_spec_int ("drm-fd", "DRM fd",
"DRM file descriptor", -1, G_MAXINT, -1, "DRM file descriptor", -1, G_MAXINT, -1,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY);
/** /**
* GstDRMDumbAllocator:drm-device-path: (type filename): * GstDRMDumbAllocator:drm-device-path: (type filename):

View File

@ -315,7 +315,7 @@ gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass)
g_object_class_install_property (gobject_class, PROP_SOURCE_INFO, g_object_class_install_property (gobject_class, PROP_SOURCE_INFO,
g_param_spec_boolean ("source-info", "RTP source information", g_param_spec_boolean ("source-info", "RTP source information",
"Add RTP source information as buffer meta", "Add RTP source information as buffer meta",
DEFAULT_SOURCE_INFO, G_PARAM_READWRITE)); DEFAULT_SOURCE_INFO, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstRTPBaseDepayload:max-reorder: * GstRTPBaseDepayload:max-reorder:
@ -330,7 +330,8 @@ gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass)
g_object_class_install_property (gobject_class, PROP_MAX_REORDER, g_object_class_install_property (gobject_class, PROP_MAX_REORDER,
g_param_spec_int ("max-reorder", "Max Reorder", g_param_spec_int ("max-reorder", "Max Reorder",
"Max seqnum reorder before assuming sender has restarted", "Max seqnum reorder before assuming sender has restarted",
0, G_MAXINT, DEFAULT_MAX_REORDER, G_PARAM_READWRITE)); 0, G_MAXINT, DEFAULT_MAX_REORDER,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstRTPBaseDepayload:auto-header-extension: * GstRTPBaseDepayload:auto-header-extension:

View File

@ -490,7 +490,8 @@ gst_navigationtest_class_init (GstNavigationtestClass * klass)
*/ */
g_object_class_install_property (gobject_class, PROP_DISPLAY_MOUSE, g_object_class_install_property (gobject_class, PROP_DISPLAY_MOUSE,
g_param_spec_boolean ("display-mouse", "Display mouse", g_param_spec_boolean ("display-mouse", "Display mouse",
"Toggles display of mouse events", TRUE, G_PARAM_READWRITE)); "Toggles display of mouse events", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* navigationtest:display-touch: * navigationtest:display-touch:
@ -501,7 +502,8 @@ gst_navigationtest_class_init (GstNavigationtestClass * klass)
*/ */
g_object_class_install_property (gobject_class, PROP_DISPLAY_TOUCH, g_object_class_install_property (gobject_class, PROP_DISPLAY_TOUCH,
g_param_spec_boolean ("display-touch", "Display touch", g_param_spec_boolean ("display-touch", "Display touch",
"Toggles display of touchscreen events", TRUE, G_PARAM_READWRITE)); "Toggles display of touchscreen events", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
element_class->change_state = element_class->change_state =
GST_DEBUG_FUNCPTR (gst_navigationtest_change_state); GST_DEBUG_FUNCPTR (gst_navigationtest_change_state);

View File

@ -129,31 +129,34 @@ gst_push_file_src_class_init (GstPushFileSrcClass * g_class)
g_object_class_install_property (gobject_class, PROP_TIME_SEGMENT, g_object_class_install_property (gobject_class, PROP_TIME_SEGMENT,
g_param_spec_boolean ("time-segment", "Time Segment", g_param_spec_boolean ("time-segment", "Time Segment",
"Emit TIME SEGMENTS", DEFAULT_TIME_SEGMENT, G_PARAM_READWRITE)); "Emit TIME SEGMENTS", DEFAULT_TIME_SEGMENT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_STREAM_TIME, g_object_class_install_property (gobject_class, PROP_STREAM_TIME,
g_param_spec_int64 ("stream-time", "Stream Time", g_param_spec_int64 ("stream-time", "Stream Time",
"Initial Stream Time (if time-segment TRUE)", 0, G_MAXINT64, "Initial Stream Time (if time-segment TRUE)", 0, G_MAXINT64,
DEFAULT_STREAM_TIME, G_PARAM_READWRITE)); DEFAULT_STREAM_TIME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_START_TIME, g_object_class_install_property (gobject_class, PROP_START_TIME,
g_param_spec_int64 ("start-time", "Start Time", g_param_spec_int64 ("start-time", "Start Time",
"Initial Start Time (if time-segment TRUE)", 0, G_MAXINT64, "Initial Start Time (if time-segment TRUE)", 0, G_MAXINT64,
DEFAULT_START_TIME, G_PARAM_READWRITE)); DEFAULT_START_TIME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_INITIAL_TIMESTAMP, g_object_class_install_property (gobject_class, PROP_INITIAL_TIMESTAMP,
g_param_spec_uint64 ("initial-timestamp", "Initial Timestamp", g_param_spec_uint64 ("initial-timestamp", "Initial Timestamp",
"Initial Buffer Timestamp (if time-segment TRUE)", 0, G_MAXUINT64, "Initial Buffer Timestamp (if time-segment TRUE)", 0, G_MAXUINT64,
DEFAULT_INITIAL_TIMESTAMP, G_PARAM_READWRITE)); DEFAULT_INITIAL_TIMESTAMP,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_RATE, g_object_class_install_property (gobject_class, PROP_RATE,
g_param_spec_double ("rate", "Rate", "Rate to use in TIME SEGMENT", g_param_spec_double ("rate", "Rate", "Rate to use in TIME SEGMENT",
G_MINDOUBLE, G_MAXDOUBLE, DEFAULT_RATE, G_PARAM_READWRITE)); G_MINDOUBLE, G_MAXDOUBLE, DEFAULT_RATE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_APPLIED_RATE, g_object_class_install_property (gobject_class, PROP_APPLIED_RATE,
g_param_spec_double ("applied-rate", "Applied Rate", g_param_spec_double ("applied-rate", "Applied Rate",
"Applied rate to use in TIME SEGMENT", G_MINDOUBLE, G_MAXDOUBLE, "Applied rate to use in TIME SEGMENT", G_MINDOUBLE, G_MAXDOUBLE,
DEFAULT_APPLIED_RATE, G_PARAM_READWRITE)); DEFAULT_APPLIED_RATE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_add_static_pad_template (element_class, &srctemplate); gst_element_class_add_static_pad_template (element_class, &srctemplate);

View File

@ -155,7 +155,7 @@ gst_multipart_demux_class_init (GstMultipartDemuxClass * klass)
g_object_class_install_property (gobject_class, PROP_SINGLE_STREAM, g_object_class_install_property (gobject_class, PROP_SINGLE_STREAM,
g_param_spec_boolean ("single-stream", "Single Stream", g_param_spec_boolean ("single-stream", "Single Stream",
"Assume that there is only one stream whose content-type will not change and emit no-more-pads as soon as the first boundary content is parsed, decoded, and pads are linked", "Assume that there is only one stream whose content-type will not change and emit no-more-pads as soon as the first boundary content is parsed, decoded, and pads are linked",
DEFAULT_SINGLE_STREAM, G_PARAM_READWRITE)); DEFAULT_SINGLE_STREAM, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* populate gst names and mime types pairs */ /* populate gst names and mime types pairs */
klass->gstnames = g_hash_table_new (g_str_hash, g_str_equal); klass->gstnames = g_hash_table_new (g_str_hash, g_str_equal);

View File

@ -310,7 +310,8 @@ gst_rtp_sbc_pay_class_init (GstRtpSBCPayClass * klass)
g_param_spec_int ("min-frames", "minimum frame number", g_param_spec_int ("min-frames", "minimum frame number",
"Minimum quantity of frames to send in one packet " "Minimum quantity of frames to send in one packet "
"(-1 for maximum allowed by the mtu)", "(-1 for maximum allowed by the mtu)",
-1, G_MAXINT, DEFAULT_MIN_FRAMES, G_PARAM_READWRITE)); -1, G_MAXINT, DEFAULT_MIN_FRAMES,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_add_static_pad_template (element_class, gst_element_class_add_static_pad_template (element_class,
&gst_rtp_sbc_pay_sink_factory); &gst_rtp_sbc_pay_sink_factory);

View File

@ -303,12 +303,13 @@ gst_v4l2radio_class_init (GstV4l2RadioClass * klass)
g_object_class_install_property (gobject_class, ARG_DEVICE, g_object_class_install_property (gobject_class, ARG_DEVICE,
g_param_spec_string ("device", "Radio device location", g_param_spec_string ("device", "Radio device location",
"Video4Linux2 radio device location", "Video4Linux2 radio device location",
DEFAULT_PROP_DEVICE, G_PARAM_READWRITE)); DEFAULT_PROP_DEVICE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_FREQUENCY, g_object_class_install_property (gobject_class, ARG_FREQUENCY,
g_param_spec_int ("frequency", "Station frequency", g_param_spec_int ("frequency", "Station frequency",
"Station frequency in Hz", "Station frequency in Hz",
MIN_FREQUENCY, MAX_FREQUENCY, DEFAULT_FREQUENCY, G_PARAM_READWRITE)); MIN_FREQUENCY, MAX_FREQUENCY, DEFAULT_FREQUENCY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_v4l2radio_change_state); GST_DEBUG_FUNCPTR (gst_v4l2radio_change_state);

View File

@ -163,19 +163,21 @@ gst_v4l2sink_class_init (GstV4l2SinkClass * klass)
g_object_class_install_property (gobject_class, PROP_CROP_TOP, g_object_class_install_property (gobject_class, PROP_CROP_TOP,
g_param_spec_int ("crop-top", "Crop top", g_param_spec_int ("crop-top", "Crop top",
"The topmost (y) coordinate of the video crop; top left corner of image is 0,0", "The topmost (y) coordinate of the video crop; top left corner of image is 0,0",
0x80000000, 0x7fffffff, 0, G_PARAM_READWRITE)); 0x80000000, 0x7fffffff, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CROP_LEFT, g_object_class_install_property (gobject_class, PROP_CROP_LEFT,
g_param_spec_int ("crop-left", "Crop left", g_param_spec_int ("crop-left", "Crop left",
"The leftmost (x) coordinate of the video crop; top left corner of image is 0,0", "The leftmost (x) coordinate of the video crop; top left corner of image is 0,0",
0x80000000, 0x7fffffff, 0, G_PARAM_READWRITE)); 0x80000000, 0x7fffffff, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CROP_WIDTH, g_object_class_install_property (gobject_class, PROP_CROP_WIDTH,
g_param_spec_uint ("crop-width", "Crop width", g_param_spec_uint ("crop-width", "Crop width",
"The width of the video crop; default is equal to negotiated image width", "The width of the video crop; default is equal to negotiated image width",
0, 0xffffffff, 0, G_PARAM_READWRITE)); 0, 0xffffffff, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CROP_HEIGHT, g_object_class_install_property (gobject_class, PROP_CROP_HEIGHT,
g_param_spec_uint ("crop-height", "Crop height", g_param_spec_uint ("crop-height", "Crop height",
"The height of the video crop; default is equal to negotiated image height", "The height of the video crop; default is equal to negotiated image height",
0, 0xffffffff, 0, G_PARAM_READWRITE)); 0, 0xffffffff, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"Video (video4linux2) Sink", "Sink/Video", "Video (video4linux2) Sink", "Sink/Video",

View File

@ -1331,7 +1331,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass)
g_object_class_install_property (gc, PROP_STARTY, g_object_class_install_property (gc, PROP_STARTY,
g_param_spec_uint ("starty", "Start Y co-ordinate", g_param_spec_uint ("starty", "Start Y co-ordinate",
"Y coordinate of top left corner of area to be recorded (0 for top left of screen)", "Y coordinate of top left corner of area to be recorded (0 for top left of screen)",
0, G_MAXINT, 0, G_PARAM_READWRITE)); 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstXImageSrc:endx: * GstXImageSrc:endx:
* *
@ -1341,7 +1341,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass)
g_object_class_install_property (gc, PROP_ENDX, g_object_class_install_property (gc, PROP_ENDX,
g_param_spec_uint ("endx", "End X", g_param_spec_uint ("endx", "End X",
"X coordinate of bottom right corner of area to be recorded (0 for bottom right of screen)", "X coordinate of bottom right corner of area to be recorded (0 for bottom right of screen)",
0, G_MAXINT, 0, G_PARAM_READWRITE)); 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstXImageSrc:endy: * GstXImageSrc:endy:
* *
@ -1351,7 +1351,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass)
g_object_class_install_property (gc, PROP_ENDY, g_object_class_install_property (gc, PROP_ENDY,
g_param_spec_uint ("endy", "End Y", g_param_spec_uint ("endy", "End Y",
"Y coordinate of bottom right corner of area to be recorded (0 for bottom right of screen)", "Y coordinate of bottom right corner of area to be recorded (0 for bottom right of screen)",
0, G_MAXINT, 0, G_PARAM_READWRITE)); 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstXImageSrc:remote: * GstXImageSrc:remote:

View File

@ -78,7 +78,8 @@ gst_rtsp_latency_bin_class_init (GstRTSPLatencyBinClass * klass)
g_object_class_install_property (gobject_klass, PROP_ELEMENT, g_object_class_install_property (gobject_klass, PROP_ELEMENT,
g_param_spec_object ("element", "The Element", g_param_spec_object ("element", "The Element",
"The GstElement to prevent from affecting piplines latency", "The GstElement to prevent from affecting piplines latency",
GST_TYPE_ELEMENT, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE)); GST_TYPE_ELEMENT,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_klass->change_state = gstelement_klass->change_state =
GST_DEBUG_FUNCPTR (gst_rtsp_latency_bin_change_state); GST_DEBUG_FUNCPTR (gst_rtsp_latency_bin_change_state);

View File

@ -422,7 +422,7 @@ gst_rtsp_media_class_init (GstRTSPMediaClass * klass)
g_object_class_install_property (gobject_class, PROP_ELEMENT, g_object_class_install_property (gobject_class, PROP_ELEMENT,
g_param_spec_object ("element", "The Element", g_param_spec_object ("element", "The Element",
"The GstBin to use for streaming the media", GST_TYPE_ELEMENT, "The GstBin to use for streaming the media", GST_TYPE_ELEMENT,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE)); G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_TIME_PROVIDER, g_object_class_install_property (gobject_class, PROP_TIME_PROVIDER,
g_param_spec_boolean ("time-provider", "Time Provider", g_param_spec_boolean ("time-provider", "Time Provider",