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.
This commit is contained in:
Ronald S. Bultje 2004-03-25 02:32:33 +00:00
parent 7f273c980f
commit 7002053d5d
2 changed files with 8 additions and 2 deletions

View file

@ -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),

View file

@ -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);