(sd->img, sd->cur_frame, 0);
if (sd->frame_duration > 0)
- ecore_timer_interval_set(sd->anim_timer, sd->frame_duration * sd->playback_speed);
+ ecore_timer_interval_set(sd->anim_timer, sd->frame_duration / sd->playback_speed);
return ECORE_CALLBACK_RENEW;
}
evas_object_image_animated_frame_set(sd->img, sd->cur_frame);
if (!sd->paused)//legacy
sd->anim_timer = ecore_timer_add
- (sd->frame_duration * sd->playback_speed, _efl_ui_image_animate_cb, obj);
+ (sd->frame_duration / sd->playback_speed, _efl_ui_image_animate_cb, obj);
}
else
{
efl_player_playback_speed_set(sd->img, factor);
else if (sd->anim_timer)
{
- ecore_timer_interval_set(sd->anim_timer, sd->frame_duration * sd->playback_speed);
+ ecore_timer_interval_set(sd->anim_timer, sd->frame_duration / sd->playback_speed);
ecore_timer_reset(sd->anim_timer);
}
}
if (!paused)
{
sd->anim_timer = ecore_timer_add
- (sd->frame_duration * sd->playback_speed, _efl_ui_image_animate_cb, obj);
+ (sd->frame_duration / sd->playback_speed, _efl_ui_image_animate_cb, obj);
}
else
{
(sd->img, sd->cur_frame, 0);
if (sd->frame_duration > 0)
- ecore_timer_interval_set(sd->anim_timer, sd->frame_duration * sd->playback_speed);
+ ecore_timer_interval_set(sd->anim_timer, sd->frame_duration / sd->playback_speed);
return ECORE_CALLBACK_RENEW;
}
evas_object_image_animated_frame_set(sd->img, sd->cur_frame);
if (!sd->paused)//legacy
sd->anim_timer = ecore_timer_add
- (sd->frame_duration * sd->playback_speed, _efl_ui_image_zoomable_animate_cb, obj);
+ (sd->frame_duration / sd->playback_speed, _efl_ui_image_zoomable_animate_cb, obj);
}
else
{
if (!paused)
{
sd->anim_timer = ecore_timer_add
- (sd->frame_duration * sd->playback_speed, _efl_ui_image_zoomable_animate_cb, obj);
+ (sd->frame_duration / sd->playback_speed, _efl_ui_image_zoomable_animate_cb, obj);
}
else
{
efl_player_playback_speed_set(sd->edje, factor);
else if (sd->anim_timer)
{
- ecore_timer_interval_set(sd->anim_timer, sd->frame_duration * sd->playback_speed);
+ ecore_timer_interval_set(sd->anim_timer, sd->frame_duration / sd->playback_speed);
ecore_timer_reset(sd->anim_timer);
}
}