mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
celt: Remove support for celt < 0.5
celt 0.5 was released more than a year ago and the bitstream is incompatible with the current one anyway.
This commit is contained in:
parent
3018802bda
commit
ab439a95bb
2 changed files with 2 additions and 15 deletions
11
configure.ac
11
configure.ac
|
@ -573,15 +573,8 @@ AG_GST_CHECK_FEATURE(CDAUDIO, [cdaudio], cdaudio, [
|
||||||
dnl *** celt ***
|
dnl *** celt ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_CELT, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_CELT, true)
|
||||||
AG_GST_CHECK_FEATURE(CELT, [celt], celt, [
|
AG_GST_CHECK_FEATURE(CELT, [celt], celt, [
|
||||||
PKG_CHECK_MODULES(CELT, celt >= 0.4.0, [
|
PKG_CHECK_MODULES(CELT, celt >= 0.5.0, [
|
||||||
HAVE_CELT="yes"
|
AC_DEFINE([HAVE_CELT], 1, [Define if libcelt 0.5 is installed])
|
||||||
], [
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
HAVE_CELT="no"
|
|
||||||
])
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(CELT_0_5, celt >= 0.5.0, [
|
|
||||||
AC_DEFINE([HAVE_CELT_0_5], 1, [Define if libcelt 0.5 is installed])
|
|
||||||
], [
|
], [
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
])
|
])
|
||||||
|
|
|
@ -798,15 +798,9 @@ gst_celt_enc_encode (GstCeltEnc * enc, gboolean flush)
|
||||||
celt_encode (enc->state, data, frame_size,
|
celt_encode (enc->state, data, frame_size,
|
||||||
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
||||||
#else
|
#else
|
||||||
#ifdef HAVE_CELT_0_5
|
|
||||||
outsize =
|
outsize =
|
||||||
celt_encode (enc->state, data, NULL,
|
celt_encode (enc->state, data, NULL,
|
||||||
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
||||||
#else
|
|
||||||
outsize =
|
|
||||||
celt_encode (enc->state, data,
|
|
||||||
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
g_free (data);
|
g_free (data);
|
||||||
|
|
Loading…
Reference in a new issue