mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
videofilter: add G_OBJECT_WARN_INVALID_PROPERTY_ID to property setter
This commit is contained in:
parent
948d5168ce
commit
da05a85455
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue