Commit 9ea4aec7 authored by Ronald S. Bultje's avatar Ronald S. Bultje

ext/: Gcc4 fixes.

Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_make_clut_change_event):
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_structure_to_hermes_format):
* ext/libmms/gstmms.c: (gst_mms_get):
* ext/shout/gstshout.h:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_change_state):
Gcc4 fixes.
parent 6512a163
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_make_clut_change_event):
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_structure_to_hermes_format):
* ext/libmms/gstmms.c: (gst_mms_get):
* ext/shout/gstshout.h:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_change_state):
Gcc4 fixes.
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
......
......@@ -329,9 +329,9 @@ static void
gst_hermes_colorspace_structure_to_hermes_format (HermesFormat * format,
GstStructure * structure)
{
gst_structure_get_int (structure, "red_mask", &format->r);
gst_structure_get_int (structure, "green_mask", &format->g);
gst_structure_get_int (structure, "blue_mask", &format->b);
gst_structure_get_int (structure, "red_mask", (gint *) & format->r);
gst_structure_get_int (structure, "green_mask", (gint *) & format->g);
gst_structure_get_int (structure, "blue_mask", (gint *) & format->b);
format->a = 0;
gst_structure_get_int (structure, "bpp", &format->bits);
format->indexed = 0;
......
......@@ -265,7 +265,8 @@ gst_mms_get (GstPad * pad)
GST_BUFFER_SIZE (buf) = 0;
GST_DEBUG ("reading %d bytes", mmssrc->blocksize);
result = mms_read (NULL, mmssrc->connection, data, mmssrc->blocksize);
result =
mms_read (NULL, mmssrc->connection, (char *) data, mmssrc->blocksize);
GST_BUFFER_OFFSET (buf) = mms_get_current_pos (mmssrc->connection) - result;
GST_BUFFER_SIZE (buf) = result;
......
......@@ -34,7 +34,7 @@ typedef struct _GstIcecastSend GstIcecastSend;
struct _GstIcecastSend {
GstElement element;
GstPad *sinkpad,*srcpad;
GstPad *sinkpad, *srcpad;
shout_conn_t conn;
......
......@@ -480,7 +480,7 @@ gst_xvidenc_change_state (GstElement * element)
{
GstXvidEnc *xvidenc = GST_XVIDENC (element);
switch (GST_STATE_PENDING (element)) {
switch (GST_STATE_TRANSITION (element)) {
case GST_STATE_PAUSED_TO_READY:
if (xvidenc->handle) {
xvid_encore (xvidenc->handle, XVID_ENC_DESTROY, NULL, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment