summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/xvid/gstxvidenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index db9d1add..aa129bc4 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -434,7 +434,7 @@ gst_xvidenc_set_property (GObject * object,
xvidenc->bitrate = g_value_get_int (value);
break;
case ARG_BUFSIZE:
- xvidenc->buffer_size = g_value_get_int (value);
+ xvidenc->buffer_size = g_value_get_ulong (value);
break;
case ARG_MAXKEYINTERVAL:
xvidenc->max_key_interval = g_value_get_int (value);
@@ -464,7 +464,7 @@ gst_xvidenc_get_property (GObject * object,
g_value_set_int (value, xvidenc->bitrate);
break;
case ARG_BUFSIZE:
- g_value_set_int (value, xvidenc->buffer_size);
+ g_value_set_ulong (value, xvidenc->buffer_size);
break;
case ARG_MAXKEYINTERVAL:
g_value_set_int (value, xvidenc->max_key_interval);