fix video preview slider position setting, still broken with at least ogv files

SVN revision: 77305
This commit is contained in:
Mike Blumenkrantz 2012-10-02 11:46:03 +00:00
parent ee8f7529bc
commit 1b398f6a0c
1 changed files with 2 additions and 2 deletions

View File

@ -161,8 +161,8 @@ _e_wid_fprev_preview_video_position(E_Widget_Data *wd, Evas_Object *obj, void *e
tot = emotion_object_play_length_get(obj);
if (!tot) return;
t = emotion_object_position_get(obj) / emotion_object_play_length_get(obj);
if (t - wd->vid_pct < 0.5) return;
t = emotion_object_position_get(obj) / emotion_object_play_length_get(obj) * 100;
if (t - wd->vid_pct < 1.0) return;
e_widget_slider_value_double_set(wd->o_preview_time, wd->vid_pct = t);
}