mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
theoraenc: warn when trying to set an ignored obsolete property
https://bugzilla.gnome.org/show_bug.cgi?id=663391
This commit is contained in:
parent
10811d63f9
commit
0c4ccb4f9c
1 changed files with 2 additions and 0 deletions
|
@ -1500,6 +1500,8 @@ theora_enc_set_property (GObject * object, guint prop_id,
|
||||||
case PROP_NOISE_SENSITIVITY:
|
case PROP_NOISE_SENSITIVITY:
|
||||||
case PROP_SHARPNESS:
|
case PROP_SHARPNESS:
|
||||||
/* kept for API compat, but ignored */
|
/* kept for API compat, but ignored */
|
||||||
|
GST_WARNING_OBJECT (object, "Obsolete property '%s' ignored",
|
||||||
|
pspec->name);
|
||||||
break;
|
break;
|
||||||
case PROP_BITRATE:
|
case PROP_BITRATE:
|
||||||
GST_OBJECT_LOCK (enc);
|
GST_OBJECT_LOCK (enc);
|
||||||
|
|
Loading…
Reference in a new issue