summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-24 10:11:26 -0400
committerCedric Bail <cedric.bail@free.fr>2019-09-24 15:23:13 -0700
commit89bee7a11a61d08cc758b061fd2f5e705d1f9029 (patch)
tree57aa57a904d08688cbdf5430862241b26fd91949 /src/examples
parent9b0197e2afbfca7ffa94f09ff5cac8fa9c7fe413 (diff)
efl/player: merge start+stop methods into 'playing' property
this has some overlap with the existing 'play' property which will soon be renamed. the intent here is that there is a property for controlling the 'playing' state and then another property for managing 'pausing' the play state ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10113
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-vg-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/evas/evas-vg-json.c b/src/examples/evas/evas-vg-json.c
index 7447373711..248dcb1054 100644
--- a/src/examples/evas/evas-vg-json.c
+++ b/src/examples/evas/evas-vg-json.c
@@ -124,7 +124,7 @@ main(void)
124 Eo *player = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, evas); 124 Eo *player = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS, evas);
125 efl_animation_player_animation_set(player, anim); 125 efl_animation_player_animation_set(player, anim);
126 efl_event_callback_add(player, EFL_ANIMATION_PLAYER_EVENT_RUNNING, running_cb, NULL); 126 efl_event_callback_add(player, EFL_ANIMATION_PLAYER_EVENT_RUNNING, running_cb, NULL);
127 efl_player_start(player); 127 efl_player_playing_set(player, EINA_TRUE);
128 128
129 ecore_main_loop_begin(); 129 ecore_main_loop_begin();
130 ecore_evas_shutdown(); 130 ecore_evas_shutdown();