Commit 683e9ff8 authored by Laurent Aimar's avatar Laurent Aimar

Initial libass support.

parent e8ca58c1
...@@ -3758,6 +3758,27 @@ AS_IF( [test "${enable_csri}" = "yes"], [ ...@@ -3758,6 +3758,27 @@ AS_IF( [test "${enable_csri}" = "yes"], [
]) ])
]) ])
dnl
dnl libass subtitle rendering module
dnl
AC_ARG_ENABLE(libass,
[ --enable-libass Subtitle support using libass (default disabled)])
AS_IF( [test "${enable_libass}" = "yes"], [
PKG_CHECK_MODULES(LIBASS,
libass >= 0.9.5,
[
VLC_ADD_LDFLAGS([libass],[$LIBASS_LIBS])
VLC_ADD_CFLAGS([libass],[$LIBASS_CFLAGS])
VLC_ADD_PLUGIN([libass])
AC_CHECK_HEADERS(fontconfig/fontconfig.h,
[VLC_ADD_CPPFLAGS([libass],[-DHAVE_FONTCONFIG])
VLC_ADD_LIBS([libass],[-lfontconfig])])
],[
AC_MSG_WARN([LIBASS library not found])
])
])
dnl dnl
dnl asa demuxer dnl asa demuxer
dnl dnl
......
...@@ -37,3 +37,4 @@ SOURCES_fluidsynth = fluidsynth.c ...@@ -37,3 +37,4 @@ SOURCES_fluidsynth = fluidsynth.c
SOURCES_cc = cc.c cc.h SOURCES_cc = cc.c cc.h
SOURCES_kate = kate.c SOURCES_kate = kate.c
SOURCES_schroedinger = schroedinger.c SOURCES_schroedinger = schroedinger.c
SOURCES_libass = libass.c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment