summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_border_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/emotion/emotion_border_example.c')
-rw-r--r--src/examples/emotion/emotion_border_example.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/examples/emotion/emotion_border_example.c b/src/examples/emotion/emotion_border_example.c
index c3088b7..65bdd98 100644
--- a/src/examples/emotion/emotion_border_example.c
+++ b/src/examples/emotion/emotion_border_example.c
@@ -30,7 +30,7 @@ _create_emotion_object(Evas *e)
30 30
31 emotion_object_init(em, "gstreamer1"); 31 emotion_object_init(em, "gstreamer1");
32 32
33 efl_event_callback_add(em, EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL); 33 efl_event_callback_add(em, EFL_CANVAS_VIDEO_EVENT_PLAYBACK_START, _playback_started_cb, NULL);
34 34
35 return em; 35 return em;
36} 36}
@@ -156,11 +156,11 @@ _canvas_resize_cb(Ecore_Evas *ee)
156} 156}
157 157
158EFL_CALLBACKS_ARRAY_DEFINE(emotion_object_example_callbacks, 158EFL_CALLBACKS_ARRAY_DEFINE(emotion_object_example_callbacks,
159 { EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb }, 159 { EFL_CANVAS_VIDEO_EVENT_FRAME_DECODE, _frame_decode_cb },
160 { EMOTION_OBJECT_EVENT_LENGTH_CHANGE, _length_change_cb }, 160 { EFL_CANVAS_VIDEO_EVENT_LENGTH_CHANGE, _length_change_cb },
161 { EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb }, 161 { EFL_CANVAS_VIDEO_EVENT_POSITION_CHANGE, _position_update_cb },
162 { EMOTION_OBJECT_EVENT_PROGRESS_CHANGE, _progress_change_cb }, 162 { EFL_CANVAS_VIDEO_EVENT_PROGRESS_CHANGE, _progress_change_cb },
163 { EMOTION_OBJECT_EVENT_FRAME_RESIZE, _frame_resize_cb }); 163 { EFL_CANVAS_VIDEO_EVENT_FRAME_RESIZE, _frame_resize_cb });
164 164
165int 165int
166main(int argc, const char *argv[]) 166main(int argc, const char *argv[])