diff options
Diffstat (limited to 'gst/gstqueue.c')
-rw-r--r-- | gst/gstqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstqueue.c b/gst/gstqueue.c index 48d6b55b1..bf67c9838 100644 --- a/gst/gstqueue.c +++ b/gst/gstqueue.c @@ -565,7 +565,7 @@ gst_queue_set_property (GObject *object, guint prop_id, const GValue *value, GPa switch (prop_id) { case ARG_LEAKY: - queue->leaky = g_value_get_int (value); + queue->leaky = g_value_get_enum (value); break; case ARG_MAX_LEVEL: queue->size_buffers = g_value_get_int (value); @@ -591,7 +591,7 @@ gst_queue_get_property (GObject *object, guint prop_id, GValue *value, GParamSpe switch (prop_id) { case ARG_LEAKY: - g_value_set_int (value, queue->leaky); + g_value_set_enum (value, queue->leaky); break; case ARG_LEVEL: g_value_set_int (value, queue->level_buffers); |