summaryrefslogtreecommitdiff
path: root/plugins/elements/gstqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elements/gstqueue.c')
-rw-r--r--plugins/elements/gstqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c
index 48d6b55b1..bf67c9838 100644
--- a/plugins/elements/gstqueue.c
+++ b/plugins/elements/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);