From d3d8104b5c720168fea935b59735931a59524cf1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 3 Apr 2002 15:26:23 +0000 Subject: [PATCH] Fix enum error in args. Original commit message from CVS: Fix enum error in args. --- ext/cdparanoia/gstcdparanoia.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/cdparanoia/gstcdparanoia.c b/ext/cdparanoia/gstcdparanoia.c index 7f6b5cd..0ffddfd 100644 --- a/ext/cdparanoia/gstcdparanoia.c +++ b/ext/cdparanoia/gstcdparanoia.c @@ -65,9 +65,9 @@ GST_PADTEMPLATE_FACTORY (cdparanoia_src_factory, /********** Define useful types for non-programmatic interfaces **********/ -#define GST_TYPE_PARANOIA_MODE (gst_lame_paranoia_get_type()) +#define GST_TYPE_PARANOIA_MODE (gst_paranoia_mode_get_type()) static GType -gst_lame_paranoia_get_type (void) +gst_paranoia_mode_get_type (void) { static GType paranoia_mode_type = 0; static GEnumValue paranoia_modes[] = { @@ -340,7 +340,7 @@ cdparanoia_set_property (GObject *object, guint prop_id, const GValue *value, GP src->abort_on_skip = g_value_get_boolean (value); break; case ARG_PARANOIA_MODE: - src->paranoia_mode = g_value_get_int (value); + src->paranoia_mode = g_value_get_enum (value); break; default: break; @@ -411,7 +411,7 @@ cdparanoia_get_property (GObject *object, guint prop_id, GValue *value, GParamSp g_value_set_boolean (value, src->abort_on_skip); break; case ARG_PARANOIA_MODE: - g_value_set_int (value, src->paranoia_mode); + g_value_set_enum (value, src->paranoia_mode); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); -- 2.7.4