summaryrefslogtreecommitdiff
path: root/gst/subenc/gstsrtenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/subenc/gstsrtenc.c')
-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");