summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-10-19 16:23:23 +0300
committerStefan Kost <ensonic@users.sf.net>2010-10-19 17:13:26 +0300
commit0387a89cad03586a750c1cb2e6668da7650790b0 (patch)
treec286600d6174e098491ed51aab44876a8751f55f
parent90e90fd3682a3743941983d509fe23c2db472458 (diff)
various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
-rw-r--r--ext/amrwbenc/gstamrwbenc.c3
-rw-r--r--ext/apexsink/gstapexsink.c16
-rw-r--r--ext/artsd/gstartsdsink.c7
-rw-r--r--ext/audiofile/gstafsink.c5
-rw-r--r--ext/audioresample/gstaudioresample.c5
-rw-r--r--ext/bz2/gstbz2dec.c10
-rw-r--r--ext/bz2/gstbz2enc.c10
-rw-r--r--ext/cdaudio/gstcdaudio.c18
-rw-r--r--ext/cog/gstcogmse.c4
-rw-r--r--ext/cog/gstlogoinsert.c3
-rw-r--r--ext/dc1394/gstdc1394.c8
-rw-r--r--ext/dirac/gstdiracenc.cc81
-rw-r--r--ext/directfb/dfbvideosink.c16
-rw-r--r--ext/divx/gstdivxenc.c15
-rw-r--r--ext/dts/gstdtsdec.c3
-rw-r--r--ext/faac/gstfaac.c15
-rw-r--r--ext/jack/gstjackaudiosink.c5
-rw-r--r--ext/jack/gstjackaudiosrc.c5
-rw-r--r--ext/kate/gstkatedec.c3
-rw-r--r--ext/kate/gstkateenc.c22
-rw-r--r--ext/kate/gstkatetag.c10
-rw-r--r--ext/kate/gstkatetiger.c25
-rw-r--r--ext/kate/gstkateutil.c8
-rw-r--r--ext/libfame/gstlibfame.c19
-rw-r--r--ext/modplug/gstmodplug.cc34
-rw-r--r--ext/mpeg2enc/gstmpeg2encoptions.cc97
-rw-r--r--ext/mplex/gstmplexjob.cc27
-rw-r--r--ext/musicbrainz/gsttrm.c5
-rw-r--r--ext/mythtv/gstmythtvsrc.c19
-rw-r--r--ext/nas/nassink.c5
-rw-r--r--ext/neon/gstneonhttpsrc.c33
-rw-r--r--ext/ofa/gstofa.c3
-rw-r--r--ext/opencv/gstedgedetect.c8
-rw-r--r--ext/opencv/gstfaceblur.c2
-rw-r--r--ext/opencv/gstfacedetect.c4
-rw-r--r--ext/opencv/gstpyramidsegment.c8
-rw-r--r--ext/opencv/gsttemplatematch.c6
-rw-r--r--ext/resindvd/resindvdbin.c2
-rw-r--r--ext/resindvd/resindvdsrc.c4
-rw-r--r--ext/sdl/sdlvideosink.c3
-rw-r--r--ext/shout/gstshout.c34
-rw-r--r--ext/snapshot/gstsnapshot.c4
-rw-r--r--ext/sndfile/gstsfsink.c12
-rw-r--r--ext/soundtouch/gstpitch.cc6
-rw-r--r--ext/tarkin/gsttarkindec.c3
-rw-r--r--ext/tarkin/gsttarkinenc.c11
-rw-r--r--ext/xvid/gstxvidenc.c101
-rw-r--r--ext/zbar/gstzbar.c6
48 files changed, 452 insertions, 301 deletions
diff --git a/ext/amrwbenc/gstamrwbenc.c b/ext/amrwbenc/gstamrwbenc.c
index 716107fcb..990445f4a 100644
--- a/ext/amrwbenc/gstamrwbenc.c
+++ b/ext/amrwbenc/gstamrwbenc.c
@@ -203,7 +203,8 @@ gst_amrwbenc_class_init (GstAmrwbEncClass * klass)
g_object_class_install_property (object_class, PROP_BANDMODE,
g_param_spec_enum ("band-mode", "Band Mode",
"Encoding Band Mode (Kbps)", GST_AMRWBENC_BANDMODE_TYPE,
- BANDMODE_DEFAULT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ BANDMODE_DEFAULT,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
element_class->change_state = GST_DEBUG_FUNCPTR (gst_amrwbenc_state_change);
}
diff --git a/ext/apexsink/gstapexsink.c b/ext/apexsink/gstapexsink.c
index bf73bd2df..8daaa23fc 100644
--- a/ext/apexsink/gstapexsink.c
+++ b/ext/apexsink/gstapexsink.c
@@ -254,25 +254,27 @@ gst_apexsink_class_init (GstApExSinkClass * klass)
g_object_class_install_property ((GObjectClass *) klass, APEX_PROP_HOST,
g_param_spec_string ("host", "Host", "AirPort Express target host",
- DEFAULT_APEX_HOST, G_PARAM_READWRITE));
+ DEFAULT_APEX_HOST, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property ((GObjectClass *) klass, APEX_PROP_PORT,
g_param_spec_uint ("port", "Port", "AirPort Express target port", 0,
- 32000, DEFAULT_APEX_PORT, G_PARAM_READWRITE));
+ 32000, DEFAULT_APEX_PORT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* we need to expose the volume as a double for playbin2. Internally we keep
* it as an int between 0 and 100, where 75 corresponds to 1.0.
* FIXME we should store the volume as a double. */
g_object_class_install_property ((GObjectClass *) klass, APEX_PROP_VOLUME,
g_param_spec_double ("volume", "Volume", "AirPort Express target volume",
- 0.0, 10.0, DEFAULT_APEX_VOLUME, G_PARAM_READWRITE));
+ 0.0, 10.0, DEFAULT_APEX_VOLUME,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property ((GObjectClass *) klass, APEX_PROP_JACK_TYPE,
- g_param_spec_enum ("jack_type", "Jack Type",
+ g_param_spec_enum ("jack-type", "Jack Type",
"AirPort Express connected jack type", GST_APEX_SINK_JACKTYPE_TYPE,
- DEFAULT_APEX_JACK_TYPE, G_PARAM_READABLE));
+ DEFAULT_APEX_JACK_TYPE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property ((GObjectClass *) klass,
- APEX_PROP_JACK_STATUS, g_param_spec_enum ("jack_status", "Jack Status",
+ APEX_PROP_JACK_STATUS, g_param_spec_enum ("jack-status", "Jack Status",
"AirPort Express jack connection status",
GST_APEX_SINK_JACKSTATUS_TYPE, DEFAULT_APEX_JACK_STATUS,
- G_PARAM_READABLE));
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
}
/* sink plugin instance init */
diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c
index c76e7e7b9..79dd28d85 100644
--- a/ext/artsd/gstartsdsink.c
+++ b/ext/artsd/gstartsdsink.c
@@ -118,10 +118,13 @@ gst_artsdsink_class_init (GstArtsdsinkClass * klass)
/* FIXME: add long property descriptions */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MUTE,
- g_param_spec_boolean ("mute", "mute", "mute", TRUE, G_PARAM_READWRITE));
+ g_param_spec_boolean ("mute", "mute", "mute", TRUE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+ /* FIXME: rename to e.g. "client-name" */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_NAME,
- g_param_spec_string ("name", "name", "name", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("name", "name", "name", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->set_property = gst_artsdsink_set_property;
gobject_class->get_property = gst_artsdsink_get_property;
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index baee3f617..79fc7abdb 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -163,10 +163,11 @@ gst_afsink_class_init (GstAFSinkClass * klass)
/* FIXME: add long property descriptions */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TYPE,
g_param_spec_enum ("type", "type", "type", GST_TYPE_AFSINK_TYPES, 0,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass),
ARG_OUTPUT_ENDIANNESS, g_param_spec_int ("endianness", "endianness",
- "endianness", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE));
+ "endianness", G_MININT, G_MAXINT, 0,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_afsink_signals[SIGNAL_HANDOFF] =
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
diff --git a/ext/audioresample/gstaudioresample.c b/ext/audioresample/gstaudioresample.c
index bcf10f29c..5e7fafc31 100644
--- a/ext/audioresample/gstaudioresample.c
+++ b/ext/audioresample/gstaudioresample.c
@@ -138,8 +138,9 @@ static void gst_audioresample_class_init (AudioresampleClass * klass)
gobject_class->dispose = gst_audioresample_dispose;
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FILTERLEN,
- g_param_spec_int ("filter_length", "filter_length", "filter_length",
- 0, G_MAXINT, 16, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ g_param_spec_int ("filter-length", "filter_length", "filter_length",
+ 0, G_MAXINT, 16,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
parent_class = g_type_class_peek_parent (klass);
diff --git a/ext/bz2/gstbz2dec.c b/ext/bz2/gstbz2dec.c
index 295f2a073..ac53f6095 100644
--- a/ext/bz2/gstbz2dec.c
+++ b/ext/bz2/gstbz2dec.c
@@ -300,13 +300,15 @@ gst_bz2dec_class_init (GstBz2decClass * klass)
gobject_class->set_property = gst_bz2dec_set_property;
g_object_class_install_property (G_OBJECT_CLASS (klass),
- PROP_FIRST_BUFFER_SIZE, g_param_spec_uint ("first_buffer_size",
+ PROP_FIRST_BUFFER_SIZE, g_param_spec_uint ("first-buffer-size",
"Size of first buffer", "Size of first buffer (used to determine the "
"mime type of the uncompressed data)", 1, G_MAXUINT,
- DEFAULT_FIRST_BUFFER_SIZE, G_PARAM_READWRITE));
+ DEFAULT_FIRST_BUFFER_SIZE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BUFFER_SIZE,
- g_param_spec_uint ("buffer_size", "Buffer size", "Buffer size",
- 1, G_MAXUINT, DEFAULT_BUFFER_SIZE, G_PARAM_READWRITE));
+ g_param_spec_uint ("buffer-size", "Buffer size", "Buffer size",
+ 1, G_MAXUINT, DEFAULT_BUFFER_SIZE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
GST_DEBUG_CATEGORY_INIT (bz2dec_debug, "bz2dec", 0, "BZ2 decompressor");
}
diff --git a/ext/bz2/gstbz2enc.c b/ext/bz2/gstbz2enc.c
index 81ac96de9..83a6b2e09 100644
--- a/ext/bz2/gstbz2enc.c
+++ b/ext/bz2/gstbz2enc.c
@@ -328,11 +328,13 @@ gst_bz2enc_class_init (GstBz2encClass * klass)
gobject_class->get_property = gst_bz2enc_get_property;
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BLOCK_SIZE,
- g_param_spec_uint ("block_size", "Block size", "Block size",
- 1, 9, DEFAULT_BLOCK_SIZE, G_PARAM_READWRITE));
+ g_param_spec_uint ("block-size", "Block size", "Block size",
+ 1, 9, DEFAULT_BLOCK_SIZE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_BUFFER_SIZE,
- g_param_spec_uint ("buffer_size", "Buffer size", "Buffer size",
- 1, G_MAXUINT, DEFAULT_BUFFER_SIZE, G_PARAM_READWRITE));
+ g_param_spec_uint ("buffer-size", "Buffer size", "Buffer size",
+ 1, G_MAXUINT, DEFAULT_BUFFER_SIZE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
GST_DEBUG_CATEGORY_INIT (bz2enc_debug, "bz2enc", 0, "BZ2 compressor");
}
diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c
index 6e1dc4e06..f1f0fb40b 100644
--- a/ext/cdaudio/gstcdaudio.c
+++ b/ext/cdaudio/gstcdaudio.c
@@ -160,19 +160,19 @@ gst_cdaudio_class_init (GstCDAudioClass * klass)
g_object_class_install_property (gobject_klass, PROP_DEVICE,
g_param_spec_string ("device", "Device", "CDROM device",
- NULL, G_PARAM_READWRITE));
+ NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_VOLUME_FL,
- g_param_spec_int ("volume_fl", "Volume fl", "Front left volume",
- 0, 255, 255, G_PARAM_READWRITE));
+ g_param_spec_int ("volume-fl", "Volume fl", "Front left volume",
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_VOLUME_FR,
- g_param_spec_int ("volume_fr", "Volume fr", "Front right volume",
- 0, 255, 255, G_PARAM_READWRITE));
+ g_param_spec_int ("volume-fr", "Volume fr", "Front right volume",
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_VOLUME_BL,
- g_param_spec_int ("volume_bl", "Volume bl", "Back left volume",
- 0, 255, 255, G_PARAM_READWRITE));
+ g_param_spec_int ("volume-bl", "Volume bl", "Back left volume",
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_klass, PROP_VOLUME_BR,
- g_param_spec_int ("volume_br", "Volume br", "Back right volume",
- 0, 255, 255, G_PARAM_READWRITE));
+ g_param_spec_int ("volume-br", "Volume br", "Back right volume",
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_cdaudio_signals[TRACK_CHANGE] =
g_signal_new ("track-change", G_TYPE_FROM_CLASS (klass),
diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c
index 71bae980d..8eb63bec3 100644
--- a/ext/cog/gstcogmse.c
+++ b/ext/cog/gstcogmse.c
@@ -161,10 +161,10 @@ gst_mse_class_init (GstMSEClass * klass)
g_object_class_install_property (gobject_class, LUMA_PSNR,
g_param_spec_double ("luma-psnr", "luma-psnr", "luma-psnr",
- 0, 70, 40, G_PARAM_READABLE));
+ 0, 70, 40, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, CHROMA_PSNR,
g_param_spec_double ("chroma-psnr", "chroma-psnr", "chroma-psnr",
- 0, 70, 40, G_PARAM_READABLE));
+ 0, 70, 40, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
}
diff --git a/ext/cog/gstlogoinsert.c b/ext/cog/gstlogoinsert.c
index 95c13ae64..b6572be88 100644
--- a/ext/cog/gstlogoinsert.c
+++ b/ext/cog/gstlogoinsert.c
@@ -168,7 +168,8 @@ gst_logoinsert_class_init (gpointer g_class, gpointer class_data)
g_object_class_install_property (gobject_class, ARG_LOCATION,
g_param_spec_string ("location", "location",
- "location of PNG file to overlay", "", G_PARAM_READWRITE));
+ "location of PNG file to overlay", "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
base_transform_class->set_caps = gst_logoinsert_set_caps;
base_transform_class->transform_ip = gst_logoinsert_transform_ip;
diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c
index 6ce9c80e4..94fcffb1e 100644
--- a/ext/dc1394/gstdc1394.c
+++ b/ext/dc1394/gstdc1394.c
@@ -135,25 +135,25 @@ gst_dc1394_class_init (GstDc1394Class * klass)
PROP_TIMESTAMP_OFFSET, g_param_spec_int64 ("timestamp-offset",
"Timestamp offset",
"An offset added to timestamps set on buffers (in ns)", G_MININT64,
- G_MAXINT64, 0, G_PARAM_READWRITE));
+ G_MAXINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_CAMNUM, g_param_spec_int ("camera-number",
"The number of the camera on the firewire bus",
"The number of the camera on the firewire bus", 0,
- 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),
PROP_BUFSIZE, g_param_spec_int ("buffer-size",
"The number of frames in the dma ringbuffer",
"The number of frames in the dma ringbuffer", 1,
- G_MAXINT, 10, G_PARAM_READWRITE));
+ G_MAXINT, 10, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass),
PROP_ISO_SPEED, g_param_spec_int ("iso-speed",
"The iso bandwidth in Mbps (100, 200, 400, 800, 1600, 3200)",
"The iso bandwidth in Mbps (100, 200, 400, 800, 1600, 3200)", 100,
- 3200, 400, G_PARAM_READWRITE));
+ 3200, 400, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstbasesrc_class->get_caps = gst_dc1394_getcaps;
gstbasesrc_class->set_caps = gst_dc1394_setcaps;
diff --git a/ext/dirac/gstdiracenc.cc b/ext/dirac/gstdiracenc.cc
index 6e14fff69..6e3129aa0 100644
--- a/ext/dirac/gstdiracenc.cc
+++ b/ext/dirac/gstdiracenc.cc
@@ -237,65 +237,84 @@ gst_dirac_enc_class_init (GstDiracEncClass * klass)
gobject_class->finalize = gst_dirac_enc_finalize;
g_object_class_install_property (gobject_class, PROP_L1_SEP,
- g_param_spec_int ("l1_sep", "l1_sep", "l1_sep",
- 1, 1000, 24, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("l1-sep", "l1_sep", "l1_sep",
+ 1, 1000, 24,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_NUM_L1,
- g_param_spec_int ("num_l1", "num_l1", "num_l1",
- 0, 1000, 1, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("num-l1", "num_l1", "num_l1",
+ 0, 1000, 1,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_XBLEN,
g_param_spec_int ("xblen", "xblen", "xblen",
- 4, 64, 8, (GParamFlags) G_PARAM_READWRITE));
+ 4, 64, 8,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_YBLEN,
g_param_spec_int ("yblen", "yblen", "yblen",
- 4, 64, 8, (GParamFlags) G_PARAM_READWRITE));
+ 4, 64, 8,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_XBSEP,
g_param_spec_int ("xbsep", "xbsep", "xbsep",
- 4, 64, 12, (GParamFlags) G_PARAM_READWRITE));
+ 4, 64, 12,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_YBSEP,
g_param_spec_int ("ybsep", "ybsep", "ybsep",
- 4, 64, 12, (GParamFlags) G_PARAM_READWRITE));
+ 4, 64, 12,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_CPD,
g_param_spec_int ("cpd", "cpd", "cpd",
- 1, 100, 60, (GParamFlags) G_PARAM_READWRITE));
+ 1, 100, 60,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_QF,
g_param_spec_double ("qf", "qf", "qf",
- 0.0, 10.0, 7.0, (GParamFlags) G_PARAM_READWRITE));
+ 0.0, 10.0, 7.0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_TARGETRATE,
g_param_spec_int ("targetrate", "targetrate", "targetrate",
- 0, 10000, 1000, (GParamFlags) G_PARAM_READWRITE));
+ 0, 10000, 1000,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_LOSSLESS,
g_param_spec_boolean ("lossless", "lossless", "lossless",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_IWLT_FILTER,
- g_param_spec_int ("iwlt_filter", "iwlt_filter", "iwlt_filter",
- 0, 7, 0, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("iwlt-filter", "iwlt_filter", "iwlt_filter",
+ 0, 7, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_RWLT_FILTER,
- g_param_spec_int ("rwlt_filter", "rwlt_filter", "rwlt_filter",
- 0, 7, 1, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("rwlt-filter", "rwlt_filter", "rwlt_filter",
+ 0, 7, 1,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_WLT_DEPTH,
- g_param_spec_int ("wlt_depth", "wlt_depth", "wlt_depth",
- 1, 4, 3, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("wlt-depth", "wlt_depth", "wlt_depth",
+ 1, 4, 3,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_MULTI_QUANTS,
- g_param_spec_boolean ("multi_quants", "multi_quants", "multi_quants",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_boolean ("multi-quants", "multi_quants", "multi_quants",
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_MV_PREC,
- g_param_spec_int ("mv_prec", "mv_prec", "mv_prec",
- 0, 3, 1, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("mv-prec", "mv_prec", "mv_prec",
+ 0, 3, 1,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_NO_SPARTITION,
- g_param_spec_boolean ("no_spartition", "no_spartition", "no_spartition",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_boolean ("no-spartition", "no_spartition", "no_spartition",
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_PREFILTER,
g_param_spec_int ("prefilter", "prefilter", "prefilter",
- 0, 3, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 3, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_PREFILTER_STRENGTH,
- g_param_spec_int ("pf_strength", "pf_strength", "pf_strength",
- 0, 10, 0, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("pf-strength", "pf_strength", "pf_strength",
+ 0, 10, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_PICTURE_CODING_MODE,
- g_param_spec_int ("picture_coding_mode", "picture_coding_mode",
- "picture_coding_mode", 0, 1, 0, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_int ("picture-coding-mode", "picture_coding_mode",
+ "picture_coding_mode", 0, 1, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_USE_VLC,
- g_param_spec_boolean ("use_vlc", "use_vlc", "use_vlc", FALSE,
- (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_boolean ("use-vlc", "use_vlc", "use_vlc", FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
basevideoencoder_class->set_format =
GST_DEBUG_FUNCPTR (gst_dirac_enc_set_format);
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c
index 39862f414..d8bb6d9ce 100644
--- a/ext/directfb/dfbvideosink.c
+++ b/ext/directfb/dfbvideosink.c
@@ -2295,28 +2295,30 @@ gst_dfbvideosink_class_init (GstDfbVideoSinkClass * klass)
g_object_class_install_property (gobject_class, ARG_SURFACE,
g_param_spec_pointer ("surface", "Surface",
- "The target surface for video", G_PARAM_WRITABLE));
+ "The target surface for video",
+ G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_CONTRAST,
g_param_spec_int ("contrast", "Contrast", "The contrast of the video",
- 0x0000, 0xFFFF, 0x8000, G_PARAM_READWRITE));
+ 0x0000, 0xFFFF, 0x8000, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_BRIGHTNESS,
g_param_spec_int ("brightness", "Brightness",
"The brightness of the video", 0x0000, 0xFFFF, 0x8000,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_HUE,
g_param_spec_int ("hue", "Hue", "The hue of the video", 0x0000, 0xFFFF,
- 0x8000, G_PARAM_READWRITE));
+ 0x8000, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_SATURATION,
g_param_spec_int ("saturation", "Saturation",
"The saturation of the video", 0x0000, 0xFFFF, 0x8000,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_PIXEL_ASPECT_RATIO,
g_param_spec_string ("pixel-aspect-ratio", "Pixel Aspect Ratio",
- "The pixel aspect ratio of the device", "1/1", G_PARAM_READWRITE));
+ "The pixel aspect ratio of the device", "1/1",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_VSYNC,
g_param_spec_boolean ("vsync", "Vertical synchronisation",
"Wait for next vertical sync to draw frames", TRUE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = gst_dfbvideosink_change_state;
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c
index 0fa43f45e..924f6749d 100644
--- a/ext/divx/gstdivxenc.c
+++ b/ext/divx/gstdivxenc.c
@@ -165,20 +165,23 @@ gst_divxenc_class_init (GstDivxEncClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BITRATE,
g_param_spec_ulong ("bitrate", "Bitrate",
- "Target video bitrate", 0, G_MAXULONG, 0, G_PARAM_READWRITE));
+ "Target video bitrate", 0, G_MAXULONG, 0,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MAXKEYINTERVAL,
- g_param_spec_int ("max_key_interval", "Max. Key Interval",
+ g_param_spec_int ("max-key-interval", "Max. Key Interval",
"Maximum number of frames between two keyframes",
- -1, G_MAXINT, -1, G_PARAM_READWRITE));
+ -1, G_MAXINT, -1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BUFSIZE,
- g_param_spec_ulong ("buffer_size", "Buffer Size",
- "Size of the video buffers", 0, G_MAXULONG, 0, G_PARAM_READABLE));
+ g_param_spec_ulong ("buffer-size", "Buffer Size",
+ "Size of the video buffers", 0, G_MAXULONG, 0,
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_QUALITY,
g_param_spec_int ("quality", "Quality",
- "Amount of Motion Estimation", 1, 5, 3, G_PARAM_READWRITE));
+ "Amount of Motion Estimation", 1, 5, 3,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->dispose = gst_divxenc_dispose;
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index 3f1695b3f..f1a218172 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -185,7 +185,8 @@ gst_dtsdec_class_init (GstDtsDecClass * klass)
*/
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DRC,
g_param_spec_boolean ("drc", "Dynamic Range Compression",
- "Use Dynamic Range Compression", FALSE, G_PARAM_READWRITE));
+ "Use Dynamic Range Compression", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
klass->dts_cpuflags = 0;
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 5c1666819..d26da1043 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -264,25 +264,28 @@ gst_faac_class_init (GstFaacClass * klass)
/* properties */
g_object_class_install_property (gobject_class, ARG_BITRATE,
g_param_spec_int ("bitrate", "Bitrate (bps)", "Bitrate in bits/sec",
- 8 * 1000, 320 * 1000, FAAC_DEFAULT_BITRATE, G_PARAM_READWRITE));
+ 8 * 1000, 320 * 1000, FAAC_DEFAULT_BITRATE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_PROFILE,
g_param_spec_enum ("profile", "Profile", "MPEG/AAC encoding profile",
- GST_TYPE_FAAC_PROFILE, FAAC_DEFAULT_PROFILE, G_PARAM_READWRITE));
+ GST_TYPE_FAAC_PROFILE, FAAC_DEFAULT_PROFILE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_TNS,
g_param_spec_boolean ("tns", "TNS", "Use temporal noise shaping",
- FAAC_DEFAULT_TNS, G_PARAM_READWRITE));
+ FAAC_DEFAULT_TNS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_MIDSIDE,
g_param_spec_boolean ("midside", "Midside", "Allow mid/side encoding",
- FAAC_DEFAULT_MIDSIDE, G_PARAM_READWRITE));
+ FAAC_DEFAULT_MIDSIDE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_SHORTCTL,
g_param_spec_enum ("shortctl", "Block type",
"Block type encorcing",
- GST_TYPE_FAAC_SHORTCTL, FAAC_DEFAULT_SHORTCTL, G_PARAM_READWRITE));
+ GST_TYPE_FAAC_SHORTCTL, FAAC_DEFAULT_SHORTCTL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_OUTPUTFORMAT,
g_param_spec_enum ("outputformat", "Output format",
"Format of output frames",
GST_TYPE_FAAC_OUTPUTFORMAT, FAAC_DEFAULT_OUTPUTFORMAT,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* virtual functions */
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_faac_change_state);
diff --git a/ext/jack/gstjackaudiosink.c b/ext/jack/gstjackaudiosink.c
index 8f2379138..32bf1af3e 100644
--- a/ext/jack/gstjackaudiosink.c
+++ b/ext/jack/gstjackaudiosink.c
@@ -686,12 +686,13 @@ gst_jack_audio_sink_class_init (GstJackAudioSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_CONNECT,
g_param_spec_enum ("connect", "Connect",
"Specify how the output ports will be connected",
- GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT, G_PARAM_READWRITE));
+ GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SERVER,
g_param_spec_string ("server", "Server",
"The Jack server to connect to (NULL = default)",
- DEFAULT_PROP_SERVER, G_PARAM_READWRITE));
+ DEFAULT_PROP_SERVER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CLIENT,
g_param_spec_boxed ("client", "JackClient", "Handle for jack client",
diff --git a/ext/jack/gstjackaudiosrc.c b/ext/jack/gstjackaudiosrc.c
index a97cea03e..0ffdb2398 100644
--- a/ext/jack/gstjackaudiosrc.c
+++ b/ext/jack/gstjackaudiosrc.c
@@ -706,12 +706,13 @@ gst_jack_audio_src_class_init (GstJackAudioSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_CONNECT,
g_param_spec_enum ("connect", "Connect",
"Specify how the input ports will be connected",
- GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT, G_PARAM_READWRITE));
+ GST_TYPE_JACK_CONNECT, DEFAULT_PROP_CONNECT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_SERVER,
g_param_spec_string ("server", "Server",
"The Jack server to connect to (NULL = default)",
- DEFAULT_PROP_SERVER, G_PARAM_READWRITE));
+ DEFAULT_PROP_SERVER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CLIENT,
g_param_spec_boxed ("client", "JackClient", "Handle for jack client",
diff --git a/ext/kate/gstkatedec.c b/ext/kate/gstkatedec.c
index 50a8cc4dc..322363d81 100644
--- a/ext/kate/gstkatedec.c
+++ b/ext/kate/gstkatedec.c
@@ -162,7 +162,8 @@ gst_kate_dec_class_init (GstKateDecClass * klass)
g_object_class_install_property (gobject_class, ARG_REMOVE_MARKUP,
g_param_spec_boolean ("remove-markup", "Remove markup",
- "Remove markup from decoded text ?", FALSE, G_PARAM_READWRITE));
+ "Remove markup from decoded text ?", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_kate_dec_change_state);
diff --git a/ext/kate/gstkateenc.c b/ext/kate/gstkateenc.c
index b7cf5d4f7..428e5189a 100644
--- a/ext/kate/gstkateenc.c
+++ b/ext/kate/gstkateenc.c
@@ -182,45 +182,49 @@ gst_kate_enc_class_init (GstKateEncClass * klass)
g_object_class_install_property (gobject_class, ARG_LANGUAGE,
g_param_spec_string ("language", "Language",
"The language of the stream (e.g. \"fr\" or \"fr_FR\" for French)",
- "", G_PARAM_READWRITE));
+ "", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_CATEGORY,
g_param_spec_string ("category", "Category",
- "The category of the stream", "", G_PARAM_READWRITE));
+ "The category of the stream", "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_GRANULE_RATE_NUM,
g_param_spec_int ("granule-rate-numerator", "Granule rate numerator",
"The numerator of the granule rate",
- 1, G_MAXINT, 1, G_PARAM_READWRITE));
+ 1, G_MAXINT, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_GRANULE_RATE_DEN,
g_param_spec_int ("granule-rate-denominator", "Granule rate denominator",
"The denominator of the granule rate",
- 1, G_MAXINT, 1000, G_PARAM_READWRITE));
+ 1, G_MAXINT, 1000, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_GRANULE_SHIFT,
g_param_spec_int ("granule-shift", "Granule shift",
- "The granule shift", 0, 64, 32, G_PARAM_READWRITE));
+ "The granule shift", 0, 64, 32,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_ORIGINAL_CANVAS_WIDTH,
g_param_spec_int ("original-canvas-width", "Original canvas width",
"The width of the canvas this stream was authored for (0 is unspecified)",
- 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_ORIGINAL_CANVAS_HEIGHT,
g_param_spec_int ("original-canvas-height", "Original canvas height",
"The height of the canvas this stream was authored for (0 is unspecified)",
- 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_KEEPALIVE_MIN_TIME,
g_param_spec_float ("keepalive-min-time", "Keepalive mimimum time",
"Minimum time to emit keepalive packets (0 disables keepalive packets)",
- 0.0f, FLT_MAX, DEFAULT_KEEPALIVE_MIN_TIME, G_PARAM_READWRITE));
+ 0.0f, FLT_MAX, DEFAULT_KEEPALIVE_MIN_TIME,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_SPU_DURATION,
g_param_spec_float ("default-spu-duration", "Default SPU duration",
"The assumed max duration (in seconds) of SPUs with no duration specified",
- 0.0f, FLT_MAX, DEFAULT_DEFAULT_SPU_DURATION, G_PARAM_READWRITE));
+ 0.0f, FLT_MAX, DEFAULT_DEFAULT_SPU_DURATION,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_kate_enc_change_state);
diff --git a/ext/kate/gstkatetag.c b/ext/kate/gstkatetag.c
index e1c1c3cf4..34d8cf26d 100644
--- a/ext/kate/gstkatetag.c
+++ b/ext/kate/gstkatetag.c
@@ -137,21 +137,23 @@ gst_kate_tag_class_init (GstKateTagClass * klass)
g_object_class_install_property (gobject_class, ARG_LANGUAGE,
g_param_spec_string ("language", "Language",
- "Set the language of the stream", "", G_PARAM_READWRITE));
+ "Set the language of the stream", "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_CATEGORY,
g_param_spec_string ("category", "Category",
- "Set the category of the stream", "", G_PARAM_READWRITE));
+ "Set the category of the stream", "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_ORIGINAL_CANVAS_WIDTH,
g_param_spec_int ("original-canvas-width", "Original canvas width",
"Set the width of the canvas this stream was authored for (0 is unspecified)",
- 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_ORIGINAL_CANVAS_HEIGHT,
g_param_spec_int ("original-canvas-height", "Original canvas height",
"Set the height of the canvas this stream was authored for (0 is unspecified)",
- 0, G_MAXINT, 0, G_PARAM_READWRITE));
+ 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstkateparse_class->parse_packet =
GST_DEBUG_FUNCPTR (gst_kate_tag_parse_packet);
diff --git a/ext/kate/gstkatetiger.c b/ext/kate/gstkatetiger.c
index 86b3bcff5..93d98e73a 100644
--- a/ext/kate/gstkatetiger.c
+++ b/ext/kate/gstkatetiger.c
@@ -203,73 +203,74 @@ gst_kate_tiger_class_init (GstKateTigerClass * klass)
g_object_class_install_property (gobject_class, ARG_QUALITY,
g_param_spec_double ("quality", "Rendering quality",
"Rendering quality (0 is faster, 1 is best and slower)",
- 0.0, 1.0, 1.0, G_PARAM_READWRITE));
+ 0.0, 1.0, 1.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_FONT_DESC,
g_param_spec_string ("default-font-desc", "Default font description",
"Default font description (Pango style) to render text with",
- "", G_PARAM_READWRITE));
+ "", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_FONT_EFFECT,
g_param_spec_enum ("default-font-effect", "Default font effect",
"Whether to apply an effect to text by default, for increased readability",
gst_kate_tiger_font_effect_get_type (),
- tiger_font_plain, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ tiger_font_plain,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
ARG_DEFAULT_FONT_EFFECT_STRENGTH,
g_param_spec_double ("default-font-effect-strength",
"Default font effect strength",
"How pronounced should the font effect be (effect dependent)", 0.0,
- 1.0, 0.5, G_PARAM_READWRITE));
+ 1.0, 0.5, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_FONT_RED,
g_param_spec_int ("default-font-red",
"Default font color (red component)",
"Default font color (red component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_FONT_GREEN,
g_param_spec_int ("default-font-green",
"Default font color (green component)",
"Default font color (green component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_FONT_BLUE,
g_param_spec_int ("default-font-blue",
"Default font color (blue component)",
"Default font color (blue component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_FONT_ALPHA,
g_param_spec_int ("default-font-alpha",
"Default font color (alpha component)",
"Default font color (alpha component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_BACKGROUND_RED,
g_param_spec_int ("default-background-red",
"Default background color (red component)",
"Default background color (red component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_BACKGROUND_GREEN,
g_param_spec_int ("default-background-green",
"Default background color (green component)",
"Default background color (green component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_BACKGROUND_BLUE,
g_param_spec_int ("default-background-blue",
"Default background color (blue component)",
"Default background color (blue component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEFAULT_BACKGROUND_ALPHA,
g_param_spec_int ("default-background-alpha",
"Default background color (alpha component)",
"Default background color (alpha component, between 0 and 255) to render text with",
- 0, 255, 255, G_PARAM_READWRITE));
+ 0, 255, 255, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_kate_tiger_change_state);
diff --git a/ext/kate/gstkateutil.c b/ext/kate/gstkateutil.c
index f99247bea..5b71b94a3 100644
--- a/ext/kate/gstkateutil.c
+++ b/ext/kate/gstkateutil.c
@@ -74,24 +74,24 @@ gst_kate_util_install_decoder_base_properties (GObjectClass * gobject_class)
{
g_object_class_install_property (gobject_class, ARG_DEC_BASE_LANGUAGE,
g_param_spec_string ("language", "Language", "The language of the stream",
- "", G_PARAM_READABLE));
+ "", G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DEC_BASE_CATEGORY,
g_param_spec_string ("category", "Category", "The category of the stream",
- "", G_PARAM_READABLE));
+ "", G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
ARG_DEC_BASE_ORIGINAL_CANVAS_WIDTH,
g_param_spec_int ("original-canvas-width",
"Original canvas width (0 is unspecified)",
"The canvas width this stream was authored for", 0, G_MAXINT, 0,
- G_PARAM_READABLE));
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
ARG_DEC_BASE_ORIGINAL_CANVAS_HEIGHT,
g_param_spec_int ("original-canvas-height", "Original canvas height",
"The canvas height this stream was authored for (0 is unspecified)",
- 0, G_MAXINT, 0, G_PARAM_READABLE));
+ 0, G_MAXINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
}
void
diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c
index c8491a634..fefbd685a 100644
--- a/ext/libfame/gstlibfame.c
+++ b/ext/libfame/gstlibfame.c
@@ -276,26 +276,27 @@ gst_fameenc_class_init (GstFameEncClass * klass)
g_object_class_install_property (gobject_class, ARG_BITRATE,
g_param_spec_int ("bitrate", "Bitrate", "Target bitrate (0 = VBR)",
- 0, 5000000, 0, G_PARAM_READWRITE));
+ 0, 5000000, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_QUALITY,
g_param_spec_int ("quality", "Quality",
"Percentage of quality of compression (versus size)", 0, 100, 75,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_PATTERN,
g_param_spec_string ("pattern", "Pattern",
"Encoding pattern of I, P, and B frames", "IPPPPPPPPPPP",
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_FRAMES_PER_SEQUENCE,
- g_param_spec_int ("frames_per_sequence", "Frames Per Sequence",
+ g_param_spec_int ("frames-per-sequence", "Frames Per Sequence",
"The number of frames in one sequence", 1, G_MAXINT, 12,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_FAME_VERBOSE,
- g_param_spec_boolean ("fame_verbose", "Fame Verbose",
- "Make FAME produce verbose output", FALSE, G_PARAM_READWRITE));
+ g_param_spec_boolean ("fame-verbose", "Fame Verbose",
+ "Make FAME produce verbose output", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_BUFFER_SIZE,
- g_param_spec_int ("buffer_size", "Buffer Size",
+ g_param_spec_int ("buffer-size", "Buffer Size",
"Set the decoding output buffer size", 0, 1024 * 1024,
- FAMEENC_BUFFER_SIZE, G_PARAM_READWRITE));
+ FAMEENC_BUFFER_SIZE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
static GstPadLinkReturn
diff --git a/ext/modplug/gstmodplug.cc b/ext/modplug/gstmodplug.cc
index 29a5fadb1..b6b59eb12 100644
--- a/ext/modplug/gstmodplug.cc
+++ b/ext/modplug/gstmodplug.cc
@@ -176,52 +176,62 @@ gst_modplug_class_init (GstModPlugClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SONGNAME,
g_param_spec_string ("songname", "Songname", "The song name",
- NULL, G_PARAM_READABLE));
+ NULL, (GParamFlags) (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERB,
g_param_spec_boolean ("reverb", "reverb", "Reverb",
- DEFAULT_REVERB, (GParamFlags) G_PARAM_READWRITE));
+ DEFAULT_REVERB,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERB_DEPTH,
g_param_spec_int ("reverb-depth", "reverb depth", "Reverb depth",
- 0, 100, DEFAULT_REVERB_DEPTH, (GParamFlags) G_PARAM_READWRITE));
+ 0, 100, DEFAULT_REVERB_DEPTH,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_REVERB_DELAY,
g_param_spec_int ("reverb-delay", "reverb delay", "Reverb delay",
- 0, 200, DEFAULT_REVERB_DELAY, (GParamFlags) G_PARAM_READWRITE));
+ 0, 200, DEFAULT_REVERB_DELAY,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MEGABASS,
g_param_spec_boolean ("megabass", "megabass", "Megabass",
- DEFAULT_MEGABASS, (GParamFlags) G_PARAM_READWRITE));
+ DEFAULT_MEGABASS,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MEGABASS_AMOUNT,
g_param_spec_int ("megabass-amount", "megabass amount", "Megabass amount",
- 0, 100, DEFAULT_MEGABASS_AMOUNT, (GParamFlags) G_PARAM_READWRITE));
+ 0, 100, DEFAULT_MEGABASS_AMOUNT,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MEGABASS_RANGE,
g_param_spec_int ("megabass-range", "megabass range", "Megabass range",
- 0, 100, DEFAULT_MEGABASS_RANGE, (GParamFlags) G_PARAM_READWRITE));
+ 0, 100, DEFAULT_MEGABASS_RANGE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SURROUND,
g_param_spec_boolean ("surround", "surround", "Surround",
- DEFAULT_SURROUND, (GParamFlags) G_PARAM_READWRITE));
+ DEFAULT_SURROUND,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SURROUND_DEPTH,
g_param_spec_int ("surround-depth", "surround depth", "Surround depth",
- 0, 100, DEFAULT_SURROUND_DEPTH, (GParamFlags) G_PARAM_READWRITE));
+ 0, 100, DEFAULT_SURROUND_DEPTH,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SURROUND_DELAY,
g_param_spec_int ("surround-delay", "surround delay", "Surround delay",
- 0, 40, DEFAULT_SURROUND_DELAY, (GParamFlags) G_PARAM_READWRITE));
+ 0, 40, DEFAULT_SURROUND_DELAY,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_OVERSAMP,
g_param_spec_boolean ("oversamp", "oversamp", "oversamp",
- DEFAULT_OVERSAMP, (GParamFlags) G_PARAM_READWRITE));
+ DEFAULT_OVERSAMP,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_NOISE_REDUCTION,
g_param_spec_boolean ("noise-reduction", "noise reduction",
"noise reduction", DEFAULT_NOISE_REDUCTION,
- (GParamFlags) G_PARAM_READWRITE));
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
gstelement_class->change_state = gst_modplug_change_state;
}
diff --git a/ext/mpeg2enc/gstmpeg2encoptions.cc b/ext/mpeg2enc/gstmpeg2encoptions.cc
index eedd3c418..e69e87577 100644
--- a/ext/mpeg2enc/gstmpeg2encoptions.cc
+++ b/ext/mpeg2enc/gstmpeg2encoptions.cc
@@ -314,164 +314,193 @@ GstMpeg2EncOptions::initProperties (GObjectClass * klass)
/* encoding profile */
g_object_class_install_property (klass, ARG_FORMAT,
g_param_spec_enum ("format", "Format", "Encoding profile format",
- GST_TYPE_MPEG2ENC_FORMAT, 0, (GParamFlags) G_PARAM_READWRITE));
+ GST_TYPE_MPEG2ENC_FORMAT, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* input/output stream overrides */
g_object_class_install_property (klass, ARG_FRAMERATE,
g_param_spec_enum ("framerate", "Framerate", "Output framerate",
- GST_TYPE_MPEG2ENC_FRAMERATE, 0, (GParamFlags) G_PARAM_READWRITE));
+ GST_TYPE_MPEG2ENC_FRAMERATE, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_ASPECT,
g_param_spec_enum ("aspect", "Aspect", "Display aspect ratio",
- GST_TYPE_MPEG2ENC_ASPECT, 0, (GParamFlags) G_PARAM_READWRITE));
+ GST_TYPE_MPEG2ENC_ASPECT, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_INTERLACE_MODE,
g_param_spec_enum ("interlace-mode", "Interlace mode",
"MPEG-2 motion estimation and encoding modes",
GST_TYPE_MPEG2ENC_INTERLACE_MODE, 0,
- (GParamFlags) G_PARAM_READWRITE));
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* general encoding stream options */
g_object_class_install_property (klass, ARG_BITRATE,
g_param_spec_int ("bitrate", "Bitrate", "Compressed video bitrate (kbps)",
- 0, 10 * 1000, DEFAULT_BITRATE, (GParamFlags) G_PARAM_READWRITE));
+ 0, 10 * 1000, DEFAULT_BITRATE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_NONVIDEO_BITRATE,
g_param_spec_int ("non-video-bitrate", "Non-video bitrate",
"Assumed bitrate of non-video for sequence splitting (kbps)",
- 0, 10 * 1000, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 10 * 1000, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_QUANTISATION,
g_param_spec_int ("quantisation", "Quantisation",
"Quantisation factor (-1=cbr, 0=default, 1=best, 31=worst)",
- -1, 31, 0, (GParamFlags) G_PARAM_READWRITE));
+ -1, 31, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* stills options */
g_object_class_install_property (klass, ARG_VCD_STILL_SIZE,
g_param_spec_int ("vcd-still-size", "VCD stills size",
"Size of VCD stills (in KB)",
- 0, 512, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 512, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* motion estimation options */
g_object_class_install_property (klass, ARG_MOTION_SEARCH_RADIUS,
g_param_spec_int ("motion-search-radius", "Motion search radius",
"Motion compensation search radius",
- 0, 32, 16, (GParamFlags) G_PARAM_READWRITE));
+ 0, 32, 16,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_REDUCTION_4_4,
g_param_spec_int ("reduction-4x4", "4x4 reduction",
"Reduction factor for 4x4 subsampled candidate motion estimates"
" (1=max. quality, 4=max. speed)",
- 1, 4, 2, (GParamFlags) G_PARAM_READWRITE));
+ 1, 4, 2,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_REDUCTION_2_2,
g_param_spec_int ("reduction-2x2", "2x2 reduction",
"Reduction factor for 2x2 subsampled candidate motion estimates"
" (1=max. quality, 4=max. speed)",
- 1, 4, 3, (GParamFlags) G_PARAM_READWRITE));
+ 1, 4, 3,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_UNIT_COEFF_ELIM,
g_param_spec_int ("unit-coeff-elim", "Unit coefficience elimination",
"How agressively small-unit picture blocks should be skipped",
- -40, 40, 0, (GParamFlags) G_PARAM_READWRITE));
+ -40, 40, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* GOP options */
g_object_class_install_property (klass, ARG_MIN_GOP_SIZE,
g_param_spec_int ("min-gop-size", "Min. GOP size",
"Minimal size per Group-of-Pictures (-1=default)",
- -1, 250, -1, (GParamFlags) G_PARAM_READWRITE));
+ -1, 250, -1,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_MAX_GOP_SIZE,
g_param_spec_int ("max-gop-size", "Max. GOP size",
"Maximal size per Group-of-Pictures (-1=default)",
- -1, 250, -1, (GParamFlags) G_PARAM_READWRITE));
+ -1, 250, -1,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_CLOSED_GOP,
g_param_spec_boolean ("closed-gop", "Closed GOP",
"All Group-of-Pictures are closed (for multi-angle DVDs)",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_FORCE_B_B_P,
g_param_spec_boolean ("force-b-b-p", "Force B-B-P",
"Force two B frames between I/P frames when closing GOP boundaries",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_B_PER_REFFRAME,
g_param_spec_int ("b-per-refframe", "B per ref. frame",
"Number of B frames between each I/P frame",
- 0, 2, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 2, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* quantisation options */
g_object_class_install_property (klass, ARG_QUANTISATION_REDUCTION,
g_param_spec_float ("quantisation-reduction", "Quantisation reduction",
"Max. quantisation reduction for highly active blocks",
- -4., 10., 0., (GParamFlags) G_PARAM_READWRITE));
+ -4., 10., 0.,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_QUANT_REDUCTION_MAX_VAR,
g_param_spec_float ("quant-reduction-max-var",
"Max. quant. reduction variance",
"Maximal luma variance below which quantisation boost is used",
- 0., 2500., 100., (GParamFlags) G_PARAM_READWRITE));
+ 0., 2500., 100.,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_INTRA_DC_PRECISION,
g_param_spec_int ("intra-dc-prec", "Intra. DC precision",
"Number of bits precision for DC (base colour) in MPEG-2 blocks",
- 8, 11, 9, (GParamFlags) G_PARAM_READWRITE));
+ 8, 11, 9,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_REDUCE_HF,
g_param_spec_float ("reduce-hf", "Reduce HF",
"How much to reduce high-frequency resolution (by increasing quantisation)",
- 0., 2., 0., (GParamFlags) G_PARAM_READWRITE));
+ 0., 2., 0.,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_KEEP_HF,
g_param_spec_boolean ("keep-hf", "Keep HF",
"Maximize high-frequency resolution (for high-quality sources)",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_QUANTISATION_MATRIX,
g_param_spec_enum ("quant-matrix", "Quant. matrix",
"Quantisation matrix to use for encoding",
GST_TYPE_MPEG2ENC_QUANTISATION_MATRIX, 0,
- (GParamFlags) G_PARAM_READWRITE));
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* general options */
g_object_class_install_property (klass, ARG_BUFSIZE,
g_param_spec_int ("bufsize", "Decoder buf. size",
"Target decoders video buffer size (kB) (default depends on format)",
- 20, 4000, 46, (GParamFlags) G_PARAM_READWRITE));
+ 20, 4000, 46,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* header flag settings */
g_object_class_install_property (klass, ARG_VIDEO_NORM,
g_param_spec_enum ("norm", "Norm",
"Tag output for specific video norm",
- GST_TYPE_MPEG2ENC_VIDEO_NORM, 0, (GParamFlags) G_PARAM_READWRITE));
+ GST_TYPE_MPEG2ENC_VIDEO_NORM, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_SEQUENCE_LENGTH,
g_param_spec_int ("sequence-length", "Sequence length",
"Place a sequence boundary after each <num> MB (0=disable)",
- 0, 10 * 1024, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 10 * 1024, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_3_2_PULLDOWN,
g_param_spec_boolean ("pulldown-3-2", "3-2 pull down",
"Generate header flags for 3-2 pull down 24fps movies",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_SEQUENCE_HEADER_EVERY_GOP,
g_param_spec_boolean ("sequence-header-every-gop",
"Sequence hdr. every GOP",
"Include a sequence header in every GOP",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_DUMMY_SVCD_SOF,
g_param_spec_boolean ("dummy-svcd-sof", "Dummy SVCD SOF",
"Generate dummy SVCD scan-data (for vcdimager)",
- TRUE, (GParamFlags) G_PARAM_READWRITE));
+ TRUE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_PLAYBACK_FIELD_ORDER,
g_param_spec_enum ("playback-field-order", "Playback field order",
"Force specific playback field order",
GST_TYPE_MPEG2ENC_PLAYBACK_FIELD_ORDER, Y4M_UNKNOWN,
- (GParamFlags) G_PARAM_READWRITE));
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_CORRECT_SVCD_HDS,
g_param_spec_boolean ("correct-svcd-hds", "Correct SVCD hor. size",
"Force SVCD width to 480 instead of 540/720",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_ALTSCAN_MPEG2,
g_param_spec_boolean ("altscan-mpeg2", "Alt. MPEG-2 scan",
"Alternate MPEG-2 block scanning. Disabling this might "
"make buggy players play SVCD streams",
- TRUE, (GParamFlags) G_PARAM_READWRITE));
+ TRUE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* dangerous/experimental stuff */
g_object_class_install_property (klass, ARG_CONSTRAINTS,
g_param_spec_boolean ("constraints", "Constraints",
"Use strict video resolution and bitrate checks",
- TRUE, (GParamFlags) G_PARAM_READWRITE));
+ TRUE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
#if GST_MJPEGTOOLS_API >= 10800
g_object_class_install_property (klass, ARG_DUALPRIME_MPEG2,
g_param_spec_boolean ("dualprime", "Dual Prime Motion Estimation",
"Dual Prime Motion Estimation Mode for MPEG-2 I/P-frame only "
"streams. Quite some players do not support this.",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
#endif
}
diff --git a/ext/mplex/gstmplexjob.cc b/ext/mplex/gstmplexjob.cc
index 33597c77b..fa6f8b7aa 100644
--- a/ext/mplex/gstmplexjob.cc
+++ b/ext/mplex/gstmplexjob.cc
@@ -96,7 +96,8 @@ GstMplexJob::initProperties (GObjectClass * klass)
/* encoding profile */
g_object_class_install_property (klass, ARG_FORMAT,
g_param_spec_enum ("format", "Format", "Encoding profile format",
- GST_TYPE_MPLEX_FORMAT, 0, (GParamFlags) G_PARAM_READWRITE));
+ GST_TYPE_MPLEX_FORMAT, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* total stream datarate. Normally, this shouldn't be needed, but
* some DVD/VCD/SVCD players really need strict values to handle
@@ -104,49 +105,57 @@ GstMplexJob::initProperties (GObjectClass * klass)
g_object_class_install_property (klass, ARG_MUX_BITRATE,
g_param_spec_int ("mux-bitrate", "Mux. bitrate",
"Bitrate of output stream in kbps (0 = autodetect)",
- 0, 15 * 1024, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 15 * 1024, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* override decode buffer size otherwise determined by format */
g_object_class_install_property (klass, ARG_BUFSIZE,
g_param_spec_int ("bufsize", "Decoder buf. size",
"Target decoders video buffer size (kB) "
"[default determined by format if not explicitly set]",
- 20, 4000, 46, (GParamFlags) G_PARAM_READWRITE));
+ 20, 4000, 46,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* some boolean stuff for headers */
g_object_class_install_property (klass, ARG_VBR,
g_param_spec_boolean ("vbr", "VBR",
"Whether the input video stream is variable bitrate",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (klass, ARG_SYSTEM_HEADERS,
g_param_spec_boolean ("system-headers", "System headers",
"Create system header in every pack for generic formats",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
#if 0 /* not supported */
g_object_class_install_property (klass, ARG_SPLIT_SEQUENCE,
g_param_spec_boolean ("split-sequence", "Split sequence",
"Simply split a sequence across files "
"(rather than building run-out/run-in)",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ FALSE,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* size of a segment */
g_object_class_install_property (klass, ARG_SEGMENT_SIZE,
g_param_spec_int ("max-segment-size", "Max. segment size",
"Max. size per segment/file in MB (0 = unlimited)",
- 0, 10 * 1024, 0, (GParamFlags) G_PARAM_READWRITE));
+ 0, 10 * 1024, 0,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
#endif
/* packets per pack (generic formats) */
g_object_class_install_property (klass, ARG_PACKETS_PER_PACK,
g_param_spec_int ("packets-per-pack", "Packets per pack",
"Number of packets per pack for generic formats",
- 1, 100, 1, (GParamFlags) G_PARAM_READWRITE));
+ 1, 100, 1,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
/* size of one sector */
g_object_class_install_property (klass, ARG_SECTOR_SIZE,
g_param_spec_int ("sector-size", "Sector size",
"Specify sector size in bytes for generic formats",
- 256, 16384, 2048, (GParamFlags) G_PARAM_READWRITE));
+ 256, 16384, 2048,
+ (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
}
/*
diff --git a/ext/musicbrainz/gsttrm.c b/ext/musicbrainz/gsttrm.c
index 7ae4eb7e0..facba1cb2 100644
--- a/ext/musicbrainz/gsttrm.c
+++ b/ext/musicbrainz/gsttrm.c
@@ -137,10 +137,11 @@ gst_trm_class_init (GstTRMClass * klass)
g_object_class_install_property (gobject_class, ARG_PROXY_ADDRESS,
g_param_spec_string ("proxy-address", "proxy address", "proxy address",
- DEFAULT_PROXY_ADDRESS, G_PARAM_READWRITE));
+ DEFAULT_PROXY_ADDRESS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_PROXY_PORT,
g_param_spec_uint ("proxy-port", "proxy port", "proxy port",
- 1, 65535, DEFAULT_PROXY_PORT, G_PARAM_READWRITE));
+ 1, 65535, DEFAULT_PROXY_PORT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_trm_change_state);
}
diff --git a/ext/mythtv/gstmythtvsrc.c b/ext/mythtv/gstmythtvsrc.c
index 1afc01ea5..ca9865ebd 100644
--- a/ext/mythtv/gstmythtvsrc.c
+++ b/ext/mythtv/gstmythtvsrc.c
@@ -194,40 +194,45 @@ gst_mythtv_src_class_init (GstMythtvSrcClass * klass)
"\n\t\t\tmyth://a.com/?channel=123"
"\n\t\t\tmyth://a.com/?channel=Channel%203"
"\n\t\t\ta.com/file.nuv - default scheme 'myth'",
- "", G_PARAM_READWRITE));
+ "", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_GMYTHTV_VERSION,
g_param_spec_int ("mythtv-version", "mythtv-version",
- "Change MythTV version", 26, 30, 26, G_PARAM_READWRITE));
+ "Change MythTV version", 26, 30, 26,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_GMYTHTV_LIVEID,
g_param_spec_int ("mythtv-live-id", "mythtv-live-id",
"Change MythTV version",
- 0, 200, GST_GMYTHTV_ID_NUM, G_PARAM_READWRITE));
+ 0, 200, GST_GMYTHTV_ID_NUM,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_GMYTHTV_LIVE_CHAINID,
g_param_spec_string ("mythtv-live-chainid", "mythtv-live-chainid",
- "Sets the MythTV chain ID (from TV Chain)", "", G_PARAM_READWRITE));
+ "Sets the MythTV chain ID (from TV Chain)", "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_GMYTHTV_LIVE,
g_param_spec_boolean ("mythtv-live", "mythtv-live",
- "Enable MythTV Live TV content streaming", FALSE, G_PARAM_READWRITE));
+ "Enable MythTV Live TV content streaming", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_GMYTHTV_ENABLE_TIMING_POSITION,
g_param_spec_boolean ("mythtv-enable-timing-position",
"mythtv-enable-timing-position",
"Enable MythTV Live TV content size continuous updating",
- FALSE, G_PARAM_READWRITE));
+ FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_GMYTHTV_CHANNEL_NUM,
g_param_spec_string ("mythtv-channel", "mythtv-channel",
- "Change MythTV channel number", "", G_PARAM_READWRITE));
+ "Change MythTV channel number", "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gstbasesrc_class->start = GST_DEBUG_FUNCPTR (gst_mythtv_src_start);
gstbasesrc_class->stop = GST_DEBUG_FUNCPTR (gst_mythtv_src_stop);
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index 93e9c1043..4b535951b 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -121,12 +121,13 @@ gst_nas_sink_class_init (GstNasSinkClass * klass)
g_object_class_install_property (gobject_class, ARG_MUTE,
g_param_spec_boolean ("mute", "mute", "Whether to mute playback",
- DEFAULT_MUTE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ DEFAULT_MUTE,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_HOST,
g_param_spec_string ("host", "host",
"host running the NAS daemon (name of X/Terminal, default is "
"$AUDIOSERVER or $DISPLAY)", DEFAULT_HOST,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_nas_sink_getcaps);
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index a20a7e749..2844dcd64 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -163,20 +163,21 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
g_object_class_install_property
(gobject_class, PROP_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, PROP_PROXY,
g_param_spec_string ("proxy", "Proxy",
"Proxy server to use, in the form HOSTNAME:PORT. "
"Defaults to the http_proxy environment variable",
- "", G_PARAM_READWRITE));
+ "", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property
(gobject_class, PROP_USER_AGENT,
g_param_spec_string ("user-agent", "User-Agent",
"Value of the User-Agent HTTP request header field",
- "GStreamer neonhttpsrc", G_PARAM_READWRITE));
+ "GStreamer neonhttpsrc", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GstNeonhttpSrc:cookies
@@ -187,41 +188,45 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
*/
g_object_class_install_property (gobject_class, PROP_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_IRADIO_MODE,
g_param_spec_boolean ("iradio-mode", "iradio-mode",
"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,
PROP_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,
PROP_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,
PROP_IRADIO_URL,
g_param_spec_string ("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, PROP_AUTOMATIC_REDIRECT,
g_param_spec_boolean ("automatic-redirect", "automatic-redirect",
"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, PROP_ACCEPT_SELF_SIGNED,
g_param_spec_boolean ("accept-self-signed", "accept-self-signed",
"Accept self-signed SSL/TLS certificates",
- DEFAULT_ACCEPT_SELF_SIGNED, G_PARAM_READWRITE));
+ DEFAULT_ACCEPT_SELF_SIGNED,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GstNeonhttpSrc:connect-timeout
@@ -233,7 +238,8 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_CONNECT_TIMEOUT,
g_param_spec_uint ("connect-timeout", "connect-timeout",
"Value in seconds to timeout a blocking connection (0 = default).", 0,
- 3600, DEFAULT_CONNECT_TIMEOUT, G_PARAM_READWRITE));
+ 3600, DEFAULT_CONNECT_TIMEOUT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
* GstNeonhttpSrc:read-timeout
@@ -245,14 +251,15 @@ gst_neonhttp_src_class_init (GstNeonhttpSrcClass * klass)
g_object_class_install_property (gobject_class, PROP_READ_TIMEOUT,
g_param_spec_uint ("read-timeout", "read-timeout",
"Value in seconds to timeout a blocking read (0 = default).", 0,
- 3600, DEFAULT_READ_TIMEOUT, G_PARAM_READWRITE));
+ 3600, DEFAULT_READ_TIMEOUT,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#ifndef GST_DISABLE_GST_DEBUG
g_object_class_install_property
(gobject_class, PROP_NEON_HTTP_DEBUG,
g_param_spec_boolean ("neon-http-debug", "neon-http-debug",
"Enable Neon HTTP debug messages",
- DEFAULT_NEON_HTTP_DEBUG, G_PARAM_READWRITE));
+ DEFAULT_NEON_HTTP_DEBUG, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
#endif
gstbasesrc_class->start = GST_DEBUG_FUNCPTR (gst_neonhttp_src_start);
diff --git a/ext/ofa/gstofa.c b/ext/ofa/gstofa.c
index ebd52b6a0..d1be48635 100644
--- a/ext/ofa/gstofa.c
+++ b/ext/ofa/gstofa.c
@@ -101,7 +101,8 @@ gst_ofa_class_init (GstOFAClass * klass)
g_object_class_install_property (gobject_class, PROP_FINGERPRINT,
g_param_spec_string ("fingerprint", "Resulting fingerprint",
- "Resulting fingerprint", NULL, G_PARAM_READABLE));
+ "Resulting fingerprint", NULL,
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ofa_finalize);
diff --git a/ext/opencv/gstedgedetect.c b/ext/opencv/gstedgedetect.c
index 77e1d62b0..19094eae6 100644
--- a/ext/opencv/gstedgedetect.c
+++ b/ext/opencv/gstedgedetect.c
@@ -161,19 +161,19 @@ gst_edgedetect_class_init (GstedgedetectClass * klass)
g_object_class_install_property (gobject_class, PROP_MASK,
g_param_spec_boolean ("mask", "Mask",
"Sets whether the detected edges should be used as a mask on the original input or not",
- TRUE, G_PARAM_READWRITE));
+ TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_THRESHOLD1,
g_param_spec_int ("threshold1", "Threshold1",
"Threshold value for canny edge detection", 0, 1000, 50,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_THRESHOLD2,
g_param_spec_int ("threshold2", "Threshold2",
"Second threshold value for canny edge detection", 0, 1000, 150,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_APERTURE,
g_param_spec_int ("aperture", "Aperture",
"Aperture size for Sobel operator (Must be either 3, 5 or 7", 3, 7, 3,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
/* initialize the new element
diff --git a/ext/opencv/gstfaceblur.c b/ext/opencv/gstfaceblur.c
index 59af2810d..ddbfcdc28 100644
--- a/ext/opencv/gstfaceblur.c
+++ b/ext/opencv/gstfaceblur.c
@@ -161,7 +161,7 @@ gst_faceblur_class_init (GstfaceblurClass * klass)
g_object_class_install_property (gobject_class, PROP_PROFILE,
g_param_spec_string ("profile", "Profile",
"Location of Haar cascade file to use for face blurion",
- DEFAULT_PROFILE, G_PARAM_READWRITE));
+ DEFAULT_PROFILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
/* initialize the new element
diff --git a/ext/opencv/gstfacedetect.c b/ext/opencv/gstfacedetect.c
index 64e4b25c2..887b32747 100644
--- a/ext/opencv/gstfacedetect.c
+++ b/ext/opencv/gstfacedetect.c
@@ -219,11 +219,11 @@ gst_facedetect_class_init (GstfacedetectClass * klass)
g_object_class_install_property (gobject_class, PROP_DISPLAY,
g_param_spec_boolean ("display", "Display",
"Sets whether the detected faces should be highlighted in the output",
- TRUE, G_PARAM_READWRITE));
+ TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_PROFILE,
g_param_spec_string ("profile", "Profile",
"Location of Haar cascade file to use for face detection",
- DEFAULT_PROFILE, G_PARAM_READWRITE));
+ DEFAULT_PROFILE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_FLAGS,
g_param_spec_flags ("flags", "Flags", "Flags to cvHaarDetectObjects",
GST_TYPE_OPENCV_FACE_DETECT_FLAGS, DEFAULT_FLAGS,
diff --git a/ext/opencv/gstpyramidsegment.c b/ext/opencv/gstpyramidsegment.c
index f6a4793ef..53bdfd207 100644
--- a/ext/opencv/gstpyramidsegment.c
+++ b/ext/opencv/gstpyramidsegment.c
@@ -161,22 +161,22 @@ gst_pyramidsegment_class_init (GstpyramidsegmentClass * klass)
g_object_class_install_property (gobject_class, PROP_SILENT,
g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
- FALSE, G_PARAM_READWRITE));
+ FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_THRESHOLD1,
g_param_spec_double ("threshold1", "Threshold1",
"Error threshold for establishing links", 0, 1000, 50,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_THRESHOLD2,
g_param_spec_double ("threshold2", "Threshold2",
"Error threshold for segment clustering", 0, 1000, 60,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_LEVEL,
g_param_spec_int ("level", "Level",
"Maximum level of the pyramid segmentation", 0, 4, 4,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
/* initialize the new element
diff --git a/ext/opencv/gsttemplatematch.c b/ext/opencv/gsttemplatematch.c
index 353bb0664..f8fde9c3d 100644
--- a/ext/opencv/gsttemplatematch.c
+++ b/ext/opencv/gsttemplatematch.c
@@ -151,14 +151,14 @@ gst_templatematch_class_init (GstTemplateMatchClass * klass)
g_object_class_install_property (gobject_class, PROP_METHOD,
g_param_spec_int ("method", "Method",
"Specifies the way the template must be compared with image regions. 0=SQDIFF, 1=SQDIFF_NORMED, 2=CCOR, 3=CCOR_NORMED, 4=CCOEFF, 5=CCOEFF_NORMED.",
- 0, 5, DEFAULT_METHOD, G_PARAM_READWRITE));
+ 0, 5, DEFAULT_METHOD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_TEMPLATE,
g_param_spec_string ("template", "Template", "Filename of template image",
- NULL, G_PARAM_READWRITE));
+ NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_DISPLAY,
g_param_spec_boolean ("display", "Display",
"Sets whether the detected template should be highlighted in the output",
- TRUE, G_PARAM_READWRITE));
+ TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
/* initialize the new element
diff --git a/ext/resindvd/resindvdbin.c b/ext/resindvd/resindvdbin.c
index e1d6c16a8..e329568e1 100644
--- a/ext/resindvd/resindvdbin.c
+++ b/ext/resindvd/resindvdbin.c
@@ -129,7 +129,7 @@ rsn_dvdbin_class_init (RsnDvdBinClass * klass)
g_object_class_install_property (gobject_class, ARG_DEVICE,
g_param_spec_string ("device", "Device", "DVD device location",
- NULL, G_PARAM_READWRITE));
+ NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
static void
diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c
index 0eda62a02..72c8d2544 100644
--- a/ext/resindvd/resindvdsrc.c
+++ b/ext/resindvd/resindvdsrc.c
@@ -232,12 +232,12 @@ rsn_dvdsrc_class_init (resinDvdSrcClass * klass)
g_object_class_install_property (gobject_class, ARG_DEVICE,
g_param_spec_string ("device", "Device", "DVD device location",
- NULL, G_PARAM_READWRITE));
+ NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_FASTSTART,
g_param_spec_boolean ("fast-start", "Fast start",
"Skip straight to the DVD menu on start", DEFAULT_FASTSTART,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}
static void
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 3a90b05ee..fa05ace1a 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -217,7 +217,8 @@ gst_sdlvideosink_class_init (GstSDLVideoSinkClass * klass)
g_object_class_install_property (gobject_class, PROP_FULLSCREEN,
g_param_spec_boolean ("fullscreen", "Fullscreen",
- "If true it will be Full screen", FALSE, G_PARAM_READWRITE));
+ "If true it will be Full screen", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/*gstvs_class->set_video_out = gst_sdlvideosink_set_video_out;
gstvs_class->push_ui_event = gst_sdlvideosink_push_ui_event;
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c
index 8ca3f56e1..c5a71136a 100644
--- a/ext/shout/gstshout.c
+++ b/ext/shout/gstshout.c
@@ -131,50 +131,58 @@ gst_icecastsend_class_init (GstIcecastSendClass * klass)
/* FIXME: add long property descriptions */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_IP,
- g_param_spec_string ("ip", "ip", "ip", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("ip", "ip", "ip", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PORT,
g_param_spec_int ("port", "port", "port", 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_PASSWORD,
g_param_spec_string ("password", "password", "password", NULL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PUBLIC,
g_param_spec_boolean ("public", "public", "public", TRUE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* metadata */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_NAME,
- g_param_spec_string ("name", "name", "name", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("name", "name", "name", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DESCRIPTION,
g_param_spec_string ("description", "description", "description", NULL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_GENRE,
- g_param_spec_string ("genre", "genre", "genre", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("genre", "genre", "genre", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* icecast only */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MOUNT,
- g_param_spec_string ("mount", "mount", "mount", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("mount", "mount", "mount", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DUMPFILE,
g_param_spec_string ("dumpfile", "dumpfile", "dumpfile", NULL,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* shoutcast only */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ICY,
- g_param_spec_boolean ("icy", "icy", "icy", FALSE, G_PARAM_READWRITE));
+ g_param_spec_boolean ("icy", "icy", "icy", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_AIM,
- g_param_spec_string ("aim", "aim", "aim", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("aim", "aim", "aim", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ICQ,
- g_param_spec_string ("icq", "icq", "icq", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("icq", "icq", "icq", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_IRC,
- g_param_spec_string ("irc", "irc", "irc", NULL, G_PARAM_READWRITE));
+ g_param_spec_string ("irc", "irc", "irc", NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->set_property = gst_icecastsend_set_property;
diff --git a/ext/snapshot/gstsnapshot.c b/ext/snapshot/gstsnapshot.c
index f61ded16f..97ffbed5f 100644
--- a/ext/snapshot/gstsnapshot.c
+++ b/ext/snapshot/gstsnapshot.c
@@ -139,10 +139,10 @@ gst_snapshot_class_init (GstSnapshotClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FRAME,
g_param_spec_long ("frame", "frame", "frame",
- 0, G_MAXLONG, 0, G_PARAM_READWRITE));
+ 0, G_MAXLONG, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_LOCATION,
g_param_spec_string ("location", "location", "location",
- 0, G_PARAM_READWRITE));
+ 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gst_snapshot_signals[SNAPSHOT_SIGNAL] =
g_signal_new ("snapshot", G_TYPE_FROM_CLASS (klass),
diff --git a/ext/sndfile/gstsfsink.c b/ext/sndfile/gstsfsink.c
index 4ac979b04..a4ef877fa 100644
--- a/ext/sndfile/gstsfsink.c
+++ b/ext/sndfile/gstsfsink.c
@@ -107,19 +107,23 @@ gst_sf_sink_class_init (GstSFSinkClass * 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));
pspec = g_param_spec_enum
("major-type", "Major type", "Major output type", GST_TYPE_SF_MAJOR_TYPES,
- SF_FORMAT_WAV, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+ SF_FORMAT_WAV,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_MAJOR_TYPE, pspec);
pspec = g_param_spec_enum
("minor-type", "Minor type", "Minor output type", GST_TYPE_SF_MINOR_TYPES,
- SF_FORMAT_FLOAT, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+ SF_FORMAT_FLOAT,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_MINOR_TYPE, pspec);
pspec = g_param_spec_int
("buffer-frames", "Buffer frames",
"Number of frames per buffer, in pull mode", 1, G_MAXINT,
- DEFAULT_BUFFER_FRAMES, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+ DEFAULT_BUFFER_FRAMES,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (gobject_class, PROP_BUFFER_FRAMES, pspec);
basesink_class->get_times = NULL;
diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc
index 3d82ee030..46f73194d 100644
--- a/ext/soundtouch/gstpitch.cc
+++ b/ext/soundtouch/gstpitch.cc
@@ -135,17 +135,17 @@ gst_pitch_class_init (GstPitchClass * klass)
g_object_class_install_property (gobject_class, ARG_PITCH,
g_param_spec_float ("pitch", "Pitch",
"Audio stream pitch", 0.1, 10.0, 1.0,
- (GParamFlags) (G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)));
+ (GParamFlags) (G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, ARG_TEMPO,
g_param_spec_float ("tempo", "Tempo",
"Audio stream tempo", 0.1, 10.0, 1.0,
- (GParamFlags) (G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)));
+ (GParamFlags) (G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, ARG_RATE,
g_param_spec_float ("rate", "Rate",
"Audio stream rate", 0.1, 10.0, 1.0,
- (GParamFlags) (G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)));
+ (GParamFlags) (G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS)));
g_type_class_add_private (gobject_class, sizeof (GstPitchPrivate));
}
diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c
index a0786237f..f6b1e834c 100644
--- a/ext/tarkin/gsttarkindec.c
+++ b/ext/tarkin/gsttarkindec.c
@@ -141,7 +141,8 @@ gst_tarkindec_class_init (TarkinDecClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BITRATE,
g_param_spec_int ("bitrate", "bitrate", "bitrate",
- G_MININT, G_MAXINT, 3000, G_PARAM_READWRITE));
+ G_MININT, G_MAXINT, 3000,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
parent_class = g_type_class_peek_parent (klass);
diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c
index 700b5a230..7390da3b8 100644
--- a/ext/tarkin/gsttarkinenc.c
+++ b/ext/tarkin/gsttarkinenc.c
@@ -141,15 +141,16 @@ gst_tarkinenc_class_init (TarkinEncClass * klass)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BITRATE,
g_param_spec_int ("bitrate", "bitrate", "bitrate",
- G_MININT, G_MAXINT, 3000, G_PARAM_READWRITE));
+ G_MININT, G_MAXINT, 3000,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_S_MOMENTS,
- g_param_spec_int ("s_moments", "Synthesis Moments",
+ g_param_spec_int ("s-moments", "Synthesis Moments",
"Number of vanishing moments for the synthesis filter",
- 1, 4, 2, G_PARAM_READWRITE));
+ 1, 4, 2, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_A_MOMENTS,
- g_param_spec_int ("a_moments", "Analysis Moments",
+ g_param_spec_int ("a-moments", "Analysis Moments",
"Number of vanishing moments for the analysis filter",
- 1, 4, 2, G_PARAM_READWRITE));
+ 1, 4, 2, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
parent_class = g_type_class_peek_parent (klass);
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 304fad7a1..1194ecbbc 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -273,191 +273,210 @@ gst_xvidenc_class_init (GstXvidEncClass * klass)
pspec = g_param_spec_enum ("profile", "Profile",
"XviD/MPEG-4 encoding profile",
- GST_TYPE_XVIDENC_PROFILE, 0, G_PARAM_READWRITE);
+ GST_TYPE_XVIDENC_PROFILE, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, profile);
pspec = g_param_spec_enum ("quant-type", "Quantizer Type",
- "Quantizer type", GST_TYPE_XVIDENC_QUANT_TYPE, 0, G_PARAM_READWRITE);
+ "Quantizer type", GST_TYPE_XVIDENC_QUANT_TYPE, 0,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, quant_type);
pspec = g_param_spec_enum ("pass", "Encoding pass/type",
"Encoding pass/type",
- GST_TYPE_XVIDENC_PASS, XVIDENC_CBR, G_PARAM_READWRITE);
+ GST_TYPE_XVIDENC_PASS, XVIDENC_CBR,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, pass);
pspec = g_param_spec_int ("bitrate", "Bitrate",
"[CBR|PASS2] Target video bitrate (bps)",
- 0, G_MAXINT, 1800000, G_PARAM_READWRITE);
+ 0, G_MAXINT, 1800000, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, bitrate);
pspec = g_param_spec_int ("quantizer", "Quantizer",
"[QUANT] Quantizer to apply for constant quantizer mode",
- 2, 31, 2, G_PARAM_READWRITE);
+ 2, 31, 2, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, quant);
pspec = g_param_spec_string ("statsfile", "Statistics Filename",
"[PASS1|PASS2] Filename to store data for 2-pass encoding",
- "xvid-stats.log", G_PARAM_READWRITE);
+ "xvid-stats.log", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, filename);
pspec = g_param_spec_int ("max-key-interval", "Max. Key Interval",
"Maximum number of frames between two keyframes (< 0 is in sec)",
- -100, G_MAXINT, -10, G_PARAM_READWRITE);
+ -100, G_MAXINT, -10, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_key_interval);
pspec = g_param_spec_boolean ("closed-gop", "Closed GOP",
- "Closed GOP", FALSE, G_PARAM_READWRITE);
+ "Closed GOP", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, closed_gop);
pspec = g_param_spec_int ("motion", "ME Quality",
- "Quality of Motion Estimation", 0, 6, 6, G_PARAM_READWRITE);
+ "Quality of Motion Estimation", 0, 6, 6,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, motion);
pspec = g_param_spec_boolean ("me-chroma", "ME Chroma",
"Enable use of Chroma planes for Motion Estimation",
- TRUE, G_PARAM_READWRITE);
+ TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, me_chroma);
pspec = g_param_spec_int ("me-vhq", "ME DCT/Frequency",
"Extent in which to use DCT to minimize encoding length",
- 0, 4, 1, G_PARAM_READWRITE);
+ 0, 4, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, me_vhq);
pspec = g_param_spec_boolean ("me-quarterpel", "ME Quarterpel",
"Use quarter pixel precision for motion vector search",
- FALSE, G_PARAM_READWRITE);
+ FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, me_quarterpel);
pspec = g_param_spec_boolean ("lumimasking", "Lumimasking",
"Enable lumimasking - apply more compression to dark or bright areas",
- FALSE, G_PARAM_READWRITE);
+ FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, lumimasking);
pspec = g_param_spec_int ("max-bframes", "Max B-Frames",
- "Maximum B-frames in a row", 0, G_MAXINT, 1, G_PARAM_READWRITE);
+ "Maximum B-frames in a row", 0, G_MAXINT, 1,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_bframes);
pspec = g_param_spec_int ("bquant-ratio", "B-quantizer ratio",
- "Ratio in B-frame quantizer computation", 0, 200, 150, G_PARAM_READWRITE);
+ "Ratio in B-frame quantizer computation", 0, 200, 150,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, bquant_ratio);
pspec = g_param_spec_int ("bquant-offset", "B-quantizer offset",
"Offset in B-frame quantizer computation",
- 0, 200, 100, G_PARAM_READWRITE);
+ 0, 200, 100, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, bquant_offset);
pspec = g_param_spec_int ("bframe-threshold", "B-Frame Threshold",
"Higher threshold yields more chance that B-frame is used",
- -255, 255, 0, G_PARAM_READWRITE);
+ -255, 255, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, bframe_threshold);
pspec = g_param_spec_boolean ("gmc", "Global Motion Compensation",
"Allow generation of Sprite Frames for Pan/Zoom/Rotating images",
- FALSE, G_PARAM_READWRITE);
+ FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, gmc);
pspec = g_param_spec_boolean ("trellis", "Trellis Quantization",
- "Enable Trellis Quantization", FALSE, G_PARAM_READWRITE);
+ "Enable Trellis Quantization", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, trellis);
pspec = g_param_spec_boolean ("interlaced", "Interlaced Material",
- "Enable for interlaced video material", FALSE, G_PARAM_READWRITE);
+ "Enable for interlaced video material", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, interlaced);
pspec = g_param_spec_boolean ("cartoon", "Cartoon Material",
- "Adjust thresholds for flat looking cartoons", FALSE, G_PARAM_READWRITE);
+ "Adjust thresholds for flat looking cartoons", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, cartoon);
pspec = g_param_spec_boolean ("greyscale", "Disable Chroma",
- "Do not write chroma data in encoded video", FALSE, G_PARAM_READWRITE);
+ "Do not write chroma data in encoded video", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, greyscale);
pspec = g_param_spec_boolean ("hqacpred", "High quality AC prediction",
- "Enable high quality AC prediction", TRUE, G_PARAM_READWRITE);
+ "Enable high quality AC prediction", TRUE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, hqacpred);
pspec = g_param_spec_int ("max-iquant", "Max Quant I-Frames",
- "Upper bound for I-frame quantization", 0, 31, 31, G_PARAM_READWRITE);
+ "Upper bound for I-frame quantization", 0, 31, 31,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_iquant);
pspec = g_param_spec_int ("min-iquant", "Min Quant I-Frames",
- "Lower bound for I-frame quantization", 0, 31, 2, G_PARAM_READWRITE);
+ "Lower bound for I-frame quantization", 0, 31, 2,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, min_iquant);
pspec = g_param_spec_int ("max-pquant", "Max Quant P-Frames",
- "Upper bound for P-frame quantization", 0, 31, 31, G_PARAM_READWRITE);
+ "Upper bound for P-frame quantization", 0, 31, 31,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_pquant);
pspec = g_param_spec_int ("min-pquant", "Min Quant P-Frames",
- "Lower bound for P-frame quantization", 0, 31, 2, G_PARAM_READWRITE);
+ "Lower bound for P-frame quantization", 0, 31, 2,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, min_pquant);
pspec = g_param_spec_int ("max-bquant", "Max Quant B-Frames",
- "Upper bound for B-frame quantization", 0, 31, 31, G_PARAM_READWRITE);
+ "Upper bound for B-frame quantization", 0, 31, 31,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_bquant);
pspec = g_param_spec_int ("min-bquant", "Min Quant B-Frames",
- "Lower bound for B-frame quantization", 0, 31, 2, G_PARAM_READWRITE);
+ "Lower bound for B-frame quantization", 0, 31, 2,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, min_bquant);
pspec = g_param_spec_int ("reaction-delay-factor", "Reaction Delay Factor",
- "[CBR] Reaction delay factor", -1, 100, -1, G_PARAM_READWRITE);
+ "[CBR] Reaction delay factor", -1, 100, -1,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, reaction_delay_factor);
pspec = g_param_spec_int ("averaging-period", "Averaging Period",
"[CBR] Number of frames for which XviD averages bitrate",
- -1, 100, -1, G_PARAM_READWRITE);
+ -1, 100, -1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, averaging_period);
pspec = g_param_spec_int ("buffer", "Buffer Size",
- "[CBR] Size of the video buffers", -1, G_MAXINT, -1, G_PARAM_READWRITE);
+ "[CBR] Size of the video buffers", -1, G_MAXINT, -1,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, buffer);
pspec = g_param_spec_int ("keyframe-boost", "Keyframe boost",
- "[PASS2] Bitrate boost for keyframes", 0, 100, 0, G_PARAM_READWRITE);
+ "[PASS2] Bitrate boost for keyframes", 0, 100, 0,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, keyframe_boost);
pspec = g_param_spec_int ("curve-compression-high", "Curve Compression High",
"[PASS2] Shrink factor for upper part of bitrate curve",
- 0, 100, 0, G_PARAM_READWRITE);
+ 0, 100, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, curve_compression_high);
pspec = g_param_spec_int ("curve-compression-low", "Curve Compression Low",
"[PASS2] Growing factor for lower part of bitrate curve",
- 0, 100, 0, G_PARAM_READWRITE);
+ 0, 100, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, curve_compression_low);
pspec = g_param_spec_int ("flow-control-strength", "Flow Control Strength",
"[PASS2] Overflow control strength per frame",
- -1, 100, 5, G_PARAM_READWRITE);
+ -1, 100, 5, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, overflow_control_strength);
pspec =
g_param_spec_int ("max-overflow-improvement", "Max Overflow Improvement",
"[PASS2] Amount in % that flow control can increase frame size compared to ideal curve",
- -1, 100, 5, G_PARAM_READWRITE);
+ -1, 100, 5, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_overflow_improvement);
pspec =
g_param_spec_int ("max-overflow-degradation", "Max Overflow Degradation",
"[PASS2] Amount in % that flow control can decrease frame size compared to ideal curve",
- -1, 100, 5, G_PARAM_READWRITE);
+ -1, 100, 5, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, max_overflow_degradation);
pspec = g_param_spec_int ("keyframe-reduction", "Keyframe Reduction",
"[PASS2] Keyframe size reduction in % of those within threshold",
- -1, 100, 20, G_PARAM_READWRITE);
+ -1, 100, 20, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, kfreduction);
pspec = g_param_spec_int ("keyframe-threshold", "Keyframe Threshold",
"[PASS2] Distance between keyframes not to be subject to reduction",
- -1, 100, 1, G_PARAM_READWRITE);
+ -1, 100, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, kfthreshold);
pspec =
g_param_spec_int ("container-frame-overhead", "Container Frame Overhead",
"[PASS2] Average container overhead per frame", -1, 100, -1,
- G_PARAM_READWRITE);
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
gst_xvidenc_add_pspec (gobject_class, pspec, container_frame_overhead);
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_xvidenc_change_state);
diff --git a/ext/zbar/gstzbar.c b/ext/zbar/gstzbar.c
index 8904ea969..ec2426075 100644
--- a/ext/zbar/gstzbar.c
+++ b/ext/zbar/gstzbar.c
@@ -169,12 +169,14 @@ gst_zbar_class_init (GstZBarClass * g_class)
g_object_class_install_property (gobject_class, PROP_MESSAGE,
g_param_spec_boolean ("message", "mesage",
"Post a barcode message for each detected code",
- TRUE, G_PARAM_READWRITE));
+ TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_CACHE,
g_param_spec_boolean ("cache", "cache",
"Enable or disable the inter-image result cache",
- TRUE, G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY));
+ TRUE,
+ G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
+ G_PARAM_STATIC_STRINGS));
trans_class->set_caps = GST_DEBUG_FUNCPTR (gst_zbar_set_caps);
trans_class->transform_ip = GST_DEBUG_FUNCPTR (gst_zbar_transform_ip);