summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-24 14:16:13 -0400
committerCedric Bail <cedric.bail@free.fr>2019-09-24 15:23:16 -0700
commitb730443e2dfa8d7092ef51212856c1d7054f0272 (patch)
tree2ee19cbf5140523ce9b23fcb6acb0833c9dfb551 /src/lib/edje/edje_smart.c
parent3d3cdc5955560726f0b9a8cef492274a1f7254a4 (diff)
efl/player: play_speed -> playback_speed
no functional changes ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10115
Diffstat (limited to 'src/lib/edje/edje_smart.c')
-rw-r--r--src/lib/edje/edje_smart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index c0b37db..de2575c 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -588,14 +588,14 @@ _efl_canvas_layout_efl_player_paused_get(const Eo *obj EINA_UNUSED, Edje *ed)
588} 588}
589 589
590EOLIAN void 590EOLIAN void
591_efl_canvas_layout_efl_player_play_speed_set(Eo *obj EINA_UNUSED, Edje *pd , double speed) 591_efl_canvas_layout_efl_player_playback_speed_set(Eo *obj EINA_UNUSED, Edje *pd , double speed)
592{ 592{
593 if (speed <= 0.0) speed = 1.0; 593 if (speed <= 0.0) speed = 1.0;
594 pd->duration_scale = 1.0/speed; 594 pd->duration_scale = 1.0/speed;
595} 595}
596 596
597EOLIAN double 597EOLIAN double
598_efl_canvas_layout_efl_player_play_speed_get(const Eo *obj EINA_UNUSED, Edje *pd) 598_efl_canvas_layout_efl_player_playback_speed_get(const Eo *obj EINA_UNUSED, Edje *pd)
599{ 599{
600 return 1.0/pd->duration_scale; 600 return 1.0/pd->duration_scale;
601} 601}