summaryrefslogtreecommitdiffstats
path: root/sys/glsink/glimagesink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/glsink/glimagesink.c')
-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;