summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-10-02 13:15:59 +0300
committerStefan Kost <ensonic@users.sf.net>2009-10-02 13:44:41 +0300
commitda05a85455a259c05c28f1b8b29e2b230f38c676 (patch)
tree5a06a5f5ee0ac16e08c50b078f51f309b805b231
parent948d5168ce18dfd071377fc34449580b99dced9b (diff)
videofilter: add G_OBJECT_WARN_INVALID_PROPERTY_ID to property setter
-rw-r--r--gst/videofilter/gstgamma.c1
-rw-r--r--gst/videofilter/gstvideobalance.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/videofilter/gstgamma.c b/gst/videofilter/gstgamma.c
index e94de1832..12ceb13c2 100644
--- a/gst/videofilter/gstgamma.c
+++ b/gst/videofilter/gstgamma.c
@@ -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;
}
}
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c
index 7e51ad569..c9152123f 100644
--- a/gst/videofilter/gstvideobalance.c
+++ b/gst/videofilter/gstvideobalance.c
@@ -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;
}