summaryrefslogtreecommitdiff
path: root/gst/subenc
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-10-19 13:43:14 +0300
committerStefan Kost <ensonic@users.sf.net>2010-10-19 15:47:17 +0300
commit0c22e1b954b98b04673aa5b849a8434b2ce820a1 (patch)
treea3ae32041fb3378b2808381531187eb558630388 /gst/subenc
parent92634ff92a8425e5d24f276a12d681509d27249c (diff)
downloadgstreamer-plugins-bad-0c22e1b954b98b04673aa5b849a8434b2ce820a1.tar.gz
various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
Diffstat (limited to 'gst/subenc')
-rw-r--r--gst/subenc/gstsrtenc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/subenc/gstsrtenc.c b/gst/subenc/gstsrtenc.c
index beeede50f..36071c34b 100644
--- a/gst/subenc/gstsrtenc.c
+++ b/gst/subenc/gstsrtenc.c
@@ -218,11 +218,13 @@ gst_srt_enc_class_init (GstSrtEncClass * klass)
g_object_class_install_property (gobject_class, ARG_TIMESTAMP,
g_param_spec_int64 ("timestamp", "Offset for the starttime",
"Offset for the starttime for the subtitles", G_MININT64, G_MAXINT64,
- 0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
+ 0,
+ G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, ARG_DURATION,
g_param_spec_int64 ("duration", "Offset for the duration",
"Offset for the duration of the subtitles", G_MININT64, G_MAXINT64,
- 0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
+ 0,
+ G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE | G_PARAM_STATIC_STRINGS));
GST_DEBUG_CATEGORY_INIT (srtenc_debug, "srtenc", 0,
"SubRip subtitle encoder");