ttml: Hide behind --enable-experimental

The elements are autoplugged and currently assert on invalid streams.
This commit is contained in:
Sebastian Dröge 2016-11-16 18:50:53 +02:00
parent b957c336e5
commit c7192f0450

View File

@ -2497,11 +2497,13 @@ AG_GST_CHECK_FEATURE(DTLS, [DTLS plugin], dtls, [
dnl *** ttml *** dnl *** ttml ***
translit(dnm, m, l) AM_CONDITIONAL(USE_TTML, true) translit(dnm, m, l) AM_CONDITIONAL(USE_TTML, true)
AG_GST_CHECK_FEATURE(TTML, [TTML plugin], ttml, [ AG_GST_CHECK_FEATURE(TTML, [TTML plugin], ttml, [
PKG_CHECK_MODULES(TTML, [ libxml-2.0 >= 2.9.2 pango cairo pangocairo ], [ if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
HAVE_TTML="yes" PKG_CHECK_MODULES(TTML, [ libxml-2.0 >= 2.9.2 pango cairo pangocairo ], [
], [ HAVE_TTML="yes"
HAVE_TTML="no" ], [
]) HAVE_TTML="no"
])
fi
]) ])
dnl *** linsys *** dnl *** linsys ***