summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-03-25 02:32:33 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-03-25 02:32:33 +0000
commit7002053d5dde5e245181fd1f3630f9160bd5da81 (patch)
tree1ea145e34f165efd9dc696d4b18648059979f55b
parent7f273c980f1f048b67d9512646b411427fb0b40e (diff)
downloadgst-plugins-bad-7002053d5dde5e245181fd1f3630f9160bd5da81.tar.gz
gst-plugins-bad-7002053d5dde5e245181fd1f3630f9160bd5da81.tar.bz2
gst-plugins-bad-7002053d5dde5e245181fd1f3630f9160bd5da81.zip
ext/xvid/gstxvidenc.c: ulong/int mess-up.
Original commit message from CVS: * ext/xvid/gstxvidenc.c: (gst_xvidenc_set_property), (gst_xvidenc_get_property): ulong/int mess-up.
-rw-r--r--ChangeLog6
-rw-r--r--ext/xvid/gstxvidenc.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index be3b7add..4cf6f8e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-24 Ronald Bultje <rbultje@ronald.bitfreak.net>
+
+ * ext/xvid/gstxvidenc.c: (gst_xvidenc_set_property),
+ (gst_xvidenc_get_property):
+ ulong/int mess-up.
+
2004-03-24 David Schleef <ds@schleef.org>
* ext/speex/gstspeexdec.c: (gst_speexdec_base_init),
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);