[Cogl] [PATCH 6/9] basic-video-player: Fix the user data pointer for the frame cb
Neil Roberts
neil at linux.intel.com
Fri Mar 1 05:31:57 PST 2013
The frame callback was passing a pointer to the pointer to the data
instead of a pointer to the data so it wouldn't do the right thing if
it was used.
---
examples/cogl-basic-video-player.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/cogl-basic-video-player.c b/examples/cogl-basic-video-player.c
index 7b5be41..85897e1 100644
--- a/examples/cogl-basic-video-player.c
+++ b/examples/cogl-basic-video-player.c
@@ -121,8 +121,8 @@ _set_up_pipeline (gpointer instance,
COGL_PIPELINE_FILTER_LINEAR);
}
- cogl_onscreen_add_frame_callback(COGL_ONSCREEN (data->fb), _frame_callback,
- &data, NULL);
+ cogl_onscreen_add_frame_callback (COGL_ONSCREEN (data->fb), _frame_callback,
+ data, NULL);
/*
The cogl-gst-new-frame signal is emitted when the cogl-gst sink has
--
1.7.11.3.g3c3efa5
More information about the Cogl
mailing list