@fix
Summary:
In emotion_engine_instance_new(), if given module name is wrong or if loding is failed, fallback module loading should be triggered.a (previously, it check just whether name is NULL or not)
In case of T1025, "vlc" was given name. Therefore, fallback was not triggered.
Fixes T1025
Test Plan: enlightenment -> efm -> mouse over multimedia files -> check whether preview is shown properly or not
Reviewers: raster, cedric
CC: seoz, cedric, zmike
Maniphest Tasks: T1025
Differential Revision: https://phab.enlightenment.org/D773
m = _find_mod(name);
if (m) eina_module_load(m);
}
- else
+
+ if (!_emotion_engine_registry)
{
- if (!_emotion_engine_registry)
- {
- m = _find_mod("generic");
- if (!m) m = _find_mod("xine");
- if (!m) m = _find_mod("gstreamer");
- if (!m) m = _find_mod("gstreamer1");
- if (m) eina_module_load(m);
- }
+ m = _find_mod("generic");
+ if (!m) m = _find_mod("xine");
+ if (!m) m = _find_mod("gstreamer");
+ if (!m) m = _find_mod("gstreamer1");
+ if (m) eina_module_load(m);
}
if (name)