From da05a85455a259c05c28f1b8b29e2b230f38c676 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 2 Oct 2009 13:15:59 +0300 Subject: videofilter: add G_OBJECT_WARN_INVALID_PROPERTY_ID to property setter --- gst/videofilter/gstgamma.c | 1 + gst/videofilter/gstvideobalance.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gst/videofilter/gstgamma.c b/gst/videofilter/gstgamma.c index e94de183..12ceb13c 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 7e51ad56..c9152123 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; } -- cgit