[gst-cvs] gst-plugins-gl: Cast to a GstBuffer* before passing to gst_buffer_unref to fix compiler warning
Sebastian Dröge
slomo at kemper.freedesktop.org
Mon May 4 02:24:54 PDT 2009
Module: gst-plugins-gl
Branch: master
Commit: a3699de34716bc12706f74ebb71d5739f1dfb65e
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=a3699de34716bc12706f74ebb71d5739f1dfb65e
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Mon May 4 11:24:30 2009 +0200
Cast to a GstBuffer* before passing to gst_buffer_unref to fix compiler warning
---
tests/examples/clutter/cluttershare.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/examples/clutter/cluttershare.c b/tests/examples/clutter/cluttershare.c
index 145d71d..241df2b 100644
--- a/tests/examples/clutter/cluttershare.c
+++ b/tests/examples/clutter/cluttershare.c
@@ -155,7 +155,7 @@ on_gst_buffer (GstElement * element, GstBuffer * buf, GstPad * pad,
queue_output_buf = g_object_get_data (G_OBJECT (texture_actor), "queue_output_buf");
if (g_queue_get_length (queue_output_buf) > 2) {
GstGLBuffer *gst_gl_buf_old = g_queue_pop_head (queue_output_buf);
- gst_buffer_unref (gst_gl_buf_old);
+ gst_buffer_unref (GST_BUFFER_CAST (gst_gl_buf_old));
}
/* release clutter lock */
More information about the Gstreamer-commits
mailing list