diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-10-19 13:43:14 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-10-19 15:47:17 +0300 |
commit | 0c22e1b954b98b04673aa5b849a8434b2ce820a1 (patch) | |
tree | a3ae32041fb3378b2808381531187eb558630388 /gst/nsf | |
parent | 92634ff92a8425e5d24f276a12d681509d27249c (diff) |
various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
Diffstat (limited to 'gst/nsf')
-rw-r--r-- | gst/nsf/gstnsf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/nsf/gstnsf.c b/gst/nsf/gstnsf.c index a57b9925a..bb281173c 100644 --- a/gst/nsf/gstnsf.c +++ b/gst/nsf/gstnsf.c @@ -163,10 +163,11 @@ gst_nsfdec_class_init (GstNsfDec * klass) gobject_class->get_property = gst_nsfdec_get_property; g_object_class_install_property (gobject_class, PROP_TUNE, - g_param_spec_int ("tune", "tune", "tune", 1, 100, 1, G_PARAM_READWRITE)); + g_param_spec_int ("tune", "tune", "tune", 1, 100, 1, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_FILTER, g_param_spec_enum ("filter", "filter", "filter", GST_TYPE_NSF_FILTER, - NSF_FILTER_NONE, G_PARAM_WRITABLE)); + NSF_FILTER_NONE, G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); GST_DEBUG_CATEGORY_INIT (nsfdec_debug, "nsfdec", 0, "NES sound file (nsf) decoder"); |