mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
fpsdisplaysink: Use G_PARAM_STATIC_STRINGS in all properties
Add G_PARAM_STATIC_STRINGS to the properties that are missing it
This commit is contained in:
parent
dc8f1dbb3e
commit
dfec8f7fae
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue