remove emotion_init/shutdown from e_video
this already happens during regular startup
This commit is contained in:
parent
beee048282
commit
357fd48ff8
|
@ -163,7 +163,6 @@ vidimg_video_add(Evas_Object *obj, const char *file)
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
Vidimg *vi;
|
Vidimg *vi;
|
||||||
|
|
||||||
emotion_init();
|
|
||||||
o = emotion_object_add(evas_object_evas_get(obj));
|
o = emotion_object_add(evas_object_evas_get(obj));
|
||||||
if (!emotion_object_init(o, "gstreamer1"))
|
if (!emotion_object_init(o, "gstreamer1"))
|
||||||
{
|
{
|
||||||
|
@ -208,7 +207,6 @@ vidimg_release(Evas_Object *o)
|
||||||
if (vi->offtimer) ecore_timer_del(vi->offtimer);
|
if (vi->offtimer) ecore_timer_del(vi->offtimer);
|
||||||
free(vi);
|
free(vi);
|
||||||
evas_object_del(src);
|
evas_object_del(src);
|
||||||
emotion_shutdown();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue