summaryrefslogtreecommitdiff
path: root/m4/emotion_module.m4
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2015-09-21 23:19:17 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-21 23:19:20 +0200
commitafe6f5c3a1adbfc3f1b8ab828021accc55b29341 (patch)
treef1b14483f3e1d7cded2389e82fc6e64960b92ee1 /m4/emotion_module.m4
parent07fbef64371d4d6eaabe2ffad939b1d4b277bd13 (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 '')
-rw-r--r--m4/emotion_module.m414
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],
58 fi 58 fi
59]) 59])
60 60
61
62dnl use: EMOTION_MODULE_DEP_CHECK_LIBVLC(want_static)
63dnl where want_engine = yes or static
64AC_DEFUN([EMOTION_MODULE_DEP_CHECK_LIBVLC],
65[dnl
66 LIBVLC_VER=3.0
67 requirements="libvlc >= ${LIBVLC_VER}"
68 if test "$1" = "static"; then
69 EFL_DEPEND_PKG([EMOTION], [EMOTION_MODULE_LIBVLC], [${requirements}])
70 else
71 PKG_CHECK_MODULES([EMOTION_MODULE_LIBVLC], [${requirements}])
72 fi
73])
74
61dnl use: EMOTION_MODULE_DEP_CHECK_GENERIC(want_static) 75dnl use: EMOTION_MODULE_DEP_CHECK_GENERIC(want_static)
62dnl where want_engine = yes or static 76dnl where want_engine = yes or static
63AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GENERIC], 77AC_DEFUN([EMOTION_MODULE_DEP_CHECK_GENERIC],