videofilter: add G_OBJECT_WARN_INVALID_PROPERTY_ID to property setter

This commit is contained in:
Stefan Kost 2009-10-02 13:15:59 +03:00
parent 948d5168ce
commit da05a85455
2 changed files with 2 additions and 0 deletions

View file

@ -168,6 +168,7 @@ gst_gamma_set_property (GObject * object, guint prop_id, const GValue * value,
gst_gamma_calculate_tables (gamma);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}

View file

@ -539,6 +539,7 @@ gst_video_balance_set_property (GObject * object, guint prop_id,
src->saturation = g_value_get_double (value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}