use gstreamer1 emotion module now for video as its rather stable
this also fixes T1290
This commit is contained in:
parent
05d6225d76
commit
069a1b169a
|
@ -333,7 +333,7 @@ _e_wid_fprev_preview_video_widgets(E_Widget_Data *wd)
|
|||
|
||||
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));
|
||||
emotion_object_init(o, "vlc");
|
||||
emotion_object_init(o, "gstreamer1");
|
||||
emotion_object_file_set(o, wd->path);
|
||||
emotion_object_play_set(o, EINA_TRUE);
|
||||
evas_object_size_hint_aspect_set(o, EVAS_ASPECT_CONTROL_BOTH, wd->w, wd->h);
|
||||
|
|
|
@ -905,7 +905,7 @@ tw_show_video(Evas_Object *prev, const char *uri)
|
|||
Evas_Object *o;
|
||||
|
||||
o = emotion_object_add(e_livethumb_evas_get(prev));
|
||||
emotion_object_init(o, "vlc");
|
||||
emotion_object_init(o, "gstreamer1");
|
||||
emotion_object_file_set(o, uri);
|
||||
emotion_object_play_set(o, EINA_TRUE);
|
||||
evas_object_smart_callback_add(o, "frame_decode", tw_video_opened_cb, prev);
|
||||
|
|
Loading…
Reference in New Issue