[cogl/wip/cogl-gst: 23/27] basic-video-player: Fix the user data pointer for the frame cb
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/cogl-gst: 23/27] basic-video-player: Fix the user data pointer for the frame cb
- Date: Wed, 6 Mar 2013 18:54:20 +0000 (UTC)
commit e393d50917e8be6d653bae919a501fbc767175b1
Author: Neil Roberts <neil linux intel com>
Date: Fri Mar 1 13:02:31 2013 +0000
basic-video-player: Fix the user data pointer for the frame cb
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 files 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]