various (gst): add a missing G_PARAM_STATIC_STRINGS flags
authorStefan Kost <ensonic@users.sf.net>
Tue, 19 Oct 2010 06:49:47 +0000 (09:49 +0300)
committerStefan Kost <ensonic@users.sf.net>
Tue, 19 Oct 2010 06:51:23 +0000 (09:51 +0300)
gst/iec958/ac3iec.c
gst/mpegaudioparse/gstmpegaudioparse.c
gst/mpegstream/gstmpegparse.c
gst/mpegstream/gstrfc2250enc.c
gst/realmedia/pnmsrc.c
gst/realmedia/rdtmanager.c

index db29133..d6c44ca 100644 (file)
@@ -160,7 +160,7 @@ ac3iec_class_init (AC3IECClass * klass)
   g_object_class_install_property (gobject_class, PROP_RAW_AUDIO,
       g_param_spec_boolean ("raw-audio", "raw-audio",
           "If true, source pad caps are set to raw audio.",
-          FALSE, G_PARAM_READWRITE));
+          FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   gstelement_class->change_state = ac3iec_change_state;
 }
index be23540..9ebc20e 100644 (file)
@@ -321,10 +321,10 @@ gst_mp3parse_class_init (GstMPEGAudioParseClass * klass)
 
   g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SKIP,
       g_param_spec_int ("skip", "skip", "skip",
-          G_MININT, G_MAXINT, 0, G_PARAM_READWRITE));
+          G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BIT_RATE,
       g_param_spec_int ("bitrate", "Bitrate", "Bit Rate",
-          G_MININT, G_MAXINT, 0, G_PARAM_READABLE));
+          G_MININT, G_MAXINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
   gstelement_class->change_state = gst_mp3parse_change_state;
 
index ce918a3..d441a42 100644 (file)
@@ -170,15 +170,17 @@ gst_mpeg_parse_class_init (GstMPEGParseClass * klass)
       g_param_spec_int ("max_scr_gap", "Max SCR gap",
           "Maximum allowed gap between expected and actual "
           "SCR values. -1 means never adjust.", -1, G_MAXINT,
-          DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE));
+          DEFAULT_MAX_SCR_GAP, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BYTE_OFFSET,
       g_param_spec_uint64 ("byte-offset", "Byte Offset",
           "Emit reached-offset signal when the byte offset is reached.",
-          0, G_MAXUINT64, G_MAXUINT64, G_PARAM_READWRITE));
+          0, G_MAXUINT64, G_MAXUINT64,
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TIME_OFFSET,
       g_param_spec_uint64 ("time-offset", "Time Offset",
           "Time offset in the stream.",
-          0, G_MAXUINT64, G_MAXUINT64, G_PARAM_READABLE));
+          0, G_MAXUINT64, G_MAXUINT64,
+          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 }
 
 static void
index 0f88e85..e5fcb78 100644 (file)
@@ -123,10 +123,10 @@ gst_rfc2250_enc_class_init (GstRFC2250EncClass * klass)
 
   g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BIT_RATE,
       g_param_spec_uint ("bit_rate", "bit_rate", "bit_rate",
-          0, G_MAXUINT, 0, G_PARAM_READABLE));
+          0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MPEG2,
       g_param_spec_boolean ("mpeg2", "mpeg2", "is this an mpeg2 stream",
-          FALSE, G_PARAM_READABLE));
+          FALSE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
   gobject_class->get_property = gst_rfc2250_enc_get_property;
 
index 128cf74..a8b168e 100644 (file)
@@ -116,7 +116,7 @@ gst_pnm_src_class_init (GstPNMSrcClass * klass)
   g_object_class_install_property (gobject_class, PROP_LOCATION,
       g_param_spec_string ("location", "PNM Location",
           "Location of the PNM url to read",
-          DEFAULT_LOCATION, G_PARAM_READWRITE));
+          DEFAULT_LOCATION, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   gstpushsrc_class->create = gst_pnm_src_create;
 }
index c5b64de..313d0de 100644 (file)
@@ -428,7 +428,7 @@ gst_rdt_manager_class_init (GstRDTManagerClass * g_class)
   g_object_class_install_property (gobject_class, PROP_LATENCY,
       g_param_spec_uint ("latency", "Buffer latency in ms",
           "Amount of ms to buffer", 0, G_MAXUINT, DEFAULT_LATENCY_MS,
-          G_PARAM_READWRITE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   /**
    * GstRDTManager::request-pt-map: