From: Wim T. <wt...@us...> - 2002-04-03 15:26:41
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: wtay Date: Wed Apr 03 2002 07:26:35 PST Log message: Fix enum error in args. Modified files: ext/cdparanoia : gstcdparanoia.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/cdparanoia/gstcdparanoia.c.diff?r1=1.6&r2=1.7 ====Begin Diffs==== Index: gstcdparanoia.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/cdparanoia/gstcdparanoia.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gstcdparanoia.c 24 Mar 2002 22:06:44 -0000 1.6 +++ gstcdparanoia.c 3 Apr 2002 15:26:23 -0000 1.7 @@ -65,9 +65,9 @@ /********** 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 @@ 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 @@ 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); |