diff options
author | Thomas Guillem <thomas@gllm.fr> | 2015-09-21 23:19:17 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-09-21 23:19:20 +0200 |
commit | afe6f5c3a1adbfc3f1b8ab828021accc55b29341 (patch) | |
tree | f1b14483f3e1d7cded2389e82fc6e64960b92ee1 /m4 | |
parent | 07fbef64371d4d6eaabe2ffad939b1d4b277bd13 (diff) |
emotion: add libvlc module
Summary:
Everything is implemented except visualization, mouse events and some
EMOTION_EVENT. Video can output RGBA, YUY2, YV12 or I420.
About the video sink: this emotion module use libvlc callbacks:
libvlc_video_set_format_callbacks and libvlc_video_set_callbacks. It may be
temporary. Indeed, an other solution is to add an Evas module inside vlc. But
this vlc module would need to link with emotion in order to use
_emotion_frame_new and _emotion_frame_resize private functions. I didn't
succeed to output a frame without these private functions: see
https://github.com/tguillem/vlc/commit/15daff4d3fdcd3ca7b485c1f8fabb8c1e1c4138c
List of /* FIXME */:
- Visualization not implemented since there is no API (for now) in libvlc.
- Mouse events not implemented since there is no API (for now) in libvlc.
- Some EMOTION_EVENT are not handled.
- SIGSEGV in evas_gl_common_texture_nv12_update with
EVAS_COLORSPACE_YCBCR420NV12601_PL colorspace.
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3071
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/emotion_module.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/emotion_module.m4 b/m4/emotion_module.m4 index 75884e78d4..51ed0da1e3 100644 --- a/m4/emotion_module.m4 +++ b/m4/emotion_module.m4 @@ -58,6 +58,20 @@ AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GSTREAMER1], fi ]) + +dnl use: EMOTION_MODULE_DEP_CHECK_LIBVLC(want_static) +dnl where want_engine = yes or static +AC_DEFUN([EMOTION_MODULE_DEP_CHECK_LIBVLC], +[dnl + LIBVLC_VER=3.0 + requirements="libvlc >= ${LIBVLC_VER}" + if test "$1" = "static"; then + EFL_DEPEND_PKG([EMOTION], [EMOTION_MODULE_LIBVLC], [${requirements}]) + else + PKG_CHECK_MODULES([EMOTION_MODULE_LIBVLC], [${requirements}]) + fi +]) + dnl use: EMOTION_MODULE_DEP_CHECK_GENERIC(want_static) dnl where want_engine = yes or static AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GENERIC], |