summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-09-26 21:23:24 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-09-26 21:23:24 +0100
commit2ce7feb3d5e1a0ee1a517aa87a10060924e014ff (patch)
tree5394e4680dd521e4a5dbf150e3042e8107bf8380 /src/lib
parentec527a9026a78ee57ccaff42a46554e6cc39574e (diff)
downloadefl-2ce7feb3d5e1a0ee1a517aa87a10060924e014ff.tar.gz
emotion - properly track subtitle mute state and init emotion obj early
fix setting things on an emotion obj early bu initting engine early and also track spu mute flags to set on pipe later @fix
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/emotion/emotion_smart.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index e8c22e912c..3dc5dd4270 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -242,12 +242,17 @@ emotion_object_add(Evas *evas)
}
EOLIAN static Eo *
-_efl_canvas_video_efl_object_constructor(Eo *obj, Efl_Canvas_Video_Data *pd EINA_UNUSED)
+_efl_canvas_video_efl_object_constructor(Eo *obj, Efl_Canvas_Video_Data *pd)
{
efl_canvas_group_clipped_set(obj, EINA_TRUE);
obj = efl_constructor(efl_super(obj, MY_CLASS));
efl_canvas_object_type_set(obj, E_OBJ_NAME);
+ eina_stringshare_replace(&(pd->engine), "gstreamer1");
+ pd->spu.button = -1;
+ pd->ratio = 1.0;
+ _engine_init(obj, pd);
+
return obj;
}