fix emotion filepreview backend setting with 1.8

This commit is contained in:
Mike Blumenkrantz 2013-06-17 10:49:58 +01:00
parent 315dbf8409
commit 78e0d3c62e
1 changed files with 4 additions and 0 deletions

View File

@ -312,7 +312,11 @@ _e_wid_fprev_preview_video_widgets(E_Widget_Data *wd)
wd->o_preview_preview = e_widget_preview_add(evas, 4, 4); wd->o_preview_preview = e_widget_preview_add(evas, 4, 4);
em = o = emotion_object_add(e_widget_preview_evas_get(wd->o_preview_preview)); em = o = emotion_object_add(e_widget_preview_evas_get(wd->o_preview_preview));
#if (EMOTION_VERSION_MAJOR > 1) || (EMOTION_VERSION_MINOR >= 8)
emotion_object_init(o, "vlc");
#else
emotion_object_init(o, NULL); emotion_object_init(o, NULL);
#endif
emotion_object_file_set(o, wd->path); emotion_object_file_set(o, wd->path);
emotion_object_play_set(o, EINA_TRUE); emotion_object_play_set(o, EINA_TRUE);
evas_object_size_hint_aspect_set(o, EVAS_ASPECT_CONTROL_BOTH, wd->w, wd->h); evas_object_size_hint_aspect_set(o, EVAS_ASPECT_CONTROL_BOTH, wd->w, wd->h);