summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-24 10:02:54 -0400
committerCedric Bail <cedric.bail@free.fr>2019-09-24 15:23:11 -0700
commit9b0197e2afbfca7ffa94f09ff5cac8fa9c7fe413 (patch)
treea9106b759181da477e35608510b93401ba1c8c24 /src/lib/emotion/emotion_smart.c
parent5c2ea620a18cea0d02fe5ae3315913448828e77e (diff)
efl/player: pos -> playback_position
ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10112
Diffstat (limited to '')
-rw-r--r--src/lib/emotion/emotion_smart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 9a30bede6d..e5183ea1ea 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -682,11 +682,11 @@ _efl_canvas_video_efl_player_play_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Vide
682EAPI void 682EAPI void
683emotion_object_position_set(Evas_Object *obj, double sec) 683emotion_object_position_set(Evas_Object *obj, double sec)
684{ 684{
685 efl_player_pos_set(obj, sec); 685 efl_player_playback_position_set(obj, sec);
686} 686}
687 687
688EOLIAN static void 688EOLIAN static void
689_efl_canvas_video_efl_player_pos_set(Eo *obj, Efl_Canvas_Video_Data *sd, double sec) 689_efl_canvas_video_efl_player_playback_position_set(Eo *obj, Efl_Canvas_Video_Data *sd, double sec)
690{ 690{
691 DBG("sec=%f", sec); 691 DBG("sec=%f", sec);
692 if (!sd->engine_instance) return; 692 if (!sd->engine_instance) return;
@@ -707,11 +707,11 @@ _efl_canvas_video_efl_player_pos_set(Eo *obj, Efl_Canvas_Video_Data *sd, double
707EAPI double 707EAPI double
708emotion_object_position_get(const Evas_Object *obj) 708emotion_object_position_get(const Evas_Object *obj)
709{ 709{
710 return efl_player_pos_get(obj); 710 return efl_player_playback_position_get(obj);
711} 711}
712 712
713EOLIAN static double 713EOLIAN static double
714_efl_canvas_video_efl_player_pos_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) 714_efl_canvas_video_efl_player_playback_position_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd)
715{ 715{
716 if (!sd->engine_instance) return 0.0; 716 if (!sd->engine_instance) return 0.0;
717 sd->pos = emotion_engine_instance_pos_get(sd->engine_instance); 717 sd->pos = emotion_engine_instance_pos_get(sd->engine_instance);