summaryrefslogtreecommitdiffstats
path: root/sys/glsink
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-05-05 16:23:20 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-05-05 16:23:20 +0000
commit5ea79c29563d2fb55d21a49f4804206a66de5fb5 (patch)
tree7805be2060d219d85c768bfe408d2bee5fa1531d /sys/glsink
parent49f86d3ee6242be6f324edc2cbf36089ff5a2640 (diff)
downloadgst-plugins-bad-5ea79c29563d2fb55d21a49f4804206a66de5fb5.tar.gz
gst-plugins-bad-5ea79c29563d2fb55d21a49f4804206a66de5fb5.tar.bz2
gst-plugins-bad-5ea79c29563d2fb55d21a49f4804206a66de5fb5.zip
More gcc-4.0 fixes.
Original commit message from CVS: * ext/nas/nassink.c: (gst_nassink_init), (gst_nassink_sync_parms), (gst_nassink_sinkconnect), (gst_nassink_chain_handle_event), (gst_nassink_chain): * sys/glsink/glimagesink.c: (gst_glimagesink_buffer_alloc): * sys/v4l/gstv4ltuner.c: (gst_v4l_tuner_signal_strength): * sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_open): * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property): * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): * sys/v4lradio/gstv4lradiotuner.c: (gst_v4lradio_tuner_signal_strength): * sys/ximage/ximagesink.c: (gst_ximagesink_buffer_alloc): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support), (gst_xvimagesink_sink_link), (gst_xvimagesink_buffer_alloc): More gcc-4.0 fixes.
Diffstat (limited to 'sys/glsink')
-rw-r--r--sys/glsink/glimagesink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c
index 73ed7aa6..13549a71 100644
--- a/sys/glsink/glimagesink.c
+++ b/sys/glsink/glimagesink.c
@@ -1137,7 +1137,7 @@ gst_glimagesink_buffer_alloc (GstPad * pad, guint64 offset, guint size)
/* Storing some pointers in the buffer */
GST_BUFFER_PRIVATE (buffer) = ximage;
- GST_BUFFER_DATA (buffer) = ximage->data;
+ GST_BUFFER_DATA (buffer) = (guint8 *) ximage->data;
GST_BUFFER_FREE_DATA_FUNC (buffer) = gst_glimagesink_buffer_free;
GST_BUFFER_SIZE (buffer) = ximage->size;
return buffer;