various (ext): add a missing G_PARAM_STATIC_STRINGS flags

This commit is contained in:
Stefan Kost 2010-10-13 16:25:15 +03:00
parent 2975307f86
commit 45f6707784
27 changed files with 227 additions and 162 deletions

View file

@ -216,37 +216,38 @@ gst_aasink_class_init (GstAASinkClass * klass)
/* FIXME: add long property descriptions */ /* FIXME: add long property descriptions */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_WIDTH, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_WIDTH,
g_param_spec_int ("width", "width", "width", G_MININT, G_MAXINT, 0, g_param_spec_int ("width", "width", "width", G_MININT, G_MAXINT, 0,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HEIGHT, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HEIGHT,
g_param_spec_int ("height", "height", "height", G_MININT, G_MAXINT, 0, g_param_spec_int ("height", "height", "height", G_MININT, G_MAXINT, 0,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DRIVER, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DRIVER,
g_param_spec_enum ("driver", "driver", "driver", GST_TYPE_AADRIVERS, 0, g_param_spec_enum ("driver", "driver", "driver", GST_TYPE_AADRIVERS, 0,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DITHER, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DITHER,
g_param_spec_enum ("dither", "dither", "dither", GST_TYPE_AADITHER, 0, g_param_spec_enum ("dither", "dither", "dither", GST_TYPE_AADITHER, 0,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BRIGHTNESS, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BRIGHTNESS,
g_param_spec_int ("brightness", "brightness", "brightness", G_MININT, g_param_spec_int ("brightness", "brightness", "brightness", 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_CONTRAST, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_CONTRAST,
g_param_spec_int ("contrast", "contrast", "contrast", G_MININT, G_MAXINT, g_param_spec_int ("contrast", "contrast", "contrast", G_MININT, G_MAXINT,
0, G_PARAM_READWRITE)); 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_GAMMA, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_GAMMA,
g_param_spec_float ("gamma", "gamma", "gamma", 0.0, 5.0, 1.0, g_param_spec_float ("gamma", "gamma", "gamma", 0.0, 5.0, 1.0,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_INVERSION, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_INVERSION,
g_param_spec_boolean ("inversion", "inversion", "inversion", TRUE, g_param_spec_boolean ("inversion", "inversion", "inversion", TRUE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_RANDOMVAL, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_RANDOMVAL,
g_param_spec_int ("randomval", "randomval", "randomval", G_MININT, g_param_spec_int ("randomval", "randomval", "randomval", 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_FRAMES_DISPLAYED, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FRAMES_DISPLAYED,
g_param_spec_int ("frames-displayed", "frames displayed", g_param_spec_int ("frames-displayed", "frames displayed",
"frames displayed", G_MININT, G_MAXINT, 0, G_PARAM_READABLE)); "frames displayed", G_MININT, G_MAXINT, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FRAME_TIME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FRAME_TIME,
g_param_spec_int ("frame-time", "frame time", "frame time", G_MININT, g_param_spec_int ("frame-time", "frame time", "frame time", G_MININT,
G_MAXINT, 0, G_PARAM_READABLE)); G_MAXINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gst_aasink_signals[SIGNAL_FRAME_DISPLAYED] = gst_aasink_signals[SIGNAL_FRAME_DISPLAYED] =
g_signal_new ("frame-displayed", G_TYPE_FROM_CLASS (klass), g_signal_new ("frame-displayed", G_TYPE_FROM_CLASS (klass),

View file

@ -146,7 +146,7 @@ gst_cmml_dec_class_init (GstCmmlDecClass * dec_class)
"Wait clip end time", "Wait clip end time",
"Send a tag for a clip when the clip ends, setting its end-time. " "Send a tag for a clip when the clip ends, setting its end-time. "
"Use when you need to know both clip's start-time and end-time.", "Use when you need to know both clip's start-time and end-time.",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
static void static void

View file

@ -130,19 +130,22 @@ gst_cmml_enc_class_init (GstCmmlEncClass * enc_class)
g_param_spec_int64 ("granule-rate-numerator", g_param_spec_int64 ("granule-rate-numerator",
"Granulerate numerator", "Granulerate numerator",
"Granulerate numerator", "Granulerate numerator",
0, G_MAXINT64, 1000, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, G_MAXINT64, 1000,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_ENC_GRANULERATE_D, g_object_class_install_property (klass, GST_CMML_ENC_GRANULERATE_D,
g_param_spec_int64 ("granule-rate-denominator", g_param_spec_int64 ("granule-rate-denominator",
"Granulerate denominator", "Granulerate denominator",
"Granulerate denominator", "Granulerate denominator",
0, G_MAXINT64, 1, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, G_MAXINT64, 1,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_ENC_GRANULESHIFT, g_object_class_install_property (klass, GST_CMML_ENC_GRANULESHIFT,
g_param_spec_uchar ("granule-shift", g_param_spec_uchar ("granule-shift",
"Granuleshift", "Granuleshift",
"The number of lower bits to use for partitioning a granule position", "The number of lower bits to use for partitioning a granule position",
0, 64, 32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); 0, 64, 32,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
GST_ELEMENT_CLASS (klass)->change_state = gst_cmml_enc_change_state; GST_ELEMENT_CLASS (klass)->change_state = gst_cmml_enc_change_state;
} }

View file

@ -100,20 +100,22 @@ gst_cmml_tag_stream_class_init (GstCmmlTagStreamClass * stream_class)
g_param_spec_string ("base-time", g_param_spec_string ("base-time",
"Base time", "Base time",
"Playback time (in seconds) of the first data packet", "Playback time (in seconds) of the first data packet",
"0", G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); "0", G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_STREAM_UTC, g_object_class_install_property (klass, GST_CMML_TAG_STREAM_UTC,
g_param_spec_string ("calendar-base-time", g_param_spec_string ("calendar-base-time",
"Calendar base time", "Calendar base time",
"Date and wall-clock time (expressed as UTC time in the format " "Date and wall-clock time (expressed as UTC time in the format "
"YYYYMMDDTHHMMSS.sssZ) associated with the base-time", "YYYYMMDDTHHMMSS.sssZ) associated with the base-time",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_STREAM_IMPORTS, g_object_class_install_property (klass, GST_CMML_TAG_STREAM_IMPORTS,
g_param_spec_value_array ("input-streams", g_param_spec_value_array ("input-streams",
"Input streams", "Input streams",
"List of input streams that compose this bitstream", "List of input streams that compose this bitstream",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_value_register_transform_func (G_TYPE_STRING, GST_TYPE_CMML_TAG_STREAM, g_value_register_transform_func (G_TYPE_STRING, GST_TYPE_CMML_TAG_STREAM,
gst_cmml_tag_stream_value_from_string_value); gst_cmml_tag_stream_value_from_string_value);
@ -223,19 +225,22 @@ gst_cmml_tag_head_class_init (GstCmmlTagHeadClass * head_class)
g_param_spec_string ("title", g_param_spec_string ("title",
"Title", "Title",
"Title of the bitstream", "Title of the bitstream",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_HEAD_BASE, g_object_class_install_property (klass, GST_CMML_TAG_HEAD_BASE,
g_param_spec_string ("base-uri", g_param_spec_string ("base-uri",
"Base URI", "Base URI",
"Base URI of the bitstream. All relative URIs are relative to this", "Base URI of the bitstream. All relative URIs are relative to this",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_HEAD_META, g_object_class_install_property (klass, GST_CMML_TAG_HEAD_META,
g_param_spec_value_array ("meta", g_param_spec_value_array ("meta",
"Meta annotations", "Meta annotations",
"Meta annotations for the complete Annodex bitstream", "Meta annotations for the complete Annodex bitstream",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_value_register_transform_func (G_TYPE_STRING, GST_TYPE_CMML_TAG_HEAD, g_value_register_transform_func (G_TYPE_STRING, GST_TYPE_CMML_TAG_HEAD,
gst_cmml_tag_head_value_from_string_value); gst_cmml_tag_head_value_from_string_value);
@ -344,68 +349,77 @@ gst_cmml_tag_clip_class_init (GstCmmlTagClipClass * clip_class)
g_param_spec_boolean ("empty", g_param_spec_boolean ("empty",
"Empty clip flag", "Empty clip flag",
"An empty clip only marks the end of the previous clip", "An empty clip only marks the end of the previous clip",
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); TRUE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_ID, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_ID,
g_param_spec_string ("id", g_param_spec_string ("id",
"Clip id", "Clip id",
"Id of the clip", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); "Id of the clip", NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_TRACK, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_TRACK,
g_param_spec_string ("track", g_param_spec_string ("track",
"Track number", "Track number",
"The track this clip belongs to", "The track this clip belongs to",
"default", G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); "default",
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_START_TIME, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_START_TIME,
g_param_spec_uint64 ("start-time", g_param_spec_uint64 ("start-time",
"Start time", "Start time",
"The start time (in seconds) of the clip", "The start time (in seconds) of the clip",
0, G_MAXUINT64, GST_CLOCK_TIME_NONE, 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_END_TIME, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_END_TIME,
g_param_spec_uint64 ("end-time", g_param_spec_uint64 ("end-time",
"End time", "End time",
"The end time (in seconds) of the clip (only set if extract-mode=true)", "The end time (in seconds) of the clip (only set if extract-mode=true)",
0, G_MAXUINT64, GST_CLOCK_TIME_NONE, 0, G_MAXUINT64, GST_CLOCK_TIME_NONE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_ANCHOR_HREF, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_ANCHOR_HREF,
g_param_spec_string ("anchor-uri", g_param_spec_string ("anchor-uri",
"Anchor URI", "Anchor URI",
"The location of a Web resource closely connected to the clip", "The location of a Web resource closely connected to the clip",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_ANCHOR_TEXT, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_ANCHOR_TEXT,
g_param_spec_string ("anchor-text", g_param_spec_string ("anchor-text",
"Anchor text", "Anchor text",
"A short description of the resource pointed by anchor-uri", "A short description of the resource pointed by anchor-uri",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_IMG_SRC, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_IMG_SRC,
g_param_spec_string ("img-uri", g_param_spec_string ("img-uri",
"Image URI", "Image URI",
"The URI of a representative image for the clip", "The URI of a representative image for the clip",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_IMG_ALT, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_IMG_ALT,
g_param_spec_string ("img-alt", g_param_spec_string ("img-alt",
"Image alternative text", "Image alternative text",
"Alternative text to be displayed instead of the image " "Alternative text to be displayed instead of the image "
"specified in img-uri", NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); "specified in img-uri", NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_DESC_TEXT, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_DESC_TEXT,
g_param_spec_string ("description", g_param_spec_string ("description",
"Description", "Description",
"A textual description of the content of the clip", "A textual description of the content of the clip",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (klass, GST_CMML_TAG_CLIP_META, g_object_class_install_property (klass, GST_CMML_TAG_CLIP_META,
g_param_spec_value_array ("meta", g_param_spec_value_array ("meta",
"Meta annotations", "Meta annotations",
"Meta annotations for the clip", "Meta annotations for the clip",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_value_register_transform_func (G_TYPE_STRING, GST_TYPE_CMML_TAG_CLIP, g_value_register_transform_func (G_TYPE_STRING, GST_TYPE_CMML_TAG_CLIP,
gst_cmml_tag_clip_value_from_string_value); gst_cmml_tag_clip_value_from_string_value);

View file

@ -158,44 +158,47 @@ gst_text_overlay_class_init (GstCairoTextOverlayClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TEXT, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TEXT,
g_param_spec_string ("text", "text", g_param_spec_string ("text", "text",
"Text to be display.", "", G_PARAM_WRITABLE)); "Text to be display.", "",
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SHADING, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SHADING,
g_param_spec_boolean ("shaded-background", "shaded background", g_param_spec_boolean ("shaded-background", "shaded background",
"Whether to shade the background under the text area", FALSE, "Whether to shade the background under the text area", FALSE,
G_PARAM_WRITABLE)); G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_VALIGN, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_VALIGN,
g_param_spec_string ("valign", "vertical alignment", g_param_spec_string ("valign", "vertical alignment",
"Vertical alignment of the text. " "Vertical alignment of the text. "
"Can be either 'baseline', 'bottom', or 'top'", "Can be either 'baseline', 'bottom', or 'top'",
"baseline", G_PARAM_WRITABLE)); "baseline", G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HALIGN, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HALIGN,
g_param_spec_string ("halign", "horizontal alignment", g_param_spec_string ("halign", "horizontal alignment",
"Horizontal alignment of the text. " "Horizontal alignment of the text. "
"Can be either 'left', 'right', or 'center'", "Can be either 'left', 'right', or 'center'",
"center", G_PARAM_WRITABLE)); "center", G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_XPAD, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_XPAD,
g_param_spec_int ("xpad", "horizontal paddding", g_param_spec_int ("xpad", "horizontal paddding",
"Horizontal paddding when using left/right alignment", "Horizontal paddding when using left/right alignment",
G_MININT, G_MAXINT, DEFAULT_XPAD, G_PARAM_WRITABLE)); G_MININT, G_MAXINT, DEFAULT_XPAD,
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_YPAD, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_YPAD,
g_param_spec_int ("ypad", "vertical padding", g_param_spec_int ("ypad", "vertical padding",
"Vertical padding when using top/bottom alignment", "Vertical padding when using top/bottom alignment",
G_MININT, G_MAXINT, DEFAULT_YPAD, G_PARAM_WRITABLE)); G_MININT, G_MAXINT, DEFAULT_YPAD,
G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DELTAX, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DELTAX,
g_param_spec_int ("deltax", "X position modifier", g_param_spec_int ("deltax", "X position modifier",
"Shift X position to the left or to the right. Unit is pixels.", "Shift X position to the left or to the right. Unit is pixels.",
G_MININT, G_MAXINT, 0, G_PARAM_WRITABLE)); G_MININT, G_MAXINT, 0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DELTAY, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DELTAY,
g_param_spec_int ("deltay", "Y position modifier", g_param_spec_int ("deltay", "Y position modifier",
"Shift Y position up or down. Unit is pixels.", "Shift Y position up or down. Unit is pixels.",
G_MININT, G_MAXINT, 0, G_PARAM_WRITABLE)); G_MININT, G_MAXINT, 0, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FONT_DESC, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FONT_DESC,
g_param_spec_string ("font-desc", "font description", g_param_spec_string ("font-desc", "font description",
"Pango font description of font " "Pango font description of font "
"to be used for rendering. " "to be used for rendering. "
"See documentation of " "See documentation of "
"pango_font_description_from_string" "pango_font_description_from_string"
" for syntax.", "", G_PARAM_WRITABLE)); " for syntax.", "", G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
} }
static void static void

View file

@ -194,16 +194,18 @@ gst_dvdec_class_init (GstDVDecClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CLAMP_LUMA, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CLAMP_LUMA,
g_param_spec_boolean ("clamp-luma", "Clamp luma", "Clamp luma", g_param_spec_boolean ("clamp-luma", "Clamp luma", "Clamp luma",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CLAMP_CHROMA, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CLAMP_CHROMA,
g_param_spec_boolean ("clamp-chroma", "Clamp chroma", "Clamp chroma", g_param_spec_boolean ("clamp-chroma", "Clamp chroma", "Clamp chroma",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_QUALITY, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_QUALITY,
g_param_spec_enum ("quality", "Quality", "Decoding quality", g_param_spec_enum ("quality", "Quality", "Decoding quality",
GST_TYPE_DVDEC_QUALITY, DV_DEFAULT_QUALITY, G_PARAM_READWRITE)); GST_TYPE_DVDEC_QUALITY, DV_DEFAULT_QUALITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DECODE_NTH, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DECODE_NTH,
g_param_spec_int ("drop-factor", "Drop Factor", "Only decode Nth frame", g_param_spec_int ("drop-factor", "Drop Factor", "Only decode Nth frame",
1, G_MAXINT, DV_DEFAULT_DECODE_NTH, G_PARAM_READWRITE)); 1, G_MAXINT, DV_DEFAULT_DECODE_NTH,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gst_dvdec_change_state; gstelement_class->change_state = gst_dvdec_change_state;
} }

View file

@ -187,21 +187,23 @@ gst_esdmon_class_init (gpointer g_class, gpointer class_data)
/* FIXME: add long property descriptions */ /* FIXME: add long property descriptions */
g_object_class_install_property (gobject_class, ARG_BYTESPERREAD, g_object_class_install_property (gobject_class, ARG_BYTESPERREAD,
g_param_spec_ulong ("bytes-per-read", "bytes per read", "bytes per read", g_param_spec_ulong ("bytes-per-read", "bytes per read", "bytes per read",
0, G_MAXULONG, 0, G_PARAM_READWRITE)); 0, G_MAXULONG, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_CUROFFSET, g_object_class_install_property (gobject_class, ARG_CUROFFSET,
g_param_spec_ulong ("curoffset", "curoffset", "curoffset", g_param_spec_ulong ("curoffset", "curoffset", "curoffset",
0, G_MAXULONG, 0, G_PARAM_READABLE)); 0, G_MAXULONG, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEPTH, g_object_class_install_property (gobject_class, ARG_DEPTH,
g_param_spec_enum ("depth", "depth", "depth", GST_TYPE_ESDMON_DEPTHS, g_param_spec_enum ("depth", "depth", "depth", GST_TYPE_ESDMON_DEPTHS,
16, G_PARAM_READWRITE)); 16, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_CHANNELS, g_object_class_install_property (gobject_class, ARG_CHANNELS,
g_param_spec_enum ("channels", "channels", "channels", g_param_spec_enum ("channels", "channels", "channels",
GST_TYPE_ESDMON_CHANNELS, 2, G_PARAM_READWRITE)); GST_TYPE_ESDMON_CHANNELS, 2,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_RATE, g_object_class_install_property (gobject_class, ARG_RATE,
g_param_spec_int ("frequency", "frequency", "frequency", g_param_spec_int ("frequency", "frequency", "frequency",
G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_HOST, g_object_class_install_property (gobject_class, ARG_HOST,
g_param_spec_string ("host", "host", "host", NULL, G_PARAM_READWRITE)); g_param_spec_string ("host", "host", "host", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->set_property = gst_esdmon_set_property; gobject_class->set_property = gst_esdmon_set_property;
gobject_class->get_property = gst_esdmon_get_property; gobject_class->get_property = gst_esdmon_get_property;

View file

@ -150,7 +150,8 @@ gst_esdsink_class_init (GstEsdSinkClass * klass)
/* default value is filled in the _init method */ /* default value is filled in the _init method */
g_object_class_install_property (gobject_class, PROP_HOST, g_object_class_install_property (gobject_class, PROP_HOST,
g_param_spec_string ("host", "Host", g_param_spec_string ("host", "Host",
"The host running the esound daemon", NULL, G_PARAM_READWRITE)); "The host running the esound daemon", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
static void static void

View file

@ -294,72 +294,73 @@ gst_flac_enc_class_init (GstFlacEncClass * klass)
"Quality", "Quality",
"Speed versus compression tradeoff", "Speed versus compression tradeoff",
GST_TYPE_FLAC_ENC_QUALITY, DEFAULT_QUALITY, GST_TYPE_FLAC_ENC_QUALITY, DEFAULT_QUALITY,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_STREAMABLE_SUBSET, g_param_spec_boolean ("streamable-subset", PROP_STREAMABLE_SUBSET, g_param_spec_boolean ("streamable-subset",
"Streamable subset", "Streamable subset",
"true to limit encoder to generating a Subset stream, else false", "true to limit encoder to generating a Subset stream, else false",
TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); TRUE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MID_SIDE_STEREO, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MID_SIDE_STEREO,
g_param_spec_boolean ("mid-side-stereo", "Do mid side stereo", g_param_spec_boolean ("mid-side-stereo", "Do mid side stereo",
"Do mid side stereo (only for stereo input)", "Do mid side stereo (only for stereo input)",
flacenc_params[DEFAULT_QUALITY].mid_side, flacenc_params[DEFAULT_QUALITY].mid_side,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_LOOSE_MID_SIDE_STEREO, g_param_spec_boolean ("loose-mid-side-stereo", PROP_LOOSE_MID_SIDE_STEREO, g_param_spec_boolean ("loose-mid-side-stereo",
"Loose mid side stereo", "Loose mid side stereo", "Loose mid side stereo", "Loose mid side stereo",
flacenc_params[DEFAULT_QUALITY].loose_mid_side, flacenc_params[DEFAULT_QUALITY].loose_mid_side,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BLOCKSIZE, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BLOCKSIZE,
g_param_spec_uint ("blocksize", "Blocksize", "Blocksize in samples", g_param_spec_uint ("blocksize", "Blocksize", "Blocksize in samples",
FLAC__MIN_BLOCK_SIZE, FLAC__MAX_BLOCK_SIZE, FLAC__MIN_BLOCK_SIZE, FLAC__MAX_BLOCK_SIZE,
flacenc_params[DEFAULT_QUALITY].blocksize, flacenc_params[DEFAULT_QUALITY].blocksize,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MAX_LPC_ORDER, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_MAX_LPC_ORDER,
g_param_spec_uint ("max-lpc-order", "Max LPC order", g_param_spec_uint ("max-lpc-order", "Max LPC order",
"Max LPC order; 0 => use only fixed predictors", 0, "Max LPC order; 0 => use only fixed predictors", 0,
FLAC__MAX_LPC_ORDER, flacenc_params[DEFAULT_QUALITY].max_lpc_order, FLAC__MAX_LPC_ORDER, flacenc_params[DEFAULT_QUALITY].max_lpc_order,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_QLP_COEFF_PRECISION, g_param_spec_uint ("qlp-coeff-precision", PROP_QLP_COEFF_PRECISION, g_param_spec_uint ("qlp-coeff-precision",
"QLP coefficients precision", "QLP coefficients precision",
"Precision in bits of quantized linear-predictor coefficients; 0 = automatic", "Precision in bits of quantized linear-predictor coefficients; 0 = automatic",
0, 32, flacenc_params[DEFAULT_QUALITY].qlp_coeff_precision, 0, 32, flacenc_params[DEFAULT_QUALITY].qlp_coeff_precision,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_QLP_COEFF_PREC_SEARCH, g_param_spec_boolean ("qlp-coeff-prec-search", PROP_QLP_COEFF_PREC_SEARCH, g_param_spec_boolean ("qlp-coeff-prec-search",
"Do QLP coefficients precision search", "Do QLP coefficients precision search",
"false = use qlp_coeff_precision, " "false = use qlp_coeff_precision, "
"true = search around qlp_coeff_precision, take best", "true = search around qlp_coeff_precision, take best",
flacenc_params[DEFAULT_QUALITY].qlp_coeff_prec_search, flacenc_params[DEFAULT_QUALITY].qlp_coeff_prec_search,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_ESCAPE_CODING, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_ESCAPE_CODING,
g_param_spec_boolean ("escape-coding", "Do Escape coding", g_param_spec_boolean ("escape-coding", "Do Escape coding",
"search for escape codes in the entropy coding stage " "search for escape codes in the entropy coding stage "
"for slightly better compression", "for slightly better compression",
flacenc_params[DEFAULT_QUALITY].escape_coding, flacenc_params[DEFAULT_QUALITY].escape_coding,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_EXHAUSTIVE_MODEL_SEARCH, PROP_EXHAUSTIVE_MODEL_SEARCH,
g_param_spec_boolean ("exhaustive-model-search", g_param_spec_boolean ("exhaustive-model-search",
"Do exhaustive model search", "Do exhaustive model search",
"do exhaustive search of LP coefficient quantization (expensive!)", "do exhaustive search of LP coefficient quantization (expensive!)",
flacenc_params[DEFAULT_QUALITY].exhaustive_model_search, flacenc_params[DEFAULT_QUALITY].exhaustive_model_search,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_MIN_RESIDUAL_PARTITION_ORDER, PROP_MIN_RESIDUAL_PARTITION_ORDER,
g_param_spec_uint ("min-residual-partition-order", g_param_spec_uint ("min-residual-partition-order",
"Min residual partition order", "Min residual partition order",
"Min residual partition order (above 4 doesn't usually help much)", 0, "Min residual partition order (above 4 doesn't usually help much)", 0,
16, flacenc_params[DEFAULT_QUALITY].min_residual_partition_order, 16, flacenc_params[DEFAULT_QUALITY].min_residual_partition_order,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_MAX_RESIDUAL_PARTITION_ORDER, PROP_MAX_RESIDUAL_PARTITION_ORDER,
g_param_spec_uint ("max-residual-partition-order", g_param_spec_uint ("max-residual-partition-order",
"Max residual partition order", "Max residual partition order",
"Max residual partition order (above 4 doesn't usually help much)", 0, "Max residual partition order (above 4 doesn't usually help much)", 0,
16, flacenc_params[DEFAULT_QUALITY].max_residual_partition_order, 16, flacenc_params[DEFAULT_QUALITY].max_residual_partition_order,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_RICE_PARAMETER_SEARCH_DIST, PROP_RICE_PARAMETER_SEARCH_DIST,
g_param_spec_uint ("rice-parameter-search-dist", g_param_spec_uint ("rice-parameter-search-dist",
@ -367,7 +368,7 @@ gst_flac_enc_class_init (GstFlacEncClass * klass)
"0 = try only calc'd parameter k; else try all [k-dist..k+dist] " "0 = try only calc'd parameter k; else try all [k-dist..k+dist] "
"parameters, use best", 0, FLAC__MAX_RICE_PARTITION_ORDER, "parameters, use best", 0, FLAC__MAX_RICE_PARTITION_ORDER,
flacenc_params[DEFAULT_QUALITY].rice_parameter_search_dist, flacenc_params[DEFAULT_QUALITY].rice_parameter_search_dist,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GstFlacEnc:padding * GstFlacEnc:padding
@ -381,7 +382,8 @@ gst_flac_enc_class_init (GstFlacEncClass * klass)
g_param_spec_uint ("padding", g_param_spec_uint ("padding",
"Padding", "Padding",
"Write a PADDING block with this length in bytes", 0, G_MAXUINT, "Write a PADDING block with this length in bytes", 0, G_MAXUINT,
DEFAULT_PADDING, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); DEFAULT_PADDING,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
/** /**
* GstFlacEnc:seekpoints * GstFlacEnc:seekpoints
@ -397,7 +399,8 @@ gst_flac_enc_class_init (GstFlacEncClass * klass)
"Seekpoints", "Seekpoints",
"Add SEEKTABLE metadata (if > 0, number of entries, if < 0, interval in sec)", "Add SEEKTABLE metadata (if > 0, number of entries, if < 0, interval in sec)",
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
DEFAULT_SEEKPOINTS, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); DEFAULT_SEEKPOINTS,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gst_flac_enc_change_state; gstelement_class->change_state = gst_flac_enc_change_state;
} }

View file

@ -182,7 +182,8 @@ gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass)
g_object_class_install_property (gobject_class, ARG_SILENT, g_object_class_install_property (gobject_class, ARG_SILENT,
g_param_spec_boolean ("silent", "Silent", g_param_spec_boolean ("silent", "Silent",
"Produce verbose output ? (deprecated)", FALSE, G_PARAM_READWRITE)); "Produce verbose output ? (deprecated)", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_gdk_pixbuf_change_state); GST_DEBUG_FUNCPTR (gst_gdk_pixbuf_change_state);

View file

@ -164,7 +164,7 @@ gst_gdk_pixbuf_sink_class_init (GstGdkPixbufSinkClass * klass)
g_param_spec_boolean ("send-messages", "Send Messages", g_param_spec_boolean ("send-messages", "Send Messages",
"Whether to post messages containing pixbufs on the bus " "Whether to post messages containing pixbufs on the bus "
" (deprecated, use post-messages)", " (deprecated, use post-messages)",
DEFAULT_SEND_MESSAGES, G_PARAM_READWRITE)); DEFAULT_SEND_MESSAGES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstGdkPixbuf:post-messages: * GstGdkPixbuf:post-messages:
* *
@ -175,11 +175,12 @@ gst_gdk_pixbuf_sink_class_init (GstGdkPixbufSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_POST_MESSAGES, g_object_class_install_property (gobject_class, PROP_POST_MESSAGES,
g_param_spec_boolean ("post-messages", "Post Messages", g_param_spec_boolean ("post-messages", "Post Messages",
"Whether to post messages containing pixbufs on the bus", "Whether to post messages containing pixbufs on the bus",
DEFAULT_POST_MESSAGES, G_PARAM_READWRITE)); DEFAULT_POST_MESSAGES, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_LAST_PIXBUF, g_object_class_install_property (gobject_class, PROP_LAST_PIXBUF,
g_param_spec_object ("last-pixbuf", "Last Pixbuf", g_param_spec_object ("last-pixbuf", "Last Pixbuf",
"Last GdkPixbuf object rendered", GDK_TYPE_PIXBUF, G_PARAM_READABLE)); "Last GdkPixbuf object rendered", GDK_TYPE_PIXBUF,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
basesink_class->start = GST_DEBUG_FUNCPTR (gst_gdk_pixbuf_sink_start); basesink_class->start = GST_DEBUG_FUNCPTR (gst_gdk_pixbuf_sink_start);
basesink_class->stop = GST_DEBUG_FUNCPTR (gst_gdk_pixbuf_sink_stop); basesink_class->stop = GST_DEBUG_FUNCPTR (gst_gdk_pixbuf_sink_stop);

View file

@ -144,7 +144,7 @@ gst_pixbufscale_class_init (GstPixbufScaleClass * klass)
ARG_METHOD, ARG_METHOD,
g_param_spec_enum ("method", "method", "method", g_param_spec_enum ("method", "method", "method",
GST_TYPE_PIXBUFSCALE_METHOD, GST_PIXBUFSCALE_BILINEAR, GST_TYPE_PIXBUFSCALE_METHOD, GST_PIXBUFSCALE_BILINEAR,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
trans_class->transform_caps = trans_class->transform_caps =
GST_DEBUG_FUNCPTR (gst_pixbufscale_transform_caps); GST_DEBUG_FUNCPTR (gst_pixbufscale_transform_caps);

View file

@ -95,7 +95,8 @@ gst_hal_audio_sink_class_init (GstHalAudioSinkClass * klass)
g_object_class_install_property (oklass, PROP_UDI, g_object_class_install_property (oklass, PROP_UDI,
g_param_spec_string ("udi", g_param_spec_string ("udi",
"UDI", "Unique Device Id", NULL, G_PARAM_READWRITE)); "UDI", "Unique Device Id", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
/* /*

View file

@ -97,7 +97,8 @@ gst_hal_audio_src_class_init (GstHalAudioSrcClass * klass)
g_object_class_install_property (oklass, PROP_UDI, g_object_class_install_property (oklass, PROP_UDI,
g_param_spec_string ("udi", g_param_spec_string ("udi",
"UDI", "Unique Device Id", NULL, G_PARAM_READWRITE)); "UDI", "Unique Device Id", NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
/* /*

View file

@ -189,7 +189,8 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass)
g_object_class_install_property (gobject_class, PROP_IDCT_METHOD, g_object_class_install_property (gobject_class, PROP_IDCT_METHOD,
g_param_spec_enum ("idct-method", "IDCT Method", g_param_spec_enum ("idct-method", "IDCT Method",
"The IDCT algorithm to use", GST_TYPE_IDCT_METHOD, "The IDCT algorithm to use", GST_TYPE_IDCT_METHOD,
JPEG_DEFAULT_IDCT_METHOD, G_PARAM_READWRITE)); JPEG_DEFAULT_IDCT_METHOD,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_jpeg_dec_change_state); GST_DEBUG_FUNCPTR (gst_jpeg_dec_change_state);

View file

@ -173,19 +173,22 @@ gst_jpegenc_class_init (GstJpegEnc * klass)
g_object_class_install_property (gobject_class, PROP_QUALITY, g_object_class_install_property (gobject_class, PROP_QUALITY,
g_param_spec_int ("quality", "Quality", "Quality of encoding", g_param_spec_int ("quality", "Quality", "Quality of encoding",
0, 100, JPEG_DEFAULT_QUALITY, G_PARAM_READWRITE)); 0, 100, JPEG_DEFAULT_QUALITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#ifdef ENABLE_SMOOTHING #ifdef ENABLE_SMOOTHING
/* disabled, since it doesn't seem to work */ /* disabled, since it doesn't seem to work */
g_object_class_install_property (gobject_class, PROP_SMOOTHING, g_object_class_install_property (gobject_class, PROP_SMOOTHING,
g_param_spec_int ("smoothing", "Smoothing", "Smoothing factor", g_param_spec_int ("smoothing", "Smoothing", "Smoothing factor",
0, 100, JPEG_DEFAULT_SMOOTHING, G_PARAM_READWRITE)); 0, 100, JPEG_DEFAULT_SMOOTHING,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#endif #endif
g_object_class_install_property (gobject_class, PROP_IDCT_METHOD, g_object_class_install_property (gobject_class, PROP_IDCT_METHOD,
g_param_spec_enum ("idct-method", "IDCT Method", g_param_spec_enum ("idct-method", "IDCT Method",
"The IDCT algorithm to use", GST_TYPE_IDCT_METHOD, "The IDCT algorithm to use", GST_TYPE_IDCT_METHOD,
JPEG_DEFAULT_IDCT_METHOD, G_PARAM_READWRITE)); JPEG_DEFAULT_IDCT_METHOD,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gst_jpegenc_change_state; gstelement_class->change_state = gst_jpegenc_change_state;

View file

@ -149,17 +149,20 @@ gst_smokeenc_class_init (GstSmokeEnc * klass)
g_object_class_install_property (gobject_class, PROP_MIN_QUALITY, g_object_class_install_property (gobject_class, PROP_MIN_QUALITY,
g_param_spec_int ("qmin", "Qmin", "Minimum quality", g_param_spec_int ("qmin", "Qmin", "Minimum quality",
0, 100, DEFAULT_PROP_MIN_QUALITY, G_PARAM_READWRITE)); 0, 100, DEFAULT_PROP_MIN_QUALITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_MAX_QUALITY, g_object_class_install_property (gobject_class, PROP_MAX_QUALITY,
g_param_spec_int ("qmax", "Qmax", "Maximum quality", g_param_spec_int ("qmax", "Qmax", "Maximum quality",
0, 100, DEFAULT_PROP_MAX_QUALITY, G_PARAM_READWRITE)); 0, 100, DEFAULT_PROP_MAX_QUALITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_THRESHOLD, g_object_class_install_property (gobject_class, PROP_THRESHOLD,
g_param_spec_int ("threshold", "Threshold", "Motion estimation threshold", g_param_spec_int ("threshold", "Threshold", "Motion estimation threshold",
0, 100000000, DEFAULT_PROP_THRESHOLD, G_PARAM_READWRITE)); 0, 100000000, DEFAULT_PROP_THRESHOLD,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_KEYFRAME, g_object_class_install_property (gobject_class, PROP_KEYFRAME,
g_param_spec_int ("keyframe", "Keyframe", g_param_spec_int ("keyframe", "Keyframe",
"Insert keyframe every N frames", 1, 100000, "Insert keyframe every N frames", 1, 100000,
DEFAULT_PROP_KEYFRAME, G_PARAM_READWRITE)); DEFAULT_PROP_KEYFRAME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_smokeenc_change_state); GST_DEBUG_FUNCPTR (gst_smokeenc_change_state);

View file

@ -175,17 +175,20 @@ gst_cacasink_class_init (GstCACASinkClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SCREEN_WIDTH, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SCREEN_WIDTH,
g_param_spec_int ("screen-width", "Screen Width", g_param_spec_int ("screen-width", "Screen Width",
"The width of the screen", 0, G_MAXINT, GST_CACA_DEFAULT_SCREEN_WIDTH, "The width of the screen", 0, G_MAXINT, GST_CACA_DEFAULT_SCREEN_WIDTH,
G_PARAM_READABLE)); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SCREEN_HEIGHT, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SCREEN_HEIGHT,
g_param_spec_int ("screen-height", "Screen Height", g_param_spec_int ("screen-height", "Screen Height",
"The height of the screen", 0, G_MAXINT, "The height of the screen", 0, G_MAXINT,
GST_CACA_DEFAULT_SCREEN_HEIGHT, G_PARAM_READABLE)); GST_CACA_DEFAULT_SCREEN_HEIGHT,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DITHER, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DITHER,
g_param_spec_enum ("dither", "Dither Type", "Set type of Dither", g_param_spec_enum ("dither", "Dither Type", "Set type of Dither",
GST_TYPE_CACADITHER, CACA_DITHERING_NONE, G_PARAM_READWRITE)); GST_TYPE_CACADITHER, CACA_DITHERING_NONE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ANTIALIASING, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ANTIALIASING,
g_param_spec_boolean ("anti-aliasing", "Anti Aliasing", g_param_spec_boolean ("anti-aliasing", "Anti Aliasing",
"Enables Anti-Aliasing", TRUE, G_PARAM_READWRITE)); "Enables Anti-Aliasing", TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstbasesink_class->set_caps = GST_DEBUG_FUNCPTR (gst_cacasink_setcaps); gstbasesink_class->set_caps = GST_DEBUG_FUNCPTR (gst_cacasink_setcaps);
gstbasesink_class->get_times = GST_DEBUG_FUNCPTR (gst_cacasink_get_times); gstbasesink_class->get_times = GST_DEBUG_FUNCPTR (gst_cacasink_get_times);

View file

@ -124,19 +124,19 @@ gst_pngenc_class_init (GstPngEncClass * klass)
g_object_class_install_property (gobject_class, ARG_SNAPSHOT, g_object_class_install_property (gobject_class, ARG_SNAPSHOT,
g_param_spec_boolean ("snapshot", "Snapshot", g_param_spec_boolean ("snapshot", "Snapshot",
"Send EOS after encoding a frame, useful for snapshots", "Send EOS after encoding a frame, useful for snapshots",
DEFAULT_SNAPSHOT, (GParamFlags) G_PARAM_READWRITE)); DEFAULT_SNAPSHOT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* g_object_class_install_property (gobject_class, ARG_NEWMEDIA, */ /* g_object_class_install_property (gobject_class, ARG_NEWMEDIA, */
/* g_param_spec_boolean ("newmedia", "newmedia", */ /* g_param_spec_boolean ("newmedia", "newmedia", */
/* "Send new media discontinuity after encoding each frame", */ /* "Send new media discontinuity after encoding each frame", */
/* DEFAULT_NEWMEDIA, (GParamFlags) G_PARAM_READWRITE)); */ /* DEFAULT_NEWMEDIA, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); */
g_object_class_install_property g_object_class_install_property (gobject_class, ARG_COMPRESSION_LEVEL,
(gobject_class, ARG_COMPRESSION_LEVEL,
g_param_spec_uint ("compression-level", "compression-level", g_param_spec_uint ("compression-level", "compression-level",
"PNG compression level", "PNG compression level",
Z_NO_COMPRESSION, Z_BEST_COMPRESSION, Z_NO_COMPRESSION, Z_BEST_COMPRESSION,
DEFAULT_COMPRESSION_LEVEL, (GParamFlags) G_PARAM_READWRITE)); DEFAULT_COMPRESSION_LEVEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
GST_DEBUG_CATEGORY_INIT (pngenc_debug, "pngenc", 0, "PNG image encoder"); GST_DEBUG_CATEGORY_INIT (pngenc_debug, "pngenc", 0, "PNG image encoder");
} }

View file

@ -150,44 +150,44 @@ gst_mikmod_class_init (GstMikModClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SONGNAME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SONGNAME,
g_param_spec_string ("songname", "songname", "songname", g_param_spec_string ("songname", "songname", "songname",
NULL, G_PARAM_READABLE)); NULL, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MODTYPE, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MODTYPE,
g_param_spec_string ("modtype", "modtype", "modtype", g_param_spec_string ("modtype", "modtype", "modtype",
NULL, G_PARAM_READABLE)); NULL, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MUSICVOLUME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MUSICVOLUME,
g_param_spec_int ("musicvolume", "musivolume", "musicvolume", g_param_spec_int ("musicvolume", "musivolume", "musicvolume",
0, 128, 128, G_PARAM_READWRITE)); 0, 128, 128, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PANSEP, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PANSEP,
g_param_spec_int ("pansep", "pansep", "pansep", g_param_spec_int ("pansep", "pansep", "pansep",
0, 128, 128, G_PARAM_READWRITE)); 0, 128, 128, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERB, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERB,
g_param_spec_int ("reverb", "reverb", "reverb", g_param_spec_int ("reverb", "reverb", "reverb",
0, 15, 0, G_PARAM_READWRITE)); 0, 15, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SNDFXVOLUME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SNDFXVOLUME,
g_param_spec_int ("sndfxvolume", "sndfxvolume", "sndfxvolume", g_param_spec_int ("sndfxvolume", "sndfxvolume", "sndfxvolume",
0, 128, 128, G_PARAM_READWRITE)); 0, 128, 128, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_VOLUME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_VOLUME,
g_param_spec_int ("volume", "volume", "volume", g_param_spec_int ("volume", "volume", "volume",
0, 128, 96, G_PARAM_READWRITE)); 0, 128, 96, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_INTERP, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_INTERP,
g_param_spec_boolean ("interp", "interp", "interp", g_param_spec_boolean ("interp", "interp", "interp",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERSE, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERSE,
g_param_spec_boolean ("reverse", "reverse", "reverse", g_param_spec_boolean ("reverse", "reverse", "reverse",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SURROUND, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SURROUND,
g_param_spec_boolean ("surround", "surround", "surround", g_param_spec_boolean ("surround", "surround", "surround",
TRUE, G_PARAM_READWRITE)); TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HQMIXER, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_HQMIXER,
g_param_spec_boolean ("hqmixer", "hqmixer", "hqmixer", g_param_spec_boolean ("hqmixer", "hqmixer", "hqmixer",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SOFT_MUSIC, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SOFT_MUSIC,
g_param_spec_boolean ("soft-music", "soft music", "soft music", g_param_spec_boolean ("soft-music", "soft music", "soft music",
TRUE, G_PARAM_READWRITE)); TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SOFT_SNDFX, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SOFT_SNDFX,
g_param_spec_boolean ("soft-sndfx", "soft sndfx", "soft sndfx", g_param_spec_boolean ("soft-sndfx", "soft sndfx", "soft sndfx",
TRUE, G_PARAM_READWRITE)); TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->set_property = gst_mikmod_set_property; gobject_class->set_property = gst_mikmod_set_property;

View file

@ -208,29 +208,30 @@ gst_dv1394src_class_init (GstDV1394SrcClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
g_param_spec_int ("port", "Port", "Port number (-1 automatic)", g_param_spec_int ("port", "Port", "Port number (-1 automatic)",
-1, 16, DEFAULT_PORT, G_PARAM_READWRITE)); -1, 16, DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CHANNEL, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CHANNEL,
g_param_spec_int ("channel", "Channel", "Channel number for listening", g_param_spec_int ("channel", "Channel", "Channel number for listening",
0, 64, DEFAULT_CHANNEL, G_PARAM_READWRITE)); 0, 64, DEFAULT_CHANNEL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CONSECUTIVE, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CONSECUTIVE,
g_param_spec_int ("consecutive", "consecutive frames", g_param_spec_int ("consecutive", "consecutive frames",
"send n consecutive frames after skipping", 1, G_MAXINT, "send n consecutive frames after skipping", 1, G_MAXINT,
DEFAULT_CONSECUTIVE, G_PARAM_READWRITE)); DEFAULT_CONSECUTIVE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SKIP, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SKIP,
g_param_spec_int ("skip", "skip frames", "skip n frames", g_param_spec_int ("skip", "skip frames", "skip n frames",
0, G_MAXINT, DEFAULT_SKIP, G_PARAM_READWRITE)); 0, G_MAXINT, DEFAULT_SKIP,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DROP_INCOMPLETE, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DROP_INCOMPLETE,
g_param_spec_boolean ("drop-incomplete", "drop incomplete", g_param_spec_boolean ("drop-incomplete", "drop incomplete",
"drop incomplete frames", DEFAULT_DROP_INCOMPLETE, "drop incomplete frames", DEFAULT_DROP_INCOMPLETE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_USE_AVC, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_USE_AVC,
g_param_spec_boolean ("use-avc", "Use AV/C", "Use AV/C VTR control", g_param_spec_boolean ("use-avc", "Use AV/C", "Use AV/C VTR control",
DEFAULT_USE_AVC, G_PARAM_READWRITE)); DEFAULT_USE_AVC, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_GUID, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_GUID,
g_param_spec_uint64 ("guid", "GUID", g_param_spec_uint64 ("guid", "GUID",
"select one of multiple DV devices by its GUID. use a hexadecimal " "select one of multiple DV devices by its GUID. use a hexadecimal "
"like 0xhhhhhhhhhhhhhhhh. (0 = no guid)", 0, G_MAXUINT64, "like 0xhhhhhhhhhhhhhhhh. (0 = no guid)", 0, G_MAXUINT64,
DEFAULT_GUID, G_PARAM_READWRITE)); DEFAULT_GUID, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstDV1394Src:device-name * GstDV1394Src:device-name
* *
@ -240,7 +241,8 @@ gst_dv1394src_class_init (GstDV1394SrcClass * klass)
**/ **/
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DEVICE_NAME, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "device name", g_param_spec_string ("device-name", "device name",
"user-friendly name of the device", "Default", G_PARAM_READABLE)); "user-friendly name of the device", "Default",
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gstbasesrc_class->negotiate = NULL; gstbasesrc_class->negotiate = NULL;
gstbasesrc_class->start = gst_dv1394src_start; gstbasesrc_class->start = gst_dv1394src_start;

View file

@ -166,18 +166,18 @@ gst_hdv1394src_class_init (GstHDV1394SrcClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
g_param_spec_int ("port", "Port", "Port number (-1 automatic)", g_param_spec_int ("port", "Port", "Port number (-1 automatic)",
-1, 16, DEFAULT_PORT, G_PARAM_READWRITE)); -1, 16, DEFAULT_PORT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CHANNEL, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_CHANNEL,
g_param_spec_int ("channel", "Channel", "Channel number for listening", g_param_spec_int ("channel", "Channel", "Channel number for listening",
0, 64, DEFAULT_CHANNEL, G_PARAM_READWRITE)); 0, 64, DEFAULT_CHANNEL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_USE_AVC, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_USE_AVC,
g_param_spec_boolean ("use-avc", "Use AV/C", "Use AV/C VTR control", g_param_spec_boolean ("use-avc", "Use AV/C", "Use AV/C VTR control",
DEFAULT_USE_AVC, G_PARAM_READWRITE)); DEFAULT_USE_AVC, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_GUID, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_GUID,
g_param_spec_uint64 ("guid", "GUID", g_param_spec_uint64 ("guid", "GUID",
"select one of multiple DV devices by its GUID. use a hexadecimal " "select one of multiple DV devices by its GUID. use a hexadecimal "
"like 0xhhhhhhhhhhhhhhhh. (0 = no guid)", 0, G_MAXUINT64, "like 0xhhhhhhhhhhhhhhhh. (0 = no guid)", 0, G_MAXUINT64,
DEFAULT_GUID, G_PARAM_READWRITE)); DEFAULT_GUID, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/** /**
* GstHDV1394Src:device-name * GstHDV1394Src:device-name
* *
@ -187,7 +187,8 @@ gst_hdv1394src_class_init (GstHDV1394SrcClass * klass)
**/ **/
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DEVICE_NAME, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DEVICE_NAME,
g_param_spec_string ("device-name", "device name", g_param_spec_string ("device-name", "device name",
"user-friendly name of the device", "Default", G_PARAM_READABLE)); "user-friendly name of the device", "Default",
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gstbasesrc_class->negotiate = NULL; gstbasesrc_class->negotiate = NULL;
gstbasesrc_class->start = gst_hdv1394src_start; gstbasesrc_class->start = gst_hdv1394src_start;

View file

@ -187,50 +187,52 @@ gst_shout2send_class_init (GstShout2sendClass * klass)
gobject_class->finalize = (GObjectFinalizeFunc) gst_shout2send_finalize; gobject_class->finalize = (GObjectFinalizeFunc) gst_shout2send_finalize;
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_IP, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_IP,
g_param_spec_string ("ip", "ip", "ip", DEFAULT_IP, G_PARAM_READWRITE)); g_param_spec_string ("ip", "ip", "ip", DEFAULT_IP,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PORT, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PORT,
g_param_spec_int ("port", "port", "port", 1, G_MAXUSHORT, DEFAULT_PORT, g_param_spec_int ("port", "port", "port", 1, G_MAXUSHORT, DEFAULT_PORT,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PASSWORD, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PASSWORD,
g_param_spec_string ("password", "password", "password", DEFAULT_PASSWORD, g_param_spec_string ("password", "password", "password", DEFAULT_PASSWORD,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_USERNAME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_USERNAME,
g_param_spec_string ("username", "username", "username", DEFAULT_USERNAME, g_param_spec_string ("username", "username", "username", DEFAULT_USERNAME,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* metadata */ /* metadata */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PUBLIC, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PUBLIC,
g_param_spec_boolean ("public", "public", g_param_spec_boolean ("public", "public",
"If the stream should be listed on the server's stream directory", "If the stream should be listed on the server's stream directory",
DEFAULT_PUBLIC, G_PARAM_READWRITE)); DEFAULT_PUBLIC, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_STREAMNAME, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_STREAMNAME,
g_param_spec_string ("streamname", "streamname", "name of the stream", g_param_spec_string ("streamname", "streamname", "name of the stream",
DEFAULT_STREAMNAME, G_PARAM_READWRITE)); DEFAULT_STREAMNAME, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DESCRIPTION, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DESCRIPTION,
g_param_spec_string ("description", "description", "description", g_param_spec_string ("description", "description", "description",
DEFAULT_DESCRIPTION, G_PARAM_READWRITE)); DEFAULT_DESCRIPTION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_GENRE, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_GENRE,
g_param_spec_string ("genre", "genre", "genre", DEFAULT_GENRE, g_param_spec_string ("genre", "genre", "genre", DEFAULT_GENRE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PROTOCOL, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PROTOCOL,
g_param_spec_enum ("protocol", "protocol", "Connection Protocol to use", g_param_spec_enum ("protocol", "protocol", "Connection Protocol to use",
GST_TYPE_SHOUT_PROTOCOL, DEFAULT_PROTOCOL, G_PARAM_READWRITE)); GST_TYPE_SHOUT_PROTOCOL, DEFAULT_PROTOCOL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* icecast only */ /* icecast only */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MOUNT, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MOUNT,
g_param_spec_string ("mount", "mount", "mount", DEFAULT_MOUNT, g_param_spec_string ("mount", "mount", "mount", DEFAULT_MOUNT,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_URL, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_URL,
g_param_spec_string ("url", "url", "url", DEFAULT_URL, g_param_spec_string ("url", "url", "url", DEFAULT_URL,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* signals */ /* signals */
gst_shout2send_signals[SIGNAL_CONNECTION_PROBLEM] = gst_shout2send_signals[SIGNAL_CONNECTION_PROBLEM] =

View file

@ -219,51 +219,54 @@ gst_soup_http_src_class_init (GstSoupHTTPSrcClass * klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_LOCATION, PROP_LOCATION,
g_param_spec_string ("location", "Location", g_param_spec_string ("location", "Location",
"Location to read from", "", G_PARAM_READWRITE)); "Location to read from", "",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_USER_AGENT, PROP_USER_AGENT,
g_param_spec_string ("user-agent", "User-Agent", g_param_spec_string ("user-agent", "User-Agent",
"Value of the User-Agent HTTP request header field", "Value of the User-Agent HTTP request header field",
DEFAULT_USER_AGENT, G_PARAM_READWRITE)); DEFAULT_USER_AGENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_AUTOMATIC_REDIRECT, PROP_AUTOMATIC_REDIRECT,
g_param_spec_boolean ("automatic-redirect", "automatic-redirect", g_param_spec_boolean ("automatic-redirect", "automatic-redirect",
"Automatically follow HTTP redirects (HTTP Status Code 3xx)", "Automatically follow HTTP redirects (HTTP Status Code 3xx)",
TRUE, G_PARAM_READWRITE)); TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_PROXY, PROP_PROXY,
g_param_spec_string ("proxy", "Proxy", g_param_spec_string ("proxy", "Proxy",
"HTTP proxy server URI", "", G_PARAM_READWRITE)); "HTTP proxy server URI", "",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_USER_ID, PROP_USER_ID,
g_param_spec_string ("user-id", "user-id", g_param_spec_string ("user-id", "user-id",
"HTTP location URI user id for authentication", "", "HTTP location URI user id for authentication", "",
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_USER_PW, g_object_class_install_property (gobject_class, PROP_USER_PW,
g_param_spec_string ("user-pw", "user-pw", g_param_spec_string ("user-pw", "user-pw",
"HTTP location URI user password for authentication", "", "HTTP location URI user password for authentication", "",
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_PROXY_ID, g_object_class_install_property (gobject_class, PROP_PROXY_ID,
g_param_spec_string ("proxy-id", "proxy-id", g_param_spec_string ("proxy-id", "proxy-id",
"HTTP proxy URI user id for authentication", "", G_PARAM_READWRITE)); "HTTP proxy URI user id for authentication", "",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_PROXY_PW, g_object_class_install_property (gobject_class, PROP_PROXY_PW,
g_param_spec_string ("proxy-pw", "proxy-pw", g_param_spec_string ("proxy-pw", "proxy-pw",
"HTTP proxy URI user password for authentication", "", "HTTP proxy URI user password for authentication", "",
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_COOKIES, g_object_class_install_property (gobject_class, PROP_COOKIES,
g_param_spec_boxed ("cookies", "Cookies", "HTTP request cookies", g_param_spec_boxed ("cookies", "Cookies", "HTTP request cookies",
G_TYPE_STRV, G_PARAM_READWRITE)); G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_IS_LIVE, g_object_class_install_property (gobject_class, PROP_IS_LIVE,
g_param_spec_boolean ("is-live", "is-live", "Act like a live source", g_param_spec_boolean ("is-live", "is-live", "Act like a live source",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_TIMEOUT, g_object_class_install_property (gobject_class, PROP_TIMEOUT,
g_param_spec_uint ("timeout", "timeout", g_param_spec_uint ("timeout", "timeout",
"Value in seconds to timeout a blocking I/O (0 = No timeout).", 0, "Value in seconds to timeout a blocking I/O (0 = No timeout).", 0,
3600, 0, G_PARAM_READWRITE)); 3600, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_EXTRA_HEADERS, g_object_class_install_property (gobject_class, PROP_EXTRA_HEADERS,
g_param_spec_boxed ("extra-headers", "Extra Headers", g_param_spec_boxed ("extra-headers", "Extra Headers",
"Extra headers to append to the HTTP request", "Extra headers to append to the HTTP request",
GST_TYPE_STRUCTURE, G_PARAM_READWRITE)); GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* icecast stuff */ /* icecast stuff */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -271,25 +274,29 @@ gst_soup_http_src_class_init (GstSoupHTTPSrcClass * klass)
g_param_spec_boolean ("iradio-mode", g_param_spec_boolean ("iradio-mode",
"iradio-mode", "iradio-mode",
"Enable internet radio mode (extraction of shoutcast/icecast metadata)", "Enable internet radio mode (extraction of shoutcast/icecast metadata)",
FALSE, G_PARAM_READWRITE)); FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_IRADIO_NAME, PROP_IRADIO_NAME,
g_param_spec_string ("iradio-name", g_param_spec_string ("iradio-name",
"iradio-name", "Name of the stream", NULL, G_PARAM_READABLE)); "iradio-name", "Name of the stream", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_IRADIO_GENRE, PROP_IRADIO_GENRE,
g_param_spec_string ("iradio-genre", g_param_spec_string ("iradio-genre",
"iradio-genre", "Genre of the stream", NULL, G_PARAM_READABLE)); "iradio-genre", "Genre of the stream", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_IRADIO_URL, PROP_IRADIO_URL,
g_param_spec_string ("iradio-url", g_param_spec_string ("iradio-url",
"iradio-url", "iradio-url",
"Homepage URL for radio stream", NULL, G_PARAM_READABLE)); "Homepage URL for radio stream", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_IRADIO_TITLE, PROP_IRADIO_TITLE,
g_param_spec_string ("iradio-title", g_param_spec_string ("iradio-title",
"iradio-title", "iradio-title",
"Name of currently playing song", NULL, G_PARAM_READABLE)); "Name of currently playing song", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gstbasesrc_class->start = GST_DEBUG_FUNCPTR (gst_soup_http_src_start); gstbasesrc_class->start = GST_DEBUG_FUNCPTR (gst_soup_http_src_start);
gstbasesrc_class->stop = GST_DEBUG_FUNCPTR (gst_soup_http_src_stop); gstbasesrc_class->stop = GST_DEBUG_FUNCPTR (gst_soup_http_src_stop);

View file

@ -128,7 +128,7 @@ gst_speex_dec_class_init (GstSpeexDecClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ENH, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ENH,
g_param_spec_boolean ("enh", "Enh", "Enable perceptual enhancement", g_param_spec_boolean ("enh", "Enh", "Enable perceptual enhancement",
DEFAULT_ENH, G_PARAM_READWRITE)); DEFAULT_ENH, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = GST_DEBUG_FUNCPTR (speex_dec_change_state); gstelement_class->change_state = GST_DEBUG_FUNCPTR (speex_dec_change_state);

View file

@ -197,39 +197,48 @@ gst_speex_enc_class_init (GstSpeexEncClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_QUALITY, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_QUALITY,
g_param_spec_float ("quality", "Quality", "Encoding quality", g_param_spec_float ("quality", "Quality", "Encoding quality",
0.0, 10.0, DEFAULT_QUALITY, G_PARAM_READWRITE)); 0.0, 10.0, DEFAULT_QUALITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BITRATE, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BITRATE,
g_param_spec_int ("bitrate", "Encoding Bit-rate", g_param_spec_int ("bitrate", "Encoding Bit-rate",
"Specify an encoding bit-rate (in bps). (0 = automatic)", "Specify an encoding bit-rate (in bps). (0 = automatic)",
0, G_MAXINT, DEFAULT_BITRATE, G_PARAM_READWRITE)); 0, G_MAXINT, DEFAULT_BITRATE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_MODE, g_object_class_install_property (gobject_class, PROP_MODE,
g_param_spec_enum ("mode", "Mode", "The encoding mode", g_param_spec_enum ("mode", "Mode", "The encoding mode",
GST_TYPE_SPEEX_ENC_MODE, GST_SPEEX_ENC_MODE_AUTO, GST_TYPE_SPEEX_ENC_MODE, GST_SPEEX_ENC_MODE_AUTO,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_VBR, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_VBR,
g_param_spec_boolean ("vbr", "VBR", g_param_spec_boolean ("vbr", "VBR",
"Enable variable bit-rate", DEFAULT_VBR, G_PARAM_READWRITE)); "Enable variable bit-rate", DEFAULT_VBR,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_ABR, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_ABR,
g_param_spec_int ("abr", "ABR", g_param_spec_int ("abr", "ABR",
"Enable average bit-rate (0 = disabled)", "Enable average bit-rate (0 = disabled)",
0, G_MAXINT, DEFAULT_ABR, G_PARAM_READWRITE)); 0, G_MAXINT, DEFAULT_ABR,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_VAD, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_VAD,
g_param_spec_boolean ("vad", "VAD", g_param_spec_boolean ("vad", "VAD",
"Enable voice activity detection", DEFAULT_VAD, G_PARAM_READWRITE)); "Enable voice activity detection", DEFAULT_VAD,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DTX, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_DTX,
g_param_spec_boolean ("dtx", "DTX", g_param_spec_boolean ("dtx", "DTX",
"Enable discontinuous transmission", DEFAULT_DTX, G_PARAM_READWRITE)); "Enable discontinuous transmission", DEFAULT_DTX,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_COMPLEXITY, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_COMPLEXITY,
g_param_spec_int ("complexity", "Complexity", g_param_spec_int ("complexity", "Complexity",
"Set encoding complexity", "Set encoding complexity",
0, G_MAXINT, DEFAULT_COMPLEXITY, G_PARAM_READWRITE)); 0, G_MAXINT, DEFAULT_COMPLEXITY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_NFRAMES, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_NFRAMES,
g_param_spec_int ("nframes", "NFrames", g_param_spec_int ("nframes", "NFrames",
"Number of frames per buffer", "Number of frames per buffer",
0, G_MAXINT, DEFAULT_NFRAMES, G_PARAM_READWRITE)); 0, G_MAXINT, DEFAULT_NFRAMES,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_LAST_MESSAGE, g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_LAST_MESSAGE,
g_param_spec_string ("last-message", "last-message", g_param_spec_string ("last-message", "last-message",
"The last status message", NULL, G_PARAM_READABLE)); "The last status message", NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gobject_class->finalize = gst_speex_enc_finalize; gobject_class->finalize = gst_speex_enc_finalize;

View file

@ -254,34 +254,35 @@ gst_wavpack_enc_class_init (GstWavpackEncClass * klass)
g_param_spec_enum ("mode", "Encoding mode", g_param_spec_enum ("mode", "Encoding mode",
"Speed versus compression tradeoff.", "Speed versus compression tradeoff.",
GST_TYPE_WAVPACK_ENC_MODE, GST_WAVPACK_ENC_MODE_DEFAULT, GST_TYPE_WAVPACK_ENC_MODE, GST_WAVPACK_ENC_MODE_DEFAULT,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_BITRATE, g_object_class_install_property (gobject_class, ARG_BITRATE,
g_param_spec_uint ("bitrate", "Bitrate", g_param_spec_uint ("bitrate", "Bitrate",
"Try to encode with this average bitrate (bits/sec). " "Try to encode with this average bitrate (bits/sec). "
"This enables lossy encoding, values smaller than 24000 disable it again.", "This enables lossy encoding, values smaller than 24000 disable it again.",
0, 9600000, 0, G_PARAM_READWRITE)); 0, 9600000, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_BITSPERSAMPLE, g_object_class_install_property (gobject_class, ARG_BITSPERSAMPLE,
g_param_spec_double ("bits-per-sample", "Bits per sample", g_param_spec_double ("bits-per-sample", "Bits per sample",
"Try to encode with this amount of bits per sample. " "Try to encode with this amount of bits per sample. "
"This enables lossy encoding, values smaller than 2.0 disable it again.", "This enables lossy encoding, values smaller than 2.0 disable it again.",
0.0, 24.0, 0.0, G_PARAM_READWRITE)); 0.0, 24.0, 0.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_CORRECTION_MODE, g_object_class_install_property (gobject_class, ARG_CORRECTION_MODE,
g_param_spec_enum ("correction-mode", "Correction stream mode", g_param_spec_enum ("correction-mode", "Correction stream mode",
"Use this mode for the correction stream. Only works in lossy mode!", "Use this mode for the correction stream. Only works in lossy mode!",
GST_TYPE_WAVPACK_ENC_CORRECTION_MODE, GST_WAVPACK_CORRECTION_MODE_OFF, GST_TYPE_WAVPACK_ENC_CORRECTION_MODE, GST_WAVPACK_CORRECTION_MODE_OFF,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_MD5, g_object_class_install_property (gobject_class, ARG_MD5,
g_param_spec_boolean ("md5", "MD5", g_param_spec_boolean ("md5", "MD5",
"Store MD5 hash of raw samples within the file.", FALSE, "Store MD5 hash of raw samples within the file.", FALSE,
G_PARAM_READWRITE)); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_EXTRA_PROCESSING, g_object_class_install_property (gobject_class, ARG_EXTRA_PROCESSING,
g_param_spec_uint ("extra-processing", "Extra processing", g_param_spec_uint ("extra-processing", "Extra processing",
"Use better but slower filters for better compression/quality.", "Use better but slower filters for better compression/quality.",
0, 6, 0, G_PARAM_READWRITE)); 0, 6, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_JOINT_STEREO_MODE, g_object_class_install_property (gobject_class, ARG_JOINT_STEREO_MODE,
g_param_spec_enum ("joint-stereo-mode", "Joint-Stereo mode", g_param_spec_enum ("joint-stereo-mode", "Joint-Stereo mode",
"Use this joint-stereo mode.", GST_TYPE_WAVPACK_ENC_JOINT_STEREO_MODE, "Use this joint-stereo mode.", GST_TYPE_WAVPACK_ENC_JOINT_STEREO_MODE,
GST_WAVPACK_JS_MODE_AUTO, G_PARAM_READWRITE)); GST_WAVPACK_JS_MODE_AUTO,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
} }
static void static void