summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_signals_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/emotion/emotion_signals_example.c')
-rw-r--r--src/examples/emotion/emotion_signals_example.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/examples/emotion/emotion_signals_example.c b/src/examples/emotion/emotion_signals_example.c
index 76d6800..5864802 100644
--- a/src/examples/emotion/emotion_signals_example.c
+++ b/src/examples/emotion/emotion_signals_example.c
@@ -58,7 +58,7 @@ static void
58_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev) 58_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
59{ 59{
60 printf(">>> Emotion object first position update.\n"); 60 printf(">>> Emotion object first position update.\n");
61 efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL); 61 efl_event_callback_del(ev->object, EFL_CANVAS_VIDEO_EVENT_POSITION_CHANGE, _position_update_cb, NULL);
62 _display_info(ev->object); 62 _display_info(ev->object);
63} 63}
64 64
@@ -66,7 +66,7 @@ static void
66_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev) 66_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev)
67{ 67{
68 printf(">>> Emotion object first frame decode.\n"); 68 printf(">>> Emotion object first frame decode.\n");
69 efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL); 69 efl_event_callback_del(ev->object, EFL_CANVAS_VIDEO_EVENT_FRAME_DECODE, _frame_decode_cb, NULL);
70 _display_info(ev->object); 70 _display_info(ev->object);
71} 71}
72 72
@@ -85,13 +85,13 @@ _frame_resize_cb(void *data EINA_UNUSED, const Efl_Event *ev)
85} 85}
86 86
87EFL_CALLBACKS_ARRAY_DEFINE(emotion_object_example_callbacks, 87EFL_CALLBACKS_ARRAY_DEFINE(emotion_object_example_callbacks,
88 { EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb }, 88 { EFL_CANVAS_VIDEO_EVENT_PLAYBACK_START, _playback_started_cb },
89 { EMOTION_OBJECT_EVENT_PLAYBACK_FINISHED, _playback_finished_cb }, 89 { EFL_CANVAS_VIDEO_EVENT_PLAYBACK_STOP, _playback_finished_cb },
90 { EMOTION_OBJECT_EVENT_OPEN_DONE, _open_done_cb }, 90 { EFL_CANVAS_VIDEO_EVENT_OPEN_DONE, _open_done_cb },
91 { EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb }, 91 { EFL_CANVAS_VIDEO_EVENT_POSITION_CHANGE, _position_update_cb },
92 { EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb }, 92 { EFL_CANVAS_VIDEO_EVENT_FRAME_DECODE, _frame_decode_cb },
93 { EMOTION_OBJECT_EVENT_DECODE_STOP, _decode_stop_cb }, 93 { EFL_CANVAS_VIDEO_EVENT_PLAYBACK_STOP, _decode_stop_cb },
94 { EMOTION_OBJECT_EVENT_FRAME_RESIZE, _frame_resize_cb }); 94 { EFL_CANVAS_VIDEO_EVENT_FRAME_RESIZE, _frame_resize_cb });
95 95
96int 96int
97main(int argc, const char *argv[]) 97main(int argc, const char *argv[])