videofilter: add G_OBJECT_WARN_INVALID_PROPERTY_ID to property setter
authorStefan Kost <ensonic@users.sf.net>
Fri, 2 Oct 2009 10:15:59 +0000 (13:15 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 2 Oct 2009 10:44:41 +0000 (13:44 +0300)
gst/videofilter/gstgamma.c
gst/videofilter/gstvideobalance.c

index e94de18..12ceb13 100644 (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;
   }
 }
index 7e51ad5..c915212 100644 (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;
   }