summaryrefslogtreecommitdiff
path: root/src/lib/emotion
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/emotion')
-rw-r--r--src/lib/emotion/efl_canvas_video.eo2
-rw-r--r--src/lib/emotion/emotion_smart.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/emotion/efl_canvas_video.eo b/src/lib/emotion/efl_canvas_video.eo
index 3e14920..d8bb286 100644
--- a/src/lib/emotion/efl_canvas_video.eo
+++ b/src/lib/emotion/efl_canvas_video.eo
@@ -58,7 +58,7 @@ class @beta Efl.Canvas.Video extends Efl.Canvas.Group
58 Efl.File.file { set; } 58 Efl.File.file { set; }
59 Efl.File.loaded { get; } 59 Efl.File.loaded { get; }
60 Efl.Player.play { get; set; } 60 Efl.Player.play { get; set; }
61 Efl.Player.pos { get; set; } 61 Efl.Player.playback_position { get; set; }
62 Efl.Player.progress { get; } 62 Efl.Player.progress { get; }
63 Efl.Audio_Control.volume { get; set; } 63 Efl.Audio_Control.volume { get; set; }
64 Efl.Audio_Control.mute { get; set; } 64 Efl.Audio_Control.mute { get; set; }
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 9a30bed..e5183ea 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);