Small cleanup in property handling

Original commit message from CVS:
Small cleanup in property handling
This commit is contained in:
Wim Taymans 2002-09-12 20:55:10 +00:00
parent 1868b0e348
commit 689fa8a422

View file

@ -869,6 +869,7 @@ gst_dvdec_change_state (GstElement *element)
case GST_STATE_READY_TO_NULL:
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
@ -903,6 +904,7 @@ gst_dvdec_set_property (GObject *object, guint prop_id, const GValue *value, GPa
dvdec->quality = g_value_get_flags (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}