mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ARG_METHOD is an enum
Original commit message from CVS: ARG_METHOD is an enum
This commit is contained in:
parent
6c10726435
commit
500cb70149
1 changed files with 2 additions and 2 deletions
|
@ -304,7 +304,7 @@ gst_videoscale_set_property (GObject *object, guint prop_id, const GValue *value
|
|||
src->targetheight = g_value_get_int (value);
|
||||
break;
|
||||
case ARG_METHOD:
|
||||
src->method = g_value_get_int (value);
|
||||
src->method = g_value_get_enum (value);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -328,7 +328,7 @@ gst_videoscale_get_property (GObject *object, guint prop_id, GValue *value, GPar
|
|||
g_value_set_int (value, src->targetheight);
|
||||
break;
|
||||
case ARG_METHOD:
|
||||
g_value_set_int (value, src->method);
|
||||
g_value_set_enum (value, src->method);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue