summaryrefslogtreecommitdiff
path: root/gst/debugutils/fpsdisplaysink.c
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-06-24 10:24:27 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-06-24 13:34:14 -0300
commitdfec8f7faed95be96df66c9a1f967a0079517e25 (patch)
tree1ce6448f9d6faec00d1a844dbe91c33ae91a1398 /gst/debugutils/fpsdisplaysink.c
parentdc8f1dbb3ece510008e4539e300b498257bd8efc (diff)
downloadgstreamer-plugins-bad-dfec8f7faed95be96df66c9a1f967a0079517e25.tar.gz
fpsdisplaysink: Use G_PARAM_STATIC_STRINGS in all properties
Add G_PARAM_STATIC_STRINGS to the properties that are missing it
Diffstat (limited to 'gst/debugutils/fpsdisplaysink.c')
-rw-r--r--gst/debugutils/fpsdisplaysink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c
index cc0ce0d3e..484300055 100644
--- a/gst/debugutils/fpsdisplaysink.c
+++ b/gst/debugutils/fpsdisplaysink.c
@@ -113,13 +113,14 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass)
g_param_spec_object ("video-sink",
"video-sink",
"Video sink to use (Must only be called on NULL state)",
- GST_TYPE_ELEMENT, G_PARAM_READWRITE));
+ GST_TYPE_ELEMENT, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE));
g_object_class_install_property (gobject_klass, ARG_FPS_UPDATE_INTERVAL,
g_param_spec_int ("fps-update-interval", "Fps update interval",
"Time between consecutive frames per second measures and update "
" (in ms). Should be set on NULL state", 1, G_MAXINT,
- DEFAULT_FPS_UPDATE_INTERVAL_MS, G_PARAM_READWRITE));
+ DEFAULT_FPS_UPDATE_INTERVAL_MS,
+ G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE));
gstelement_klass->change_state = fps_display_sink_change_state;