diff options
author | benjamin gaignard <benjamin.gaignard@linaro.org> | 2011-02-28 11:51:54 +0100 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2011-03-03 09:51:11 +0200 |
commit | 588db0bf51122fe4fb17a98b5dfa95eb8e897693 (patch) | |
tree | be5ad5bec4b4e4440755ad8833b18bb842e66a5f /gst/debugutils | |
parent | 1eb3f7f41fdbef005a62b3f03fdfd373f93c83ed (diff) | |
download | gstreamer-plugins-bad-588db0bf51122fe4fb17a98b5dfa95eb8e897693.tar.gz |
fpsdisplay: fix sync property default value
Diffstat (limited to 'gst/debugutils')
-rw-r--r-- | gst/debugutils/fpsdisplaysink.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index aca421ce6..92f9b019f 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -65,6 +65,8 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_DEBUG_CATEGORY_STATIC (fps_display_sink_debug); #define GST_CAT_DEFAULT fps_display_sink_debug +#define DEFAULT_SYNC TRUE + enum { /* FILL ME */ @@ -114,7 +116,7 @@ fps_display_sink_class_init (GstFPSDisplaySinkClass * klass) g_object_class_install_property (gobject_klass, ARG_SYNC, g_param_spec_boolean ("sync", "Sync", "Sync on the clock (if the internally used sink doesn't " - "have this property it will be ignored", TRUE, + "have this property it will be ignored", DEFAULT_SYNC, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE)); g_object_class_install_property (gobject_klass, ARG_TEXT_OVERLAY, @@ -310,7 +312,7 @@ static void fps_display_sink_init (GstFPSDisplaySink * self, GstFPSDisplaySinkClass * g_class) { - self->sync = FALSE; + self->sync = DEFAULT_SYNC; self->signal_measurements = DEFAULT_SIGNAL_FPS_MEASUREMENTS; self->use_text_overlay = TRUE; self->fps_update_interval = GST_MSECOND * DEFAULT_FPS_UPDATE_INTERVAL_MS; |