mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Small cleanup in property handling
Original commit message from CVS: Small cleanup in property handling
This commit is contained in:
parent
1868b0e348
commit
689fa8a422
1 changed files with 2 additions and 0 deletions
|
@ -869,6 +869,7 @@ gst_dvdec_change_state (GstElement *element)
|
|||
case GST_STATE_READY_TO_NULL:
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -903,6 +904,7 @@ gst_dvdec_set_property (GObject *object, guint prop_id, const GValue *value, GPa
|
|||
dvdec->quality = g_value_get_flags (value);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue