/********** 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[] = {
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;
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);