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:
parent
ee59564d5c
commit
d437e92049
@ -494,7 +494,8 @@ ges_asset_class_init (GESAssetClass * klass)
|
||||
_properties[PROP_TYPE] =
|
||||
g_param_spec_gtype ("extractable-type", "Extractable type",
|
||||
"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:
|
||||
@ -512,7 +513,7 @@ ges_asset_class_init (GESAssetClass * klass)
|
||||
_properties[PROP_ID] =
|
||||
g_param_spec_string ("id", "Identifier",
|
||||
"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:
|
||||
@ -526,7 +527,8 @@ ges_asset_class_init (GESAssetClass * klass)
|
||||
*/
|
||||
_properties[PROP_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:
|
||||
@ -546,7 +548,8 @@ ges_asset_class_init (GESAssetClass * klass)
|
||||
*/
|
||||
_properties[PROP_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);
|
||||
|
||||
|
@ -149,7 +149,8 @@ ges_audio_uri_source_class_init (GESAudioUriSourceClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_URI,
|
||||
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;
|
||||
|
||||
|
@ -131,7 +131,7 @@ ges_clip_asset_class_init (GESClipAssetClass * self_class)
|
||||
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
|
||||
"Supported formats", "Formats supported by the file",
|
||||
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,
|
||||
properties[PROP_SUPPORTED_FORMATS]);
|
||||
|
@ -2588,7 +2588,7 @@ ges_clip_class_init (GESClipClass * klass)
|
||||
properties[PROP_SUPPORTED_FORMATS] = g_param_spec_flags ("supported-formats",
|
||||
"Supported formats", "Formats supported by the clip",
|
||||
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,
|
||||
properties[PROP_SUPPORTED_FORMATS]);
|
||||
@ -2604,7 +2604,8 @@ ges_clip_class_init (GESClipClass * klass)
|
||||
*/
|
||||
properties[PROP_LAYER] = g_param_spec_object ("layer", "Layer",
|
||||
"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,
|
||||
properties[PROP_LAYER]);
|
||||
|
||||
@ -2631,7 +2632,8 @@ ges_clip_class_init (GESClipClass * klass)
|
||||
properties[PROP_DURATION_LIMIT] =
|
||||
g_param_spec_uint64 ("duration-limit", "Duration Limit",
|
||||
"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,
|
||||
properties[PROP_DURATION_LIMIT]);
|
||||
|
||||
|
@ -460,7 +460,7 @@ ges_container_class_init (GESContainerClass * klass)
|
||||
*/
|
||||
properties[PROP_HEIGHT] = g_param_spec_uint ("height", "Height",
|
||||
"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,
|
||||
properties[PROP_HEIGHT]);
|
||||
|
||||
|
@ -207,7 +207,8 @@ ges_effect_clip_class_init (GESEffectClipClass * klass)
|
||||
g_param_spec_string ("video-bin-description",
|
||||
"Video bin description",
|
||||
"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:
|
||||
@ -221,7 +222,8 @@ ges_effect_clip_class_init (GESEffectClipClass * klass)
|
||||
g_param_spec_string ("audio-bin-description",
|
||||
"bin description",
|
||||
"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;
|
||||
}
|
||||
|
@ -583,7 +583,7 @@ ges_group_class_init (GESGroupClass * klass)
|
||||
*/
|
||||
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
||||
"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:
|
||||
@ -593,7 +593,8 @@ ges_group_class_init (GESGroupClass * klass)
|
||||
*/
|
||||
properties[PROP_INPOINT] =
|
||||
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:
|
||||
@ -607,7 +608,7 @@ ges_group_class_init (GESGroupClass * klass)
|
||||
properties[PROP_DURATION] =
|
||||
g_param_spec_uint64 ("duration", "Duration", "The duration to use", 0,
|
||||
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:
|
||||
@ -618,7 +619,8 @@ ges_group_class_init (GESGroupClass * klass)
|
||||
properties[PROP_MAX_DURATION] =
|
||||
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
||||
"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:
|
||||
@ -629,7 +631,7 @@ ges_group_class_init (GESGroupClass * klass)
|
||||
*/
|
||||
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
|
||||
"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);
|
||||
|
||||
|
@ -173,7 +173,8 @@ ges_image_source_class_init (GESImageSourceClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_URI,
|
||||
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;
|
||||
vsource_class->ABI.abi.get_natural_size =
|
||||
|
@ -231,7 +231,8 @@ ges_layer_class_init (GESLayerClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_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:
|
||||
@ -246,7 +247,8 @@ ges_layer_class_init (GESLayerClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_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:
|
||||
|
@ -100,7 +100,7 @@ ges_marker_class_init (GESMarkerClass * klass)
|
||||
marker_properties[PROP_MARKER_POSITION] =
|
||||
g_param_spec_uint64 ("position", "Position",
|
||||
"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,
|
||||
marker_properties[PROP_MARKER_POSITION]);
|
||||
|
||||
@ -220,7 +220,7 @@ ges_marker_list_class_init (GESMarkerListClass * klass)
|
||||
g_param_spec_flags ("flags", "Flags",
|
||||
"Functionalities the marker list should be used for",
|
||||
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,
|
||||
list_properties[PROP_MARKER_LIST_FLAGS]);
|
||||
|
||||
|
@ -254,7 +254,8 @@ ges_multi_file_source_class_init (GESMultiFileSourceClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_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;
|
||||
}
|
||||
|
||||
|
@ -541,7 +541,8 @@ ges_project_class_init (GESProjectClass * klass)
|
||||
* The location of the project to use.
|
||||
*/
|
||||
_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);
|
||||
|
||||
|
@ -315,7 +315,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
||||
g_param_spec_enum ("vpattern", "VPattern",
|
||||
"Which video pattern to display. See videotestsrc element",
|
||||
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:
|
||||
@ -325,7 +326,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_FREQ,
|
||||
g_param_spec_double ("freq", "Audio Frequency",
|
||||
"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:
|
||||
@ -335,7 +337,8 @@ ges_test_clip_class_init (GESTestClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_VOLUME,
|
||||
g_param_spec_double ("volume", "Audio Volume",
|
||||
"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_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;
|
||||
}
|
||||
|
@ -168,7 +168,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
||||
|
||||
g_object_class_install_property (object_class, PROP_TEXT,
|
||||
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:
|
||||
@ -215,7 +216,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
||||
|
||||
g_object_class_install_property (object_class, PROP_COLOR,
|
||||
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:
|
||||
@ -225,7 +227,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
||||
|
||||
g_object_class_install_property (object_class, PROP_XPOS,
|
||||
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:
|
||||
@ -235,7 +238,8 @@ ges_text_overlay_clip_class_init (GESTextOverlayClipClass * klass)
|
||||
|
||||
g_object_class_install_property (object_class, PROP_YPOS,
|
||||
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
|
||||
|
@ -459,7 +459,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
properties[PROP_PARENT] =
|
||||
g_param_spec_object ("parent", "Parent",
|
||||
"The parent container of the object", GES_TYPE_TIMELINE_ELEMENT,
|
||||
G_PARAM_READWRITE);
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
/**
|
||||
* GESTimelineElement:timeline:
|
||||
@ -469,7 +469,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
properties[PROP_TIMELINE] =
|
||||
g_param_spec_object ("timeline", "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:
|
||||
@ -483,7 +483,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
*/
|
||||
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
||||
"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)
|
||||
@ -504,7 +504,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
*/
|
||||
properties[PROP_INPOINT] =
|
||||
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:
|
||||
@ -519,7 +520,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
properties[PROP_DURATION] =
|
||||
g_param_spec_uint64 ("duration", "Duration", "The play duration", 0,
|
||||
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:
|
||||
@ -542,7 +543,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
properties[PROP_MAX_DURATION] =
|
||||
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
||||
"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:
|
||||
@ -552,7 +554,8 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
* Deprecated: 1.10: Priority management is now done by GES itself.
|
||||
*/
|
||||
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:
|
||||
@ -570,7 +573,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
|
||||
*/
|
||||
properties[PROP_SERIALIZE] = g_param_spec_boolean ("serialize", "Serialize",
|
||||
"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);
|
||||
|
||||
|
@ -629,7 +629,7 @@ ges_timeline_class_init (GESTimelineClass * klass)
|
||||
properties[PROP_DURATION] =
|
||||
g_param_spec_uint64 ("duration", "Duration",
|
||||
"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,
|
||||
properties[PROP_DURATION]);
|
||||
|
||||
@ -643,7 +643,8 @@ ges_timeline_class_init (GESTimelineClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_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:
|
||||
@ -656,7 +657,7 @@ ges_timeline_class_init (GESTimelineClass * klass)
|
||||
properties[PROP_SNAPPING_DISTANCE] =
|
||||
g_param_spec_uint64 ("snapping-distance", "Snapping distance",
|
||||
"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,
|
||||
properties[PROP_SNAPPING_DISTANCE]);
|
||||
|
||||
|
@ -152,7 +152,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_TEXT,
|
||||
g_param_spec_string ("text", "Text", "The text to display",
|
||||
DEFAULT_TEXT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
|
||||
GES_PARAM_NO_SERIALIZATION));
|
||||
GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GESTitleClip:font-desc:
|
||||
@ -220,7 +220,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_COLOR,
|
||||
g_param_spec_uint ("color", "Color", "The color of the text",
|
||||
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:
|
||||
@ -235,7 +235,8 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_BACKGROUND,
|
||||
g_param_spec_uint ("background", "Background",
|
||||
"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:
|
||||
@ -250,7 +251,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_XPOS,
|
||||
g_param_spec_double ("xpos", "Xpos", "The horizontal position",
|
||||
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
|
||||
| GES_PARAM_NO_SERIALIZATION));
|
||||
| GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GESTitleClip:ypos:
|
||||
@ -265,7 +266,7 @@ ges_title_clip_class_init (GESTitleClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_YPOS,
|
||||
g_param_spec_double ("ypos", "Ypos", "The vertical position",
|
||||
0, 1, 0.5, G_PARAM_READWRITE | G_PARAM_CONSTRUCT
|
||||
| GES_PARAM_NO_SERIALIZATION));
|
||||
| GES_PARAM_NO_SERIALIZATION | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -92,7 +92,7 @@ ges_track_element_asset_class_init (GESTrackElementAssetClass * klass)
|
||||
properties[PROP_TRACK_TYPE] = g_param_spec_flags ("track-type",
|
||||
"Track type", "The GESTrackType in which the object is",
|
||||
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,
|
||||
properties[PROP_TRACK_TYPE]);
|
||||
|
@ -356,7 +356,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
||||
*/
|
||||
properties[PROP_ACTIVE] =
|
||||
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,
|
||||
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",
|
||||
"The track type of the object", GES_TYPE_TRACK_TYPE,
|
||||
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,
|
||||
properties[PROP_TRACK_TYPE]);
|
||||
|
||||
@ -382,7 +382,8 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
||||
* belong to a 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,
|
||||
properties[PROP_TRACK]);
|
||||
|
||||
@ -429,7 +430,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
||||
properties[PROP_HAS_INTERNAL_SOURCE] =
|
||||
g_param_spec_boolean ("has-internal-source", "Has Internal Source",
|
||||
"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,
|
||||
properties[PROP_HAS_INTERNAL_SOURCE]);
|
||||
|
||||
@ -452,7 +453,7 @@ ges_track_element_class_init (GESTrackElementClass * klass)
|
||||
g_param_spec_boolean ("auto-clamp-control-sources",
|
||||
"Auto-Clamp Control Sources", "Whether to automatically update the "
|
||||
"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,
|
||||
PROP_AUTO_CLAMP_CONTROL_SOURCES,
|
||||
properties[PROP_AUTO_CLAMP_CONTROL_SOURCES]);
|
||||
|
@ -734,7 +734,8 @@ ges_track_class_init (GESTrackClass * klass)
|
||||
*/
|
||||
properties[ARG_CAPS] = g_param_spec_boxed ("caps", "Caps",
|
||||
"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,
|
||||
properties[ARG_CAPS]);
|
||||
|
||||
@ -754,7 +755,7 @@ ges_track_class_init (GESTrackClass * klass)
|
||||
properties[ARG_RESTRICTION_CAPS] =
|
||||
g_param_spec_boxed ("restriction-caps", "Restriction 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,
|
||||
properties[ARG_RESTRICTION_CAPS]);
|
||||
|
||||
@ -769,7 +770,7 @@ ges_track_class_init (GESTrackClass * klass)
|
||||
* the underlying composition? */
|
||||
properties[ARG_DURATION] = g_param_spec_uint64 ("duration", "Duration",
|
||||
"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,
|
||||
properties[ARG_DURATION]);
|
||||
|
||||
@ -786,7 +787,7 @@ ges_track_class_init (GESTrackClass * klass)
|
||||
properties[ARG_TYPE] = g_param_spec_flags ("track-type", "TrackType",
|
||||
"Type of stream the track outputs",
|
||||
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,
|
||||
properties[ARG_TYPE]);
|
||||
|
||||
@ -801,7 +802,9 @@ ges_track_class_init (GESTrackClass * klass)
|
||||
*/
|
||||
properties[ARG_MIXING] = g_param_spec_boolean ("mixing", "Mixing",
|
||||
"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,
|
||||
properties[ARG_MIXING]);
|
||||
|
||||
|
@ -284,7 +284,7 @@ ges_transition_clip_class_init (GESTransitionClipClass * klass)
|
||||
"The SMPTE video wipe to use, or 0 for crossfade",
|
||||
GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE,
|
||||
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;
|
||||
container_class->child_added = _child_added;
|
||||
|
@ -287,7 +287,8 @@ ges_uri_clip_asset_class_init (GESUriClipAssetClass * klass)
|
||||
*/
|
||||
properties[PROP_DURATION] =
|
||||
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,
|
||||
properties[PROP_DURATION]);
|
||||
|
||||
@ -300,7 +301,8 @@ ges_uri_clip_asset_class_init (GESUriClipAssetClass * klass)
|
||||
*/
|
||||
properties[PROP_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,
|
||||
properties[PROP_IS_NESTED_TIMELINE]);
|
||||
|
||||
|
@ -157,7 +157,7 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_URI,
|
||||
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:
|
||||
@ -166,7 +166,8 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_MUTE,
|
||||
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:
|
||||
@ -177,7 +178,8 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
||||
g_object_class_install_property (object_class, PROP_IS_IMAGE,
|
||||
g_param_spec_boolean ("is-image", "Is still image",
|
||||
"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
|
||||
* and not AUDIO | VIDEO */
|
||||
@ -185,7 +187,7 @@ ges_uri_clip_class_init (GESUriClipClass * klass)
|
||||
g_param_spec_flags ("supported-formats",
|
||||
"Supported formats", "Formats supported by the file",
|
||||
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;
|
||||
|
||||
|
@ -158,7 +158,7 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
|
||||
*/
|
||||
properties[PROP_BORDER] =
|
||||
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,
|
||||
properties[PROP_BORDER]);
|
||||
|
||||
@ -172,7 +172,8 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
|
||||
properties[PROP_TRANSITION_TYPE] =
|
||||
g_param_spec_enum ("transition-type", "Transition 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,
|
||||
properties[PROP_TRANSITION_TYPE]);
|
||||
|
||||
@ -185,7 +186,8 @@ ges_video_transition_class_init (GESVideoTransitionClass * klass)
|
||||
*/
|
||||
properties[PROP_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,
|
||||
properties[PROP_INVERT]);
|
||||
|
||||
|
@ -328,7 +328,8 @@ ges_video_uri_source_class_init (GESVideoUriSourceClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_URI,
|
||||
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;
|
||||
|
||||
|
@ -542,7 +542,7 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
*/
|
||||
properties[PROP_ALPHA] =
|
||||
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:
|
||||
@ -552,7 +552,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_POSX] =
|
||||
g_param_spec_int ("posx", "posx", "x position of the stream",
|
||||
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:
|
||||
@ -562,7 +563,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_FPOSX] =
|
||||
g_param_spec_float ("fposx", "fposx", "x position of the stream in float",
|
||||
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:
|
||||
@ -572,7 +574,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_POSY] =
|
||||
g_param_spec_int ("posy", "posy", "y position of the stream",
|
||||
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] =
|
||||
g_param_spec_float ("fposy", "fposy", "y position of the stream in float",
|
||||
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:
|
||||
@ -592,7 +596,7 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
*/
|
||||
properties[PROP_ZORDER] =
|
||||
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:
|
||||
@ -603,7 +607,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_WIDTH] =
|
||||
g_param_spec_int ("width", "width", "width of the source", 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:
|
||||
@ -614,7 +619,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_FWIDTH] =
|
||||
g_param_spec_float ("fwidth", "fwidth", "width of the source in float", 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:
|
||||
@ -625,7 +631,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_HEIGHT] =
|
||||
g_param_spec_int ("height", "height", "height of the source", 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:
|
||||
@ -636,7 +643,8 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
|
||||
properties[PROP_FHEIGHT] =
|
||||
g_param_spec_float ("fheight", "fheight", "height of the source in float",
|
||||
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:
|
||||
|
@ -195,7 +195,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
*/
|
||||
properties[PROP_START] = g_param_spec_uint64 ("start", "Start",
|
||||
"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,
|
||||
properties[PROP_START]);
|
||||
|
||||
@ -206,7 +206,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
*/
|
||||
properties[PROP_DURATION] = g_param_spec_int64 ("duration", "Duration",
|
||||
"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,
|
||||
properties[PROP_DURATION]);
|
||||
|
||||
@ -219,7 +219,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
*/
|
||||
properties[PROP_STOP] = g_param_spec_uint64 ("stop", "Stop",
|
||||
"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,
|
||||
properties[PROP_STOP]);
|
||||
|
||||
@ -234,7 +234,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
properties[PROP_INPOINT] =
|
||||
g_param_spec_uint64 ("inpoint", "Media start",
|
||||
"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,
|
||||
properties[PROP_INPOINT]);
|
||||
|
||||
@ -254,7 +254,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
*/
|
||||
properties[PROP_PRIORITY] = g_param_spec_uint ("priority", "Priority",
|
||||
"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,
|
||||
properties[PROP_PRIORITY]);
|
||||
|
||||
@ -266,7 +266,8 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
* Set to #TRUE to temporarily disable this object in a #NleComposition.
|
||||
*/
|
||||
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,
|
||||
properties[PROP_ACTIVE]);
|
||||
|
||||
@ -282,7 +283,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
*/
|
||||
properties[PROP_CAPS] = g_param_spec_boxed ("caps", "Caps",
|
||||
"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,
|
||||
properties[PROP_CAPS]);
|
||||
|
||||
@ -295,7 +296,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
properties[PROP_EXPANDABLE] =
|
||||
g_param_spec_boolean ("expandable", "Expandable",
|
||||
"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,
|
||||
properties[PROP_EXPANDABLE]);
|
||||
|
||||
@ -314,7 +315,7 @@ nle_object_class_init (NleObjectClass * klass)
|
||||
properties[PROP_MEDIA_DURATION_FACTOR] =
|
||||
g_param_spec_double ("media-duration-factor", "Media duration factor",
|
||||
"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,
|
||||
properties[PROP_MEDIA_DURATION_FACTOR]);
|
||||
|
||||
|
@ -176,7 +176,7 @@ nle_operation_class_init (NleOperationClass * klass)
|
||||
g_object_class_install_property (gobject_class, ARG_SINKS,
|
||||
g_param_spec_int ("sinks", "Sinks",
|
||||
"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:
|
||||
|
@ -168,7 +168,7 @@ nle_source_class_init (NleSourceClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_REVERSE,
|
||||
g_param_spec_boolean ("reverse", "Reverse",
|
||||
"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",
|
||||
"Filter/Editor",
|
||||
|
@ -85,7 +85,8 @@ nle_urisource_class_init (NleURISourceClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_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,
|
||||
&nle_urisource_src_template);
|
||||
|
@ -161,7 +161,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
|
||||
g_param_spec_boolean ("serialize-iv", "Serialize IV",
|
||||
"Read initialization vector from first 16 bytes of first buffer",
|
||||
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
|
||||
@ -177,7 +178,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
|
||||
"If true, pad each buffer using PKCS7 padding scheme. Otherwise, only"
|
||||
"pad final buffer",
|
||||
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
|
||||
@ -192,7 +194,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
|
||||
"the number of bits in the key length : "
|
||||
"16 bytes for AES 128 and 32 bytes for AES 256",
|
||||
(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
|
||||
*
|
||||
@ -205,7 +208,8 @@ gst_aes_dec_class_init (GstAesDecClass * klass)
|
||||
"AES encryption initialization vector (in hexadecimal). "
|
||||
"Length must equal AES block length (16 bytes)",
|
||||
(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,
|
||||
"aesdec",
|
||||
|
@ -92,13 +92,14 @@ gst_chromaprint_class_init (GstChromaprintClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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_param_spec_uint ("duration", "Duration limit",
|
||||
"Number of seconds of audio to use for fingerprinting",
|
||||
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);
|
||||
|
||||
|
@ -476,13 +476,15 @@ gst_iqa_class_init (GstIqaClass * klass)
|
||||
#ifdef HAVE_DSSIM
|
||||
g_object_class_install_property (gobject_class, PROP_DO_SSIM,
|
||||
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_param_spec_double ("dssim-error-threshold", "dssim error threshold",
|
||||
"dssim value over which the element will post an error message on the bus."
|
||||
" 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
|
||||
|
||||
/**
|
||||
@ -495,7 +497,7 @@ gst_iqa_class_init (GstIqaClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_MODE,
|
||||
g_param_spec_flags ("mode", "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);
|
||||
|
||||
|
@ -209,12 +209,13 @@ gst_openal_sink_class_init (GstOpenALSinkClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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_param_spec_string ("device", "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_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_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",
|
||||
"Sink/Audio", "Output audio through OpenAL",
|
||||
|
@ -184,12 +184,12 @@ gst_openal_src_class_init (GstOpenalSrcClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_DEVICE,
|
||||
g_param_spec_string ("device", "ALCdevice",
|
||||
"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_param_spec_string ("device-name", "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,
|
||||
"OpenAL Audio Source", "Source/Audio", "Input audio through OpenAL",
|
||||
|
@ -211,7 +211,7 @@ gst_cvtracker_class_init (GstCVTrackerClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_DRAW,
|
||||
g_param_spec_boolean ("draw-rect", "Display",
|
||||
"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,
|
||||
"cvtracker",
|
||||
|
@ -201,7 +201,7 @@ gst_handdetect_class_init (GstHanddetectClass * klass)
|
||||
g_param_spec_boolean ("display",
|
||||
"Display",
|
||||
"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,
|
||||
PROP_PROFILE_FIST,
|
||||
|
@ -221,7 +221,7 @@ gst_segmentation_class_init (GstSegmentationClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_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)",
|
||||
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,
|
||||
"Foreground/background video sequence segmentation",
|
||||
|
@ -329,12 +329,12 @@ gst_base_qr_overlay_class_init (GstBaseQROverlayClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_X_AXIS,
|
||||
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,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_Y_AXIS,
|
||||
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,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstBaseQROverlay:size:
|
||||
@ -347,7 +347,8 @@ gst_base_qr_overlay_class_init (GstBaseQROverlayClass * klass)
|
||||
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)",
|
||||
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_param_spec_enum ("qrcode-error-correction", "qrcode-error-correction",
|
||||
|
@ -130,25 +130,29 @@ gst_debug_qr_overlay_class_init (GstDebugQROverlayClass * klass)
|
||||
g_param_spec_int64 ("extra-data-interval-buffers",
|
||||
"extra-data-interval-buffers",
|
||||
"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,
|
||||
PROP_DATA_SPAN_BUFFERS, g_param_spec_int64 ("extra-data-span-buffers",
|
||||
"extra-data-span-buffers",
|
||||
"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,
|
||||
PROP_EXTRA_DATA_NAME, g_param_spec_string ("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,
|
||||
PROP_EXTRA_DATA_ARRAY, g_param_spec_string ("extra-data-array",
|
||||
"Extra data array",
|
||||
"List of comma separated values that the extra data value will be "
|
||||
" 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,
|
||||
|
@ -106,7 +106,8 @@ gst_sf_src_class_init (GstSFSrcClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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);
|
||||
|
||||
|
@ -125,27 +125,29 @@ gst_tone_generate_src_class_init (GstToneGenerateSrcClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_ON_TIME,
|
||||
g_param_spec_int ("on-time", "Signal ON time first period",
|
||||
"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_param_spec_int ("off-time", "Signal OFF time first period ",
|
||||
"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_param_spec_int ("on-time2", "Signal ON time second period",
|
||||
"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_param_spec_int ("off-time2", "Signal OFF time first period ",
|
||||
"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_param_spec_boolean ("repeat", "Repeat the specified tone period ",
|
||||
"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_tone_generate_src_src_template);
|
||||
|
@ -522,7 +522,8 @@ gst_x265_enc_class_init (GstX265EncClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_KEY_INT_MAX,
|
||||
g_param_spec_int ("key-int-max", "Max key frame",
|
||||
"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,
|
||||
"x265enc", "Codec/Encoder/Video", "H265 Encoder",
|
||||
|
@ -585,7 +585,7 @@ gst_source_buffer_class_init (GstSourceBufferClass * klass)
|
||||
"Updating",
|
||||
"Whether the current Source Buffer is still"
|
||||
" 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);
|
||||
|
||||
|
@ -321,7 +321,7 @@ gst_transcoder_signal_adapter_class_init (GstTranscoderSignalAdapterClass *
|
||||
param_specs[PROP_TRANSCODER] =
|
||||
g_param_spec_object ("transcoder", "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);
|
||||
}
|
||||
|
@ -124,20 +124,22 @@ gst_fragment_class_init (GstFragmentClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_INDEX,
|
||||
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_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_param_spec_boolean ("discontinuous", "Discontinuous",
|
||||
"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_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_param_spec_boxed ("buffer", "Buffer",
|
||||
|
@ -106,12 +106,12 @@ gst_accurip_class_init (GstAccuripClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_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",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_accurip_finalize);
|
||||
|
||||
|
@ -177,7 +177,7 @@ gst_proxy_src_class_init (GstProxySrcClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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->send_event = gst_proxy_src_send_event;
|
||||
|
@ -140,36 +140,39 @@ gst_remove_silence_class_init (GstRemoveSilenceClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_REMOVE,
|
||||
g_param_spec_boolean ("remove", "Remove",
|
||||
"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_param_spec_uint64 ("hysteresis",
|
||||
"Hysteresis",
|
||||
"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_param_spec_int ("threshold",
|
||||
"Threshold",
|
||||
"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_param_spec_boolean ("squash", "Squash",
|
||||
"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_param_spec_boolean ("silent", "Silent",
|
||||
"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_param_spec_uint ("minimum-silence-buffers", "Minimum silence buffers",
|
||||
"Define the minimum number of consecutive silence buffers before "
|
||||
"removing silence, 0 means disabled. This will not introduce latency",
|
||||
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_param_spec_uint64 ("minimum_silence_time",
|
||||
|
@ -300,16 +300,18 @@ gst_a2dp_sink_class_init (GstA2dpSinkClass * klass)
|
||||
|
||||
g_object_class_install_property (object_class, PROP_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_param_spec_boolean ("auto-connect", "Auto-connect",
|
||||
"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_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",
|
||||
"Sink/Audio", "Plays audio to an A2DP device",
|
||||
|
@ -380,17 +380,20 @@ gst_avdtp_sink_class_init (GstAvdtpSinkClass * klass)
|
||||
|
||||
g_object_class_install_property (object_class, PROP_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_param_spec_boolean ("auto-connect",
|
||||
"Auto-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_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,
|
||||
"A2DP headset sink element");
|
||||
|
@ -105,13 +105,14 @@ gst_avdtp_src_class_init (GstAvdtpSrcClass * klass)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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_param_spec_uint ("transport-volume",
|
||||
"Transport volume",
|
||||
"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,
|
||||
"Bluetooth AVDTP Source",
|
||||
|
@ -221,17 +221,17 @@ gst_dshowvideosink_class_init (GstDshowVideoSinkClass * klass)
|
||||
PROP_KEEP_ASPECT_RATIO, g_param_spec_boolean ("force-aspect-ratio",
|
||||
"Force aspect ratio",
|
||||
"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),
|
||||
PROP_FULL_SCREEN, g_param_spec_boolean ("fullscreen",
|
||||
"Full screen mode",
|
||||
"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),
|
||||
PROP_RENDERER, g_param_spec_string ("renderer", "Renderer",
|
||||
"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
|
||||
|
@ -135,20 +135,20 @@ gst_dshowvideosrc_class_init (GstDshowVideoSrcClass * klass)
|
||||
(gobject_class, PROP_DEVICE,
|
||||
g_param_spec_string ("device", "Device",
|
||||
"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
|
||||
(gobject_class, PROP_DEVICE_NAME,
|
||||
g_param_spec_string ("device-name", "Device name",
|
||||
"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
|
||||
(gobject_class, PROP_DEVICE_INDEX,
|
||||
g_param_spec_int ("device-index", "Device index",
|
||||
"Index of the enumerated video device", 0, G_MAXINT,
|
||||
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);
|
||||
|
||||
|
@ -217,7 +217,8 @@ gst_directsound_src_class_init (GstDirectSoundSrcClass * klass)
|
||||
g_object_class_install_property
|
||||
(gobject_class, PROP_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,
|
||||
PROP_DEVICE,
|
||||
|
@ -655,62 +655,72 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
g_object_class_install_property (gobject_class, ARG_DVBSRC_ADAPTER,
|
||||
g_param_spec_int ("adapter", "The adapter device number",
|
||||
"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_param_spec_int ("frontend", "The frontend device number",
|
||||
"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_param_spec_uint ("frequency", "Center frequency",
|
||||
"Center frequency to tune into. Measured in kHz for the satellite "
|
||||
"distribution standards and Hz for all the rest",
|
||||
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_param_spec_string ("polarity", "polarity",
|
||||
"(DVB-S/S2) Polarity [vhHV] (eg. V for Vertical)",
|
||||
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_param_spec_string ("pids", "pids",
|
||||
"Colon-separated list of PIDs (eg. 110:120) to capture. ACT and CAT "
|
||||
"are automatically included but PMT should be added explicitly. "
|
||||
"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_param_spec_uint ("symbol-rate",
|
||||
"symbol rate",
|
||||
"(DVB-S/S2, DVB-C) Symbol rate in kBd (kilo bauds)",
|
||||
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_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_param_spec_int ("diseqc-source",
|
||||
"diseqc source",
|
||||
"(DVB-S/S2) Selected DiSEqC source. Only needed if you have a "
|
||||
"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_param_spec_uint ("bandwidth-hz", "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
|
||||
g_object_class_install_property (gobject_class, ARG_DVBSRC_BANDWIDTH,
|
||||
g_param_spec_enum ("bandwidth", "bandwidth",
|
||||
"(DVB-T) Bandwidth. Deprecated", GST_TYPE_DVBSRC_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
|
||||
|
||||
/* FIXME: DVB-C, DVB-S, DVB-S2 named it as innerFEC */
|
||||
@ -719,14 +729,16 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
"code-rate-hp",
|
||||
"(DVB-T, DVB-S/S2 and DVB-C) High priority code rate",
|
||||
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_param_spec_enum ("code-rate-lp",
|
||||
"code-rate-lp",
|
||||
"(DVB-T) Low priority code rate",
|
||||
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? */
|
||||
g_object_class_install_property (gobject_class, ARG_DVBSRC_GUARD,
|
||||
@ -734,13 +746,15 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
"guard",
|
||||
"(DVB-T) Guard Interval",
|
||||
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_param_spec_enum ("modulation", "modulation",
|
||||
"(DVB-T/T2/C/S2, TURBO and ATSC) Modulation type",
|
||||
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' */
|
||||
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",
|
||||
"(DVB-T) 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_param_spec_enum ("hierarchy", "hierarchy",
|
||||
"(DVB-T) Hierarchy information",
|
||||
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_param_spec_enum ("inversion", "inversion",
|
||||
"(DVB-T and DVB-C) Inversion information",
|
||||
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,
|
||||
ARG_DVBSRC_STATS_REPORTING_INTERVAL,
|
||||
@ -768,45 +785,53 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
"stats-reporting-interval",
|
||||
"The number of reads before reporting frontend stats",
|
||||
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_param_spec_uint64 ("timeout", "Timeout",
|
||||
"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_param_spec_uint64 ("tuning-timeout", "Tuning Timeout",
|
||||
"Microseconds to wait before giving up tuning/locking on a signal",
|
||||
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,
|
||||
ARG_DVBSRC_DVB_BUFFER_SIZE,
|
||||
g_param_spec_uint ("dvb-buffer-size",
|
||||
"dvb-buffer-size",
|
||||
"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_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_param_spec_enum ("pilot", "pilot", "Pilot (DVB-S2)",
|
||||
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_param_spec_enum ("rolloff", "rolloff", "Rolloff (DVB-S2)",
|
||||
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_param_spec_int ("stream-id", "stream-id",
|
||||
"(DVB-T2 and DVB-S2 max 255, ISDB max 65535) 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 */
|
||||
|
||||
@ -817,7 +842,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
"ISDB-T layer enabled",
|
||||
"(ISDB-T) Layer Enabled (7 = All layers)", 1, 7,
|
||||
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,
|
||||
ARG_DVBSRC_ISDBT_PARTIAL_RECEPTION,
|
||||
@ -825,7 +851,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
"ISDB-T partial reception",
|
||||
"(ISDB-T) Partial Reception (-1 = AUTO)", -1, 1,
|
||||
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,
|
||||
ARG_DVBSRC_ISDBT_SOUND_BROADCASTING,
|
||||
@ -833,7 +860,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
"ISDB-T sound broadcasting",
|
||||
"(ISDB-T) Sound Broadcasting", 0, 1,
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 41,
|
||||
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,
|
||||
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", 0, 12,
|
||||
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,
|
||||
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", 1, 13,
|
||||
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_param_spec_enum ("isdbt-layera-fec",
|
||||
"ISDB-T layer A FEC", "(ISDB-T) layer A Forward Error Correction",
|
||||
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_param_spec_enum ("isdbt-layerb-fec",
|
||||
"ISDB-T layer B FEC", "(ISDB-T) layer B Forward Error Correction",
|
||||
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_param_spec_enum ("isdbt-layerc-fec",
|
||||
"ISDB-T layer A FEC", "(ISDB-T) layer C Forward Error Correction",
|
||||
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,
|
||||
ARG_DVBSRC_ISDBT_LAYERA_MODULATION,
|
||||
g_param_spec_enum ("isdbt-layera-modulation", "ISDBT layer A modulation",
|
||||
"(ISDB-T) Layer A modulation type",
|
||||
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,
|
||||
ARG_DVBSRC_ISDBT_LAYERB_MODULATION,
|
||||
g_param_spec_enum ("isdbt-layerb-modulation", "ISDBT layer B modulation",
|
||||
"(ISDB-T) Layer B modulation type",
|
||||
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,
|
||||
ARG_DVBSRC_ISDBT_LAYERC_MODULATION,
|
||||
g_param_spec_enum ("isdbt-layerc-modulation", "ISDBT layer C modulation",
|
||||
"(ISDB-T) Layer C modulation type",
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 13,
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 13,
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 13,
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 8,
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 8,
|
||||
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,
|
||||
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 (-1 = AUTO)", -1, 8,
|
||||
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) */
|
||||
|
||||
@ -952,19 +995,22 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
g_param_spec_uint ("lnb-slof", "Tuning Timeout",
|
||||
"LNB's Upper bound for low band reception (kHz)",
|
||||
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_param_spec_uint ("lnb-lof1", "Low band local oscillator frequency",
|
||||
"LNB's Local oscillator frequency used for low band reception (kHz)",
|
||||
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_param_spec_uint ("lnb-lof2", "High band local oscillator frequency",
|
||||
"LNB's Local oscillator frequency used for high band reception (kHz)",
|
||||
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 */
|
||||
|
||||
@ -973,7 +1019,8 @@ gst_dvbsrc_class_init (GstDvbSrcClass * klass)
|
||||
g_param_spec_enum ("interleaving", "DTMB Interleaving",
|
||||
"(DTMB) Interleaving type",
|
||||
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:
|
||||
|
@ -421,7 +421,8 @@ gst_fbdevsink_class_init (GstFBDEVSinkClass * klass)
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_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->get_caps = GST_DEBUG_FUNCPTR (gst_fbdevsink_getcaps);
|
||||
|
@ -275,7 +275,7 @@ gst_kms_allocator_class_init (GstKMSAllocatorClass * klass)
|
||||
|
||||
g_props[PROP_DRM_FD] = g_param_spec_int ("drm-fd", "DRM fd",
|
||||
"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);
|
||||
}
|
||||
|
@ -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_param_spec_int ("text-x", "horizontal position.",
|
||||
"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:
|
||||
@ -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_param_spec_int ("text-y", "vertical position",
|
||||
"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:
|
||||
@ -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_param_spec_uint ("text-width", "width",
|
||||
"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:
|
||||
@ -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_param_spec_uint ("text-height", "height",
|
||||
"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:
|
||||
|
@ -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",
|
||||
"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):
|
||||
|
@ -315,7 +315,7 @@ gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_SOURCE_INFO,
|
||||
g_param_spec_boolean ("source-info", "RTP source information",
|
||||
"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:
|
||||
@ -330,7 +330,8 @@ gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_MAX_REORDER,
|
||||
g_param_spec_int ("max-reorder", "Max Reorder",
|
||||
"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:
|
||||
|
@ -490,7 +490,8 @@ gst_navigationtest_class_init (GstNavigationtestClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_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:
|
||||
@ -501,7 +502,8 @@ gst_navigationtest_class_init (GstNavigationtestClass * klass)
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_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 =
|
||||
GST_DEBUG_FUNCPTR (gst_navigationtest_change_state);
|
||||
|
@ -129,31 +129,34 @@ gst_push_file_src_class_init (GstPushFileSrcClass * g_class)
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_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_param_spec_int64 ("stream-time", "Stream Time",
|
||||
"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_param_spec_int64 ("start-time", "Start Time",
|
||||
"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_param_spec_uint64 ("initial-timestamp", "Initial Timestamp",
|
||||
"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_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_param_spec_double ("applied-rate", "Applied Rate",
|
||||
"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);
|
||||
|
||||
|
@ -155,7 +155,7 @@ gst_multipart_demux_class_init (GstMultipartDemuxClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_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",
|
||||
DEFAULT_SINGLE_STREAM, G_PARAM_READWRITE));
|
||||
DEFAULT_SINGLE_STREAM, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/* populate gst names and mime types pairs */
|
||||
klass->gstnames = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
|
@ -310,7 +310,8 @@ gst_rtp_sbc_pay_class_init (GstRtpSBCPayClass * klass)
|
||||
g_param_spec_int ("min-frames", "minimum frame number",
|
||||
"Minimum quantity of frames to send in one packet "
|
||||
"(-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_rtp_sbc_pay_sink_factory);
|
||||
|
@ -303,12 +303,13 @@ gst_v4l2radio_class_init (GstV4l2RadioClass * klass)
|
||||
g_object_class_install_property (gobject_class, ARG_DEVICE,
|
||||
g_param_spec_string ("device", "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_param_spec_int ("frequency", "Station frequency",
|
||||
"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 =
|
||||
GST_DEBUG_FUNCPTR (gst_v4l2radio_change_state);
|
||||
|
@ -163,19 +163,21 @@ gst_v4l2sink_class_init (GstV4l2SinkClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_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",
|
||||
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_param_spec_int ("crop-left", "Crop left",
|
||||
"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_param_spec_uint ("crop-width", "Crop 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_param_spec_uint ("crop-height", "Crop 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,
|
||||
"Video (video4linux2) Sink", "Sink/Video",
|
||||
|
@ -1331,7 +1331,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass)
|
||||
g_object_class_install_property (gc, PROP_STARTY,
|
||||
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)",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstXImageSrc:endx:
|
||||
*
|
||||
@ -1341,7 +1341,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass)
|
||||
g_object_class_install_property (gc, PROP_ENDX,
|
||||
g_param_spec_uint ("endx", "End X",
|
||||
"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:
|
||||
*
|
||||
@ -1351,7 +1351,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass)
|
||||
g_object_class_install_property (gc, PROP_ENDY,
|
||||
g_param_spec_uint ("endy", "End Y",
|
||||
"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:
|
||||
|
@ -78,7 +78,8 @@ gst_rtsp_latency_bin_class_init (GstRTSPLatencyBinClass * klass)
|
||||
g_object_class_install_property (gobject_klass, PROP_ELEMENT,
|
||||
g_param_spec_object ("element", "The Element",
|
||||
"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 =
|
||||
GST_DEBUG_FUNCPTR (gst_rtsp_latency_bin_change_state);
|
||||
|
@ -422,7 +422,7 @@ gst_rtsp_media_class_init (GstRTSPMediaClass * klass)
|
||||
g_object_class_install_property (gobject_class, PROP_ELEMENT,
|
||||
g_param_spec_object ("element", "The 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_param_spec_boolean ("time-provider", "Time Provider",
|
||||
|
Loading…
x
Reference in New Issue
Block a user