From c70bfc60b63a790d36a00951427a77309f69917f Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Sun, 14 Apr 2002 09:59:13 +0000 Subject: [PATCH] ARG_ERROR_AFTER is an int Original commit message from CVS: ARG_ERROR_AFTER is an int --- gst/elements/gstidentity.c | 4 ++-- plugins/elements/gstidentity.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/elements/gstidentity.c b/gst/elements/gstidentity.c index 1573dc9..5d5c43c 100644 --- a/gst/elements/gstidentity.c +++ b/gst/elements/gstidentity.c @@ -301,7 +301,7 @@ gst_identity_set_property (GObject *object, guint prop_id, const GValue *value, identity->dump = g_value_get_boolean (value); break; case ARG_ERROR_AFTER: - identity->error_after = g_value_get_uint (value); + identity->error_after = g_value_get_int (value); break; case ARG_DROP_PROBABILITY: identity->drop_probability = g_value_get_float (value); @@ -330,7 +330,7 @@ static void gst_identity_get_property(GObject *object, guint prop_id, GValue *va g_value_set_uint (value, identity->duplicate); break; case ARG_ERROR_AFTER: - g_value_set_uint (value, identity->error_after); + g_value_set_int (value, identity->error_after); break; case ARG_DROP_PROBABILITY: g_value_set_float (value, identity->drop_probability); diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 1573dc9..5d5c43c 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -301,7 +301,7 @@ gst_identity_set_property (GObject *object, guint prop_id, const GValue *value, identity->dump = g_value_get_boolean (value); break; case ARG_ERROR_AFTER: - identity->error_after = g_value_get_uint (value); + identity->error_after = g_value_get_int (value); break; case ARG_DROP_PROBABILITY: identity->drop_probability = g_value_get_float (value); @@ -330,7 +330,7 @@ static void gst_identity_get_property(GObject *object, guint prop_id, GValue *va g_value_set_uint (value, identity->duplicate); break; case ARG_ERROR_AFTER: - g_value_set_uint (value, identity->error_after); + g_value_set_int (value, identity->error_after); break; case ARG_DROP_PROBABILITY: g_value_set_float (value, identity->drop_probability); -- 2.7.4