mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 05:52:37 +00:00
various (gst): add a missing G_PARAM_STATIC_STRINGS flags
This commit is contained in:
parent
77b656eec1
commit
d8167e3071
49 changed files with 199 additions and 140 deletions
|
@ -307,7 +307,8 @@ gst_audio_amplify_class_init (GstAudioAmplifyClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_AMPLIFICATION,
|
||||
g_param_spec_float ("amplification", "Amplification",
|
||||
"Factor of amplification", -G_MAXFLOAT, G_MAXFLOAT,
|
||||
1.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
1.0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstAudioAmplify:clipping-method
|
||||
|
@ -321,7 +322,7 @@ gst_audio_amplify_class_init (GstAudioAmplifyClass * klass)
|
|||
g_param_spec_enum ("clipping-method", "Clipping method",
|
||||
"Selects how to handle values higher than the maximum",
|
||||
GST_TYPE_AUDIO_AMPLIFY_CLIPPING_METHOD, METHOD_CLIP,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_AUDIO_FILTER_CLASS (klass)->setup =
|
||||
GST_DEBUG_FUNCPTR (gst_audio_amplify_setup);
|
||||
|
|
|
@ -242,23 +242,26 @@ gst_audio_dynamic_class_init (GstAudioDynamicClass * klass)
|
|||
"Selects whether the ratio should be applied smooth (soft-knee) "
|
||||
"or hard (hard-knee).",
|
||||
GST_TYPE_AUDIO_DYNAMIC_CHARACTERISTICS, CHARACTERISTICS_HARD_KNEE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_MODE,
|
||||
g_param_spec_enum ("mode", "Mode",
|
||||
"Selects whether the filter should work on loud samples (compressor) or"
|
||||
"quiet samples (expander).",
|
||||
GST_TYPE_AUDIO_DYNAMIC_MODE, MODE_COMPRESSOR, G_PARAM_READWRITE));
|
||||
GST_TYPE_AUDIO_DYNAMIC_MODE, MODE_COMPRESSOR,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_THRESHOLD,
|
||||
g_param_spec_float ("threshold", "Threshold",
|
||||
"Threshold until the filter is activated", 0.0, 1.0,
|
||||
0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
0.0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_RATIO,
|
||||
g_param_spec_float ("ratio", "Ratio",
|
||||
"Ratio that should be applied", 0.0, G_MAXFLOAT,
|
||||
1.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
1.0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_AUDIO_FILTER_CLASS (klass)->setup =
|
||||
GST_DEBUG_FUNCPTR (gst_audio_dynamic_setup);
|
||||
|
|
|
@ -130,7 +130,8 @@ gst_audio_invert_class_init (GstAudioInvertClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_DEGREE,
|
||||
g_param_spec_float ("degree", "Degree",
|
||||
"Degree of inversion", 0.0, 1.0,
|
||||
0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
0.0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_AUDIO_FILTER_CLASS (klass)->setup =
|
||||
GST_DEBUG_FUNCPTR (gst_audio_invert_setup);
|
||||
|
|
|
@ -136,22 +136,22 @@ gst_audio_karaoke_class_init (GstAudioKaraokeClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_LEVEL,
|
||||
g_param_spec_float ("level", "Level",
|
||||
"Level of the effect (1.0 = full)", 0.0, 1.0, DEFAULT_LEVEL,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_MONO_LEVEL,
|
||||
g_param_spec_float ("mono-level", "Mono Level",
|
||||
"Level of the mono channel (1.0 = full)", 0.0, 1.0, DEFAULT_LEVEL,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FILTER_BAND,
|
||||
g_param_spec_float ("filter-band", "Filter Band",
|
||||
"The Frequency band of the filter", 0.0, 441.0, DEFAULT_FILTER_BAND,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FILTER_WIDTH,
|
||||
g_param_spec_float ("filter-width", "Filter Width",
|
||||
"The Frequency width of the filter", 0.0, 100.0, DEFAULT_FILTER_WIDTH,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_AUDIO_FILTER_CLASS (klass)->setup =
|
||||
GST_DEBUG_FUNCPTR (gst_audio_karaoke_setup);
|
||||
|
|
|
@ -206,7 +206,8 @@ gst_audio_panorama_class_init (GstAudioPanoramaClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_PANORAMA,
|
||||
g_param_spec_float ("panorama", "Panorama",
|
||||
"Position in stereo panorama (-1.0 left -> 1.0 right)", -1.0, 1.0,
|
||||
0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
|
||||
0.0,
|
||||
G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstAudioPanorama:method
|
||||
*
|
||||
|
@ -221,7 +222,7 @@ gst_audio_panorama_class_init (GstAudioPanoramaClass * klass)
|
|||
"Psychoacoustic mode keeps same perceived loudness, "
|
||||
"simple mode just controls volume of one channel.",
|
||||
GST_TYPE_AUDIO_PANORAMA_METHOD, METHOD_PSYCHOACOUSTIC,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_BASE_TRANSFORM_CLASS (klass)->get_unit_size =
|
||||
GST_DEBUG_FUNCPTR (gst_audio_panorama_get_unit_size);
|
||||
|
|
|
@ -111,7 +111,7 @@ gst_auto_audio_sink_class_init (GstAutoAudioSinkClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("filter-caps", "Filter caps",
|
||||
"Filter sink candidates using these caps.", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -113,7 +113,7 @@ gst_auto_audio_src_class_init (GstAutoAudioSrcClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("filter-caps", "Filter caps",
|
||||
"Filter sink candidates using these caps.", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -108,7 +108,7 @@ gst_auto_video_sink_class_init (GstAutoVideoSinkClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("filter-caps", "Filter caps",
|
||||
"Filter sink candidates using these caps.", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -111,7 +111,7 @@ gst_auto_video_src_class_init (GstAutoVideoSrcClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("filter-caps", "Filter caps",
|
||||
"Filter src candidates using these caps.", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -306,7 +306,7 @@ gst_avi_mux_class_init (GstAviMuxClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_BIGFILE,
|
||||
g_param_spec_boolean ("bigfile", "Bigfile Support (>2GB)",
|
||||
"Support for openDML-2.0 (big) AVI files", DEFAULT_BIGFILE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->request_new_pad =
|
||||
GST_DEBUG_FUNCPTR (gst_avi_mux_request_new_pad);
|
||||
|
|
|
@ -137,23 +137,25 @@ gst_cutter_class_init (GstCutterClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_THRESHOLD,
|
||||
g_param_spec_double ("threshold", "Threshold",
|
||||
"Volume threshold before trigger",
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE));
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_THRESHOLD_DB,
|
||||
g_param_spec_double ("threshold-dB", "Threshold (dB)",
|
||||
"Volume threshold before trigger (in dB)",
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE));
|
||||
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_RUN_LENGTH,
|
||||
g_param_spec_uint64 ("run-length", "Run length",
|
||||
"Length of drop below threshold before cut_stop (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 (G_OBJECT_CLASS (klass), PROP_PRE_LENGTH,
|
||||
g_param_spec_uint64 ("pre-length", "Pre-recording buffer length",
|
||||
"Length of pre-recording buffer (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 (G_OBJECT_CLASS (klass), PROP_LEAKY,
|
||||
g_param_spec_boolean ("leaky", "Leaky",
|
||||
"do we leak buffers when below threshold ?",
|
||||
FALSE, G_PARAM_READWRITE));
|
||||
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (cutter_debug, "cutter", 0, "Audio cutting");
|
||||
}
|
||||
|
|
|
@ -135,19 +135,22 @@ gst_break_my_data_class_init (GstBreakMyDataClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_SEED,
|
||||
g_param_spec_uint ("seed", "seed",
|
||||
"seed for randomness (initialized when going from READY to PAUSED)",
|
||||
0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0, G_MAXUINT32, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_SET_TO,
|
||||
g_param_spec_int ("set-to", "set-to",
|
||||
"set changed bytes to this value (-1 means random value",
|
||||
-1, G_MAXUINT8, -1, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
-1, G_MAXUINT8, -1,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_SKIP,
|
||||
g_param_spec_uint ("skip", "skip",
|
||||
"amount of bytes skipped at the beginning of stream",
|
||||
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_PROBABILITY,
|
||||
g_param_spec_double ("probability", "probability",
|
||||
"probability for each byte in the buffer to be changed", 0.0, 1.0,
|
||||
0.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0.0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbasetrans_class->transform_ip =
|
||||
GST_DEBUG_FUNCPTR (gst_break_my_data_transform_ip);
|
||||
|
|
|
@ -162,7 +162,8 @@ gst_efence_class_init (GstEFenceClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_FENCE_TOP,
|
||||
g_param_spec_boolean ("fence-top", "Fence Top",
|
||||
"Align buffers with top of fenced region", TRUE, G_PARAM_READWRITE));
|
||||
"Align buffers with top of fenced region", TRUE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
/* initialize the new element
|
||||
|
|
|
@ -94,7 +94,7 @@ gst_navseek_class_init (GstNavSeekClass * klass)
|
|||
g_object_class_install_property (gobject_class,
|
||||
ARG_SEEKOFFSET, g_param_spec_double ("seek-offset", "Seek Offset",
|
||||
"Time in seconds to seek by", 0.0, G_MAXDOUBLE, 5.0,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbasetrans_class->event = GST_DEBUG_FUNCPTR (gst_navseek_event);
|
||||
gstbasetrans_class->transform_ip =
|
||||
|
|
|
@ -158,7 +158,7 @@ gst_negotiation_class_init (GstNegotiationClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_ALLOWED_CAPS,
|
||||
g_param_spec_boxed ("allowed-caps", "Caps",
|
||||
"The range of formats allowed by " "this element's peers",
|
||||
GST_TYPE_CAPS, G_PARAM_READABLE));
|
||||
GST_TYPE_CAPS, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -159,16 +159,17 @@ gst_progress_report_class_init (GstProgressReportClass * g_class)
|
|||
g_object_class_install_property (gobject_class,
|
||||
ARG_UPDATE_FREQ, g_param_spec_int ("update-freq", "Update Frequency",
|
||||
"Number of seconds between reports when data is flowing", 1, G_MAXINT,
|
||||
DEFAULT_UPDATE_FREQ, G_PARAM_READWRITE));
|
||||
DEFAULT_UPDATE_FREQ, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
ARG_SILENT, g_param_spec_boolean ("silent",
|
||||
"Do not print output to stdout", "Do not print output to stdout",
|
||||
DEFAULT_SILENT, G_PARAM_READWRITE));
|
||||
DEFAULT_SILENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
ARG_FORMAT, g_param_spec_string ("format", "format",
|
||||
"Format to use for the querying", DEFAULT_FORMAT, G_PARAM_READWRITE));
|
||||
"Format to use for the querying", DEFAULT_FORMAT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbasetrans_class->event = GST_DEBUG_FUNCPTR (gst_progress_report_event);
|
||||
gstbasetrans_class->transform_ip =
|
||||
|
|
|
@ -136,13 +136,16 @@ gst_rnd_buffer_size_class_init (GstRndBufferSizeClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_SEED,
|
||||
g_param_spec_ulong ("seed", "random number seed",
|
||||
"seed for randomness (initialized when going from READY to PAUSED)",
|
||||
0, G_MAXUINT32, DEFAULT_SEED, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0, G_MAXUINT32, DEFAULT_SEED,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_MINIMUM,
|
||||
g_param_spec_long ("min", "mininum", "mininum buffer size",
|
||||
0, G_MAXINT32, DEFAULT_MIN, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
0, G_MAXINT32, DEFAULT_MIN,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_MAXIMUM,
|
||||
g_param_spec_long ("max", "maximum", "maximum buffer size",
|
||||
1, G_MAXINT32, DEFAULT_MAX, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
1, G_MAXINT32, DEFAULT_MAX,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -116,7 +116,7 @@ gst_id3demux_class_init (GstID3DemuxClass * klass)
|
|||
g_param_spec_boolean ("prefer-v1", "Prefer version 1 tag",
|
||||
"Prefer tags from ID3v1 tag at end of file when both ID3v1 "
|
||||
"and ID3v2 tags are present", DEFAULT_PREFER_V1,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
tagdemux_class->identify_tag = GST_DEBUG_FUNCPTR (gst_id3demux_identify_tag);
|
||||
tagdemux_class->parse_tag = GST_DEBUG_FUNCPTR (gst_id3demux_parse_tag);
|
||||
|
|
|
@ -203,19 +203,21 @@ gst_level_class_init (GstLevelClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_SIGNAL_LEVEL,
|
||||
g_param_spec_boolean ("message", "message",
|
||||
"Post a level message for each passed interval",
|
||||
TRUE, G_PARAM_READWRITE));
|
||||
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_SIGNAL_INTERVAL,
|
||||
g_param_spec_uint64 ("interval", "Interval",
|
||||
"Interval of time between message posts (in nanoseconds)",
|
||||
1, G_MAXUINT64, GST_SECOND / 10, G_PARAM_READWRITE));
|
||||
1, G_MAXUINT64, GST_SECOND / 10,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PEAK_TTL,
|
||||
g_param_spec_uint64 ("peak-ttl", "Peak TTL",
|
||||
"Time To Live of decay peak before it falls back (in nanoseconds)",
|
||||
0, G_MAXUINT64, GST_SECOND / 10 * 3, G_PARAM_READWRITE));
|
||||
0, G_MAXUINT64, GST_SECOND / 10 * 3,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_PEAK_FALLOFF,
|
||||
g_param_spec_double ("peak-falloff", "Peak Falloff",
|
||||
"Decay rate of decay peak after TTL (in dB/sec)",
|
||||
0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE));
|
||||
0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (level_debug, "level", 0, "Level calculation");
|
||||
|
||||
|
|
|
@ -296,20 +296,23 @@ gst_matroska_mux_class_init (GstMatroskaMuxClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_WRITING_APP,
|
||||
g_param_spec_string ("writing-app", "Writing application.",
|
||||
"The name the application that creates the matroska file.",
|
||||
NULL, G_PARAM_READWRITE));
|
||||
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_DOCTYPE_VERSION,
|
||||
g_param_spec_int ("version", "DocType version",
|
||||
"This parameter determines what Matroska features can be used.",
|
||||
1, 2, DEFAULT_DOCTYPE_VERSION, G_PARAM_READWRITE));
|
||||
1, 2, DEFAULT_DOCTYPE_VERSION,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_MIN_INDEX_INTERVAL,
|
||||
g_param_spec_int64 ("min-index-interval", "Minimum time between index "
|
||||
"entries", "An index entry is created every so many nanoseconds.",
|
||||
0, G_MAXINT64, DEFAULT_MIN_INDEX_INTERVAL, G_PARAM_READWRITE));
|
||||
0, G_MAXINT64, DEFAULT_MIN_INDEX_INTERVAL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_STREAMABLE,
|
||||
g_param_spec_boolean ("streamable", "Determines whether output should "
|
||||
"be streamable", "If set to true, the output should be as if it is "
|
||||
"to be streamed and hence no indexes written or duration written.",
|
||||
DEFAULT_STREAMABLE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
DEFAULT_STREAMABLE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_matroska_mux_change_state);
|
||||
|
|
|
@ -126,13 +126,13 @@ gst_median_class_init (GstMedianClass * klass)
|
|||
/* FIXME: add long property descriptions */
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ACTIVE,
|
||||
g_param_spec_boolean ("active", "active", "active", TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FILTERSIZE,
|
||||
g_param_spec_int ("filtersize", "filtersize", "filtersize", G_MININT,
|
||||
G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_LUM_ONLY,
|
||||
g_param_spec_boolean ("lum-only", "lum-only", "lum-only", TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->set_property = gst_median_set_property;
|
||||
gobject_class->get_property = gst_median_get_property;
|
||||
|
|
|
@ -199,13 +199,15 @@ gst_multi_file_sink_class_init (GstMultiFileSinkClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_LOCATION,
|
||||
g_param_spec_string ("location", "File Location",
|
||||
"Location of the file to write", NULL, G_PARAM_READWRITE));
|
||||
"Location of the file to write", NULL,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_INDEX,
|
||||
g_param_spec_int ("index", "Index",
|
||||
"Index to use with location property to create file names. The "
|
||||
"index is incremented by one for each buffer written.",
|
||||
0, G_MAXINT, DEFAULT_INDEX, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, DEFAULT_INDEX,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstMultiFileSink:post-messages
|
||||
*
|
||||
|
@ -216,7 +218,7 @@ gst_multi_file_sink_class_init (GstMultiFileSinkClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_POST_MESSAGES,
|
||||
g_param_spec_boolean ("post-messages", "Post Messages",
|
||||
"Post a message for each file with information of the buffer",
|
||||
DEFAULT_POST_MESSAGES, G_PARAM_READWRITE));
|
||||
DEFAULT_POST_MESSAGES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstMultiFileSink:next-file
|
||||
*
|
||||
|
@ -228,7 +230,7 @@ gst_multi_file_sink_class_init (GstMultiFileSinkClass * klass)
|
|||
g_param_spec_enum ("next-file", "Next File",
|
||||
"When to start a new file",
|
||||
GST_TYPE_MULTI_FILE_SINK_NEXT, DEFAULT_NEXT_FILE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->finalize = gst_multi_file_sink_finalize;
|
||||
|
||||
|
|
|
@ -114,16 +114,18 @@ gst_multi_file_src_class_init (GstMultiFileSrcClass * klass)
|
|||
g_param_spec_string ("location", "File Location",
|
||||
"Pattern to create file names of input files. File names are "
|
||||
"created by calling sprintf() with the pattern and the current "
|
||||
"index.", DEFAULT_LOCATION, G_PARAM_READWRITE));
|
||||
"index.", DEFAULT_LOCATION,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_INDEX,
|
||||
g_param_spec_int ("index", "File Index",
|
||||
"Index to use with location property to create file names. The "
|
||||
"index is incremented by one for each buffer read.",
|
||||
0, INT_MAX, DEFAULT_INDEX, G_PARAM_READWRITE));
|
||||
0, INT_MAX, DEFAULT_INDEX,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_CAPS,
|
||||
g_param_spec_boxed ("caps", "Caps",
|
||||
"Caps describing the format of the data.",
|
||||
GST_TYPE_CAPS, G_PARAM_READWRITE));
|
||||
GST_TYPE_CAPS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->dispose = gst_multi_file_src_dispose;
|
||||
|
||||
|
|
|
@ -157,12 +157,13 @@ gst_multipart_demux_class_init (GstMultipartDemuxClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_BOUNDARY,
|
||||
g_param_spec_string ("boundary", "Boundary",
|
||||
"The boundary string separating data, automatic if NULL",
|
||||
DEFAULT_BOUNDARY, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_BOUNDARY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_AUTOSCAN,
|
||||
g_param_spec_boolean ("autoscan", "autoscan",
|
||||
"Try to autofind the prefix (deprecated unused, see boundary)",
|
||||
DEFAULT_AUTOSCAN, G_PARAM_READWRITE));
|
||||
DEFAULT_AUTOSCAN, 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);
|
||||
|
|
|
@ -155,7 +155,7 @@ gst_multipart_mux_class_init (GstMultipartMuxClass * klass)
|
|||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BOUNDARY,
|
||||
g_param_spec_string ("boundary", "Boundary", "Boundary string",
|
||||
DEFAULT_BOUNDARY, G_PARAM_READWRITE));
|
||||
DEFAULT_BOUNDARY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->request_new_pad = gst_multipart_mux_request_new_pad;
|
||||
gstelement_class->change_state = gst_multipart_mux_change_state;
|
||||
|
|
|
@ -212,7 +212,7 @@ gst_rg_analysis_class_init (GstRgAnalysisClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_NUM_TRACKS,
|
||||
g_param_spec_int ("num-tracks", "Number of album tracks",
|
||||
"Number of remaining album tracks", 0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgAnalysis:forced:
|
||||
*
|
||||
|
@ -234,7 +234,7 @@ gst_rg_analysis_class_init (GstRgAnalysisClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_FORCED,
|
||||
g_param_spec_boolean ("forced", "Forced",
|
||||
"Analyze even if ReplayGain tags exist",
|
||||
FORCED_DEFAULT, G_PARAM_READWRITE));
|
||||
FORCED_DEFAULT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgAnalysis:reference-level:
|
||||
*
|
||||
|
@ -264,12 +264,13 @@ gst_rg_analysis_class_init (GstRgAnalysisClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_REFERENCE_LEVEL,
|
||||
g_param_spec_double ("reference-level", "Reference level",
|
||||
"Reference level [dB]", 0.0, 150., RG_REFERENCE_LEVEL,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MESSAGE,
|
||||
g_param_spec_boolean ("message", "Message",
|
||||
"Post statics messages",
|
||||
DEFAULT_MESSAGE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
DEFAULT_MESSAGE,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class = (GstBaseTransformClass *) klass;
|
||||
trans_class->start = GST_DEBUG_FUNCPTR (gst_rg_analysis_start);
|
||||
|
|
|
@ -109,7 +109,7 @@ gst_rg_limiter_class_init (GstRgLimiterClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, PROP_ENABLED,
|
||||
g_param_spec_boolean ("enabled", "Enabled", "Enable processing", TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
trans_class = GST_BASE_TRANSFORM_CLASS (klass);
|
||||
trans_class->transform_ip = GST_DEBUG_FUNCPTR (gst_rg_limiter_transform_ip);
|
||||
|
|
|
@ -189,7 +189,7 @@ gst_rg_volume_class_init (GstRgVolumeClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_ALBUM_MODE,
|
||||
g_param_spec_boolean ("album-mode", "Album mode",
|
||||
"Prefer album over track gain", DEFAULT_ALBUM_MODE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgVolume:headroom:
|
||||
*
|
||||
|
@ -209,7 +209,8 @@ gst_rg_volume_class_init (GstRgVolumeClass * klass)
|
|||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_HEADROOM,
|
||||
g_param_spec_double ("headroom", "Headroom", "Extra headroom [dB]",
|
||||
0., 60., DEFAULT_HEADROOM, G_PARAM_READWRITE));
|
||||
0., 60., DEFAULT_HEADROOM,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgVolume:pre-amp:
|
||||
*
|
||||
|
@ -226,7 +227,8 @@ gst_rg_volume_class_init (GstRgVolumeClass * klass)
|
|||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PRE_AMP,
|
||||
g_param_spec_double ("pre-amp", "Pre-amp", "Extra gain [dB]",
|
||||
-60., 60., DEFAULT_PRE_AMP, G_PARAM_READWRITE));
|
||||
-60., 60., DEFAULT_PRE_AMP,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgVolume:fallback-gain:
|
||||
*
|
||||
|
@ -235,7 +237,8 @@ gst_rg_volume_class_init (GstRgVolumeClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_FALLBACK_GAIN,
|
||||
g_param_spec_double ("fallback-gain", "Fallback gain",
|
||||
"Gain for streams missing tags [dB]",
|
||||
-60., 60., DEFAULT_FALLBACK_GAIN, G_PARAM_READWRITE));
|
||||
-60., 60., DEFAULT_FALLBACK_GAIN,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgVolume:result-gain:
|
||||
*
|
||||
|
@ -262,7 +265,7 @@ gst_rg_volume_class_init (GstRgVolumeClass * klass)
|
|||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_RESULT_GAIN,
|
||||
g_param_spec_double ("result-gain", "Result-gain", "Applied gain [dB]",
|
||||
-120., 120., 0., G_PARAM_READABLE));
|
||||
-120., 120., 0., G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRgVolume:target-gain:
|
||||
*
|
||||
|
@ -284,7 +287,8 @@ gst_rg_volume_class_init (GstRgVolumeClass * klass)
|
|||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_TARGET_GAIN,
|
||||
g_param_spec_double ("target-gain", "Target-gain",
|
||||
"Applicable gain [dB]", -120., 120., 0., G_PARAM_READABLE));
|
||||
"Applicable gain [dB]", -120., 120., 0.,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
element_class = (GstElementClass *) klass;
|
||||
element_class->change_state = GST_DEBUG_FUNCPTR (gst_rg_volume_change_state);
|
||||
|
|
|
@ -434,7 +434,7 @@ gst_rtp_h263_pay_class_init (GstRtpH263PayClass * klass)
|
|||
PROP_MODE_A_ONLY, g_param_spec_boolean ("modea-only",
|
||||
"Fragment packets in mode A Only",
|
||||
"Disable packetization modes B and C", DEFAULT_MODE_A,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (rtph263pay_debug, "rtph263pay", 0,
|
||||
"H263 RTP Payloader");
|
||||
|
|
|
@ -129,7 +129,8 @@ gst_rtp_h263p_pay_class_init (GstRtpH263PPayClass * klass)
|
|||
PROP_FRAGMENTATION_MODE, g_param_spec_enum ("fragmentation-mode",
|
||||
"Fragmentation Mode",
|
||||
"Packet Fragmentation Mode", GST_TYPE_FRAGMENTATION_MODE,
|
||||
DEFAULT_FRAGMENTATION_MODE, G_PARAM_READWRITE));
|
||||
DEFAULT_FRAGMENTATION_MODE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (rtph263ppay_debug, "rtph263ppay",
|
||||
0, "rtph263ppay (RFC 4629)");
|
||||
|
|
|
@ -121,7 +121,8 @@ gst_rtp_ilbc_depay_class_init (GstRTPiLBCDepayClass * klass)
|
|||
/* FIXME, mode is in the caps */
|
||||
g_object_class_install_property (gobject_class, PROP_MODE,
|
||||
g_param_spec_enum ("mode", "Mode", "iLBC frame mode",
|
||||
GST_TYPE_ILBC_MODE, DEFAULT_MODE, G_PARAM_READWRITE));
|
||||
GST_TYPE_ILBC_MODE, DEFAULT_MODE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbasertpdepayload_class->process = gst_rtp_ilbc_depay_process;
|
||||
gstbasertpdepayload_class->set_caps = gst_rtp_ilbc_depay_setcaps;
|
||||
|
|
|
@ -271,12 +271,12 @@ gst_rtp_jpeg_pay_class_init (GstRtpJPEGPayClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_JPEG_QUALITY,
|
||||
g_param_spec_int ("quality", "Quality",
|
||||
"Quality factor on JPEG data (unused)", 0, 255, 255,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_JPEG_TYPE,
|
||||
g_param_spec_int ("type", "Type",
|
||||
"Default JPEG Type, overwritten by SOF when present", 0, 255,
|
||||
DEFAULT_JPEG_TYPE, G_PARAM_READWRITE));
|
||||
DEFAULT_JPEG_TYPE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BUFFER_LIST,
|
||||
g_param_spec_boolean ("buffer-list", "Buffer List",
|
||||
|
|
|
@ -118,7 +118,7 @@ gst_rtp_mp2t_depay_class_init (GstRtpMP2TDepayClass * klass)
|
|||
g_param_spec_uint ("skip-first-bytes",
|
||||
"Skip first bytes",
|
||||
"The amount of bytes that need to be skipped at the beginning of the payload",
|
||||
0, G_MAXUINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ gst_rtp_mp4v_pay_class_init (GstRtpMP4VPayClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SEND_CONFIG,
|
||||
g_param_spec_boolean ("send-config", "Send Config",
|
||||
"Send the config parameters in RTP packets as well",
|
||||
DEFAULT_SEND_CONFIG, G_PARAM_READWRITE));
|
||||
DEFAULT_SEND_CONFIG, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BUFFER_LIST,
|
||||
g_param_spec_boolean ("buffer-list", "Buffer Array",
|
||||
|
|
|
@ -1415,7 +1415,8 @@ gst_rtp_bin_class_init (GstRtpBinClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_LATENCY,
|
||||
g_param_spec_uint ("latency", "Buffer latency in ms",
|
||||
"Default amount of ms to buffer in the jitterbuffers", 0,
|
||||
G_MAXUINT, DEFAULT_LATENCY_MS, G_PARAM_READWRITE));
|
||||
G_MAXUINT, DEFAULT_LATENCY_MS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstRtpBin::request-pt-map:
|
||||
|
@ -1622,7 +1623,7 @@ gst_rtp_bin_class_init (GstRtpBinClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_SDES,
|
||||
g_param_spec_boxed ("sdes", "SDES",
|
||||
"The SDES items of this session",
|
||||
GST_TYPE_STRUCTURE, G_PARAM_READWRITE));
|
||||
GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_DO_LOST,
|
||||
g_param_spec_boolean ("do-lost", "Do Lost",
|
||||
|
@ -1632,17 +1633,17 @@ gst_rtp_bin_class_init (GstRtpBinClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_AUTOREMOVE,
|
||||
g_param_spec_boolean ("autoremove", "Auto Remove",
|
||||
"Automatically remove timed out sources", DEFAULT_AUTOREMOVE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_IGNORE_PT,
|
||||
g_param_spec_boolean ("ignore-pt", "Ignore PT",
|
||||
"Do not demultiplex based on PT values", DEFAULT_IGNORE_PT,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_USE_PIPELINE_CLOCK,
|
||||
g_param_spec_boolean ("use-pipeline-clock", "Use pipeline clock",
|
||||
"Use the pipeline clock to set the NTP time in the RTCP SR messages",
|
||||
DEFAULT_AUTOREMOVE, G_PARAM_READWRITE));
|
||||
DEFAULT_AUTOREMOVE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRtpBin::buffer-mode:
|
||||
*
|
||||
|
|
|
@ -310,7 +310,7 @@ gst_rtp_jitter_buffer_class_init (GstRtpJitterBufferClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_LATENCY,
|
||||
g_param_spec_uint ("latency", "Buffer latency in ms",
|
||||
"Amount of ms to buffer", 0, G_MAXUINT, DEFAULT_LATENCY_MS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRtpJitterBuffer::drop-on-latency:
|
||||
*
|
||||
|
@ -320,7 +320,7 @@ gst_rtp_jitter_buffer_class_init (GstRtpJitterBufferClass * klass)
|
|||
g_param_spec_boolean ("drop-on-latency",
|
||||
"Drop buffers when maximum latency is reached",
|
||||
"Tells the jitterbuffer to never exceed the given latency in size",
|
||||
DEFAULT_DROP_ON_LATENCY, G_PARAM_READWRITE));
|
||||
DEFAULT_DROP_ON_LATENCY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstRtpJitterBuffer::ts-offset:
|
||||
*
|
||||
|
|
|
@ -533,53 +533,60 @@ gst_rtp_session_class_init (GstRtpSessionClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_NTP_NS_BASE,
|
||||
g_param_spec_uint64 ("ntp-ns-base", "NTP base time",
|
||||
"The NTP base time corresponding to running_time 0 (deprecated)", 0,
|
||||
G_MAXUINT64, DEFAULT_NTP_NS_BASE, G_PARAM_READWRITE));
|
||||
G_MAXUINT64, DEFAULT_NTP_NS_BASE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_BANDWIDTH,
|
||||
g_param_spec_double ("bandwidth", "Bandwidth",
|
||||
"The bandwidth of the session in bytes per second (0 for auto-discover)",
|
||||
0.0, G_MAXDOUBLE, DEFAULT_BANDWIDTH, G_PARAM_READWRITE));
|
||||
0.0, G_MAXDOUBLE, DEFAULT_BANDWIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_RTCP_FRACTION,
|
||||
g_param_spec_double ("rtcp-fraction", "RTCP Fraction",
|
||||
"The RTCP bandwidth of the session in bytes per second "
|
||||
"(or as a real fraction of the RTP bandwidth if < 1.0)",
|
||||
0.0, G_MAXDOUBLE, DEFAULT_RTCP_FRACTION, G_PARAM_READWRITE));
|
||||
0.0, G_MAXDOUBLE, DEFAULT_RTCP_FRACTION,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_RTCP_RR_BANDWIDTH,
|
||||
g_param_spec_int ("rtcp-rr-bandwidth", "RTCP RR bandwidth",
|
||||
"The RTCP bandwidth used for receivers in bytes per second (-1 = default)",
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RR_BANDWIDTH, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RR_BANDWIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_RTCP_RS_BANDWIDTH,
|
||||
g_param_spec_int ("rtcp-rs-bandwidth", "RTCP RS bandwidth",
|
||||
"The RTCP bandwidth used for senders in bytes per second (-1 = default)",
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RS_BANDWIDTH, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RS_BANDWIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_SDES,
|
||||
g_param_spec_boxed ("sdes", "SDES",
|
||||
"The SDES items of this session",
|
||||
GST_TYPE_STRUCTURE, G_PARAM_READWRITE));
|
||||
GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_NUM_SOURCES,
|
||||
g_param_spec_uint ("num-sources", "Num Sources",
|
||||
"The number of sources in the session", 0, G_MAXUINT,
|
||||
DEFAULT_NUM_SOURCES, G_PARAM_READABLE));
|
||||
DEFAULT_NUM_SOURCES, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_NUM_ACTIVE_SOURCES,
|
||||
g_param_spec_uint ("num-active-sources", "Num Active Sources",
|
||||
"The number of active sources in the session", 0, G_MAXUINT,
|
||||
DEFAULT_NUM_ACTIVE_SOURCES, G_PARAM_READABLE));
|
||||
DEFAULT_NUM_ACTIVE_SOURCES,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_INTERNAL_SESSION,
|
||||
g_param_spec_object ("internal-session", "Internal Session",
|
||||
"The internal RTPSession object", RTP_TYPE_SESSION,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_USE_PIPELINE_CLOCK,
|
||||
g_param_spec_boolean ("use-pipeline-clock", "Use pipeline clock",
|
||||
"Use the pipeline clock to set the NTP time in the RTCP SR messages",
|
||||
DEFAULT_USE_PIPELINE_CLOCK, G_PARAM_READWRITE));
|
||||
DEFAULT_USE_PIPELINE_CLOCK,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state =
|
||||
GST_DEBUG_FUNCPTR (gst_rtp_session_change_state);
|
||||
|
|
|
@ -263,12 +263,14 @@ rtp_session_class_init (RTPSessionClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_RTCP_RR_BANDWIDTH,
|
||||
g_param_spec_int ("rtcp-rr-bandwidth", "RTCP RR bandwidth",
|
||||
"The RTCP bandwidth used for receivers in bytes per second (-1 = default)",
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RR_BANDWIDTH, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RR_BANDWIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_RTCP_RS_BANDWIDTH,
|
||||
g_param_spec_int ("rtcp-rs-bandwidth", "RTCP RS bandwidth",
|
||||
"The RTCP bandwidth used for senders in bytes per second (-1 = default)",
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RS_BANDWIDTH, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT, DEFAULT_RTCP_RS_BANDWIDTH,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_RTCP_MTU,
|
||||
g_param_spec_uint ("rtcp-mtu", "RTCP MTU",
|
||||
|
|
|
@ -304,7 +304,7 @@ gst_rtp_dec_class_init (GstRTPDecClass * g_class)
|
|||
g_object_class_install_property (gobject_class, PROP_LATENCY,
|
||||
g_param_spec_uint ("latency", "Buffer latency in ms",
|
||||
"Amount of ms to buffer", 0, G_MAXUINT, DEFAULT_LATENCY_MS,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
* GstRTPDec::request-pt-map:
|
||||
|
|
|
@ -228,25 +228,27 @@ gst_smpte_class_init (GstSMPTEClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TYPE,
|
||||
g_param_spec_enum ("type", "Type", "The type of transition to use",
|
||||
GST_TYPE_SMPTE_TRANSITION_TYPE, DEFAULT_PROP_TYPE,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_FPS,
|
||||
g_param_spec_float ("fps", "FPS",
|
||||
"Frames per second if no input files are given (deprecated)", 0.,
|
||||
G_MAXFLOAT, DEFAULT_PROP_FPS, G_PARAM_READWRITE));
|
||||
G_MAXFLOAT, DEFAULT_PROP_FPS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BORDER,
|
||||
g_param_spec_int ("border", "Border",
|
||||
"The border width of the transition", 0, G_MAXINT,
|
||||
DEFAULT_PROP_BORDER, G_PARAM_READWRITE));
|
||||
DEFAULT_PROP_BORDER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DEPTH,
|
||||
g_param_spec_int ("depth", "Depth", "Depth of the mask in bits", 1, 24,
|
||||
DEFAULT_PROP_DEPTH, G_PARAM_READWRITE));
|
||||
DEFAULT_PROP_DEPTH, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DURATION,
|
||||
g_param_spec_uint64 ("duration", "Duration",
|
||||
"Duration of the transition effect in nanoseconds", 0, G_MAXUINT64,
|
||||
DEFAULT_PROP_DURATION, G_PARAM_READWRITE));
|
||||
DEFAULT_PROP_DURATION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_INVERT,
|
||||
g_param_spec_boolean ("invert", "Invert",
|
||||
"Invert transition mask", DEFAULT_PROP_INVERT, G_PARAM_READWRITE));
|
||||
"Invert transition mask", DEFAULT_PROP_INVERT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_smpte_change_state);
|
||||
}
|
||||
|
|
|
@ -164,11 +164,12 @@ gst_dynudpsink_class_init (GstDynUDPSink * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_SOCKFD,
|
||||
g_param_spec_int ("sockfd", "socket handle",
|
||||
"Socket to use for UDP sending. (-1 == allocate)",
|
||||
-1, G_MAXINT16, UDP_DEFAULT_SOCKFD, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT16, UDP_DEFAULT_SOCKFD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSEFD,
|
||||
g_param_spec_boolean ("closefd", "Close sockfd",
|
||||
"Close sockfd if passed as property on state change",
|
||||
UDP_DEFAULT_CLOSEFD, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_CLOSEFD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = gst_dynudpsink_change_state;
|
||||
|
||||
|
|
|
@ -286,48 +286,53 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BYTES_TO_SERVE,
|
||||
g_param_spec_uint64 ("bytes-to-serve", "Bytes to serve",
|
||||
"Number of bytes received to serve to clients", 0, G_MAXUINT64, 0,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BYTES_SERVED,
|
||||
g_param_spec_uint64 ("bytes-served", "Bytes served",
|
||||
"Total number of bytes send to all clients", 0, G_MAXUINT64, 0,
|
||||
G_PARAM_READABLE));
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_SOCKFD,
|
||||
g_param_spec_int ("sockfd", "Socket Handle",
|
||||
"Socket to use for UDP sending. (-1 == allocate)",
|
||||
-1, G_MAXINT, DEFAULT_SOCKFD, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT, DEFAULT_SOCKFD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSEFD,
|
||||
g_param_spec_boolean ("closefd", "Close sockfd",
|
||||
"Close sockfd if passed as property on state change",
|
||||
DEFAULT_CLOSEFD, G_PARAM_READWRITE));
|
||||
DEFAULT_CLOSEFD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_SOCK,
|
||||
g_param_spec_int ("sock", "Socket Handle",
|
||||
"Socket currently in use for UDP sending. (-1 == no socket)",
|
||||
-1, G_MAXINT, DEFAULT_SOCK, G_PARAM_READABLE));
|
||||
-1, G_MAXINT, DEFAULT_SOCK,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CLIENTS,
|
||||
g_param_spec_string ("clients", "Clients",
|
||||
"A comma separated list of host:port pairs with destinations",
|
||||
DEFAULT_CLIENTS, G_PARAM_READWRITE));
|
||||
DEFAULT_CLIENTS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_AUTO_MULTICAST,
|
||||
g_param_spec_boolean ("auto-multicast",
|
||||
"Automatically join/leave multicast groups",
|
||||
"Automatically join/leave the multicast groups, FALSE means user"
|
||||
" has to do it himself", DEFAULT_AUTO_MULTICAST, G_PARAM_READWRITE));
|
||||
" has to do it himself", DEFAULT_AUTO_MULTICAST,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_TTL,
|
||||
g_param_spec_int ("ttl", "Unicast TTL",
|
||||
"Used for setting the unicast TTL parameter",
|
||||
0, 255, DEFAULT_TTL, G_PARAM_READWRITE));
|
||||
0, 255, DEFAULT_TTL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_TTL_MC,
|
||||
g_param_spec_int ("ttl-mc", "Multicast TTL",
|
||||
"Used for setting the multicast TTL parameter",
|
||||
0, 255, DEFAULT_TTL_MC, G_PARAM_READWRITE));
|
||||
0, 255, DEFAULT_TTL_MC, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_LOOP,
|
||||
g_param_spec_boolean ("loop", "Multicast Loopback",
|
||||
"Used for setting the multicast loop parameter. TRUE = enable,"
|
||||
" FALSE = disable", DEFAULT_LOOP, G_PARAM_READWRITE));
|
||||
" FALSE = disable", DEFAULT_LOOP,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_QOS_DSCP,
|
||||
g_param_spec_int ("qos-dscp", "QoS diff srv code point",
|
||||
"Quality of Service, differentiated services code point (-1 default)",
|
||||
-1, 63, DEFAULT_QOS_DSCP, G_PARAM_READWRITE));
|
||||
-1, 63, DEFAULT_QOS_DSCP,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
/**
|
||||
* GstMultiUDPSink::send-duplicates
|
||||
*
|
||||
|
@ -340,7 +345,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass)
|
|||
g_param_spec_boolean ("send-duplicates", "Send Duplicates",
|
||||
"When a distination/port pair is added multiple times, send packets "
|
||||
"multiple times as well", DEFAULT_SEND_DUPLICATES,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstelement_class->change_state = gst_multiudpsink_change_state;
|
||||
|
||||
|
|
|
@ -141,10 +141,11 @@ gst_udpsink_class_init (GstUDPSink * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_HOST,
|
||||
g_param_spec_string ("host", "host",
|
||||
"The host/IP/Multicast group to send the packets to",
|
||||
UDP_DEFAULT_HOST, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_HOST, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||
g_param_spec_int ("port", "port", "The port to send the packets to",
|
||||
0, 65535, UDP_DEFAULT_PORT, G_PARAM_READWRITE));
|
||||
0, 65535, UDP_DEFAULT_PORT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -249,53 +249,60 @@ gst_udpsrc_class_init (GstUDPSrcClass * klass)
|
|||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||
g_param_spec_int ("port", "Port",
|
||||
"The port to receive the packets from, 0=allocate", 0, G_MAXUINT16,
|
||||
UDP_DEFAULT_PORT, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_MULTICAST_GROUP,
|
||||
g_param_spec_string ("multicast-group", "Multicast Group",
|
||||
"The Address of multicast group to join", UDP_DEFAULT_MULTICAST_GROUP,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_MULTICAST_IFACE,
|
||||
g_param_spec_string ("multicast-iface", "Multicast Interface",
|
||||
"The network interface on which to join the multicast group",
|
||||
UDP_DEFAULT_MULTICAST_IFACE, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_MULTICAST_IFACE,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_URI,
|
||||
g_param_spec_string ("uri", "URI",
|
||||
"URI in the form of udp://multicast_group:port", UDP_DEFAULT_URI,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CAPS,
|
||||
g_param_spec_boxed ("caps", "Caps",
|
||||
"The caps of the source pad", GST_TYPE_CAPS, G_PARAM_READWRITE));
|
||||
"The caps of the source pad", GST_TYPE_CAPS,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_SOCKFD,
|
||||
g_param_spec_int ("sockfd", "Socket Handle",
|
||||
"Socket to use for UDP reception. (-1 == allocate)",
|
||||
-1, G_MAXINT, UDP_DEFAULT_SOCKFD, G_PARAM_READWRITE));
|
||||
-1, G_MAXINT, UDP_DEFAULT_SOCKFD,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BUFFER_SIZE,
|
||||
g_param_spec_int ("buffer-size", "Buffer Size",
|
||||
"Size of the kernel receive buffer in bytes, 0=default", 0, G_MAXINT,
|
||||
UDP_DEFAULT_BUFFER_SIZE, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_BUFFER_SIZE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_TIMEOUT,
|
||||
g_param_spec_uint64 ("timeout", "Timeout",
|
||||
"Post a message after timeout microseconds (0 = disabled)", 0,
|
||||
G_MAXUINT64, UDP_DEFAULT_TIMEOUT, G_PARAM_READWRITE));
|
||||
G_MAXUINT64, UDP_DEFAULT_TIMEOUT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass),
|
||||
PROP_SKIP_FIRST_BYTES, g_param_spec_int ("skip-first-bytes",
|
||||
"Skip first bytes", "number of bytes to skip for each udp packet", 0,
|
||||
G_MAXINT, UDP_DEFAULT_SKIP_FIRST_BYTES, G_PARAM_READWRITE));
|
||||
G_MAXINT, UDP_DEFAULT_SKIP_FIRST_BYTES,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_CLOSEFD,
|
||||
g_param_spec_boolean ("closefd", "Close sockfd",
|
||||
"Close sockfd if passed as property on state change",
|
||||
UDP_DEFAULT_CLOSEFD, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_CLOSEFD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_SOCK,
|
||||
g_param_spec_int ("sock", "Socket Handle",
|
||||
"Socket currently in use for UDP reception. (-1 = no socket)",
|
||||
-1, G_MAXINT, UDP_DEFAULT_SOCK, G_PARAM_READABLE));
|
||||
-1, G_MAXINT, UDP_DEFAULT_SOCK,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_AUTO_MULTICAST,
|
||||
g_param_spec_boolean ("auto-multicast", "Auto Multicast",
|
||||
"Automatically join/leave multicast groups",
|
||||
UDP_DEFAULT_AUTO_MULTICAST, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_AUTO_MULTICAST,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, PROP_REUSE,
|
||||
g_param_spec_boolean ("reuse", "Reuse", "Enable reuse of the port",
|
||||
UDP_DEFAULT_REUSE, G_PARAM_READWRITE));
|
||||
UDP_DEFAULT_REUSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbasesrc_class->start = gst_udpsrc_start;
|
||||
gstbasesrc_class->stop = gst_udpsrc_stop;
|
||||
|
|
|
@ -189,7 +189,7 @@ gst_aspect_ratio_crop_class_init (GstAspectRatioCropClass * klass)
|
|||
g_object_class_install_property (gobject_class, ARG_ASPECT_RATIO_CROP,
|
||||
gst_param_spec_fraction ("aspect-ratio", "aspect-ratio",
|
||||
"Target aspect-ratio of video", 0, 1, G_MAXINT, 1, 0, 1,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -213,16 +213,16 @@ gst_video_crop_class_init (GstVideoCropClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_LEFT,
|
||||
g_param_spec_int ("left", "Left", "Pixels to crop at left",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_RIGHT,
|
||||
g_param_spec_int ("right", "Right", "Pixels to crop at right",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_TOP,
|
||||
g_param_spec_int ("top", "Top", "Pixels to crop at top",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
g_object_class_install_property (gobject_class, ARG_BOTTOM,
|
||||
g_param_spec_int ("bottom", "Bottom", "Pixels to crop at bottom",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
basetransform_class->transform = GST_DEBUG_FUNCPTR (gst_video_crop_transform);
|
||||
basetransform_class->transform_caps =
|
||||
|
|
|
@ -148,7 +148,7 @@ gst_videotemplate_class_init (gpointer g_class, gpointer class_data)
|
|||
g_object_class_install_property (gobject_class, ARG_METHOD,
|
||||
g_param_spec_enum ("method", "method", "method",
|
||||
GST_TYPE_VIDEOTEMPLATE_METHOD, GST_VIDEOTEMPLATE_METHOD_1,
|
||||
G_PARAM_READWRITE));
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
#endif
|
||||
|
||||
gobject_class->set_property = gst_videotemplate_set_property;
|
||||
|
|
|
@ -171,11 +171,11 @@ gst_osx_audio_sink_class_init (GstOsxAudioSinkClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_DEVICE,
|
||||
g_param_spec_int ("device", "Device ID", "Device ID of output device",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (gobject_class, ARG_VOLUME,
|
||||
g_param_spec_double ("volume", "Volume", "Volume of this stream",
|
||||
0, 1.0, 1.0, G_PARAM_READWRITE));
|
||||
0, 1.0, 1.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbaseaudiosink_class->create_ringbuffer =
|
||||
GST_DEBUG_FUNCPTR (gst_osx_audio_sink_create_ringbuffer);
|
||||
|
|
|
@ -164,7 +164,7 @@ gst_osx_audio_src_class_init (GstOsxAudioSrcClass * klass)
|
|||
|
||||
g_object_class_install_property (gobject_class, ARG_DEVICE,
|
||||
g_param_spec_int ("device", "Device ID", "Device ID of input device",
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE));
|
||||
0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gstbaseaudiosrc_class->create_ringbuffer =
|
||||
GST_DEBUG_FUNCPTR (gst_osx_audio_src_create_ringbuffer);
|
||||
|
|
Loading…
Reference in a new issue