mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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 ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_CELT, true)
|
||||
AG_GST_CHECK_FEATURE(CELT, [celt], celt, [
|
||||
PKG_CHECK_MODULES(CELT, celt >= 0.4.0, [
|
||||
HAVE_CELT="yes"
|
||||
], [
|
||||
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])
|
||||
PKG_CHECK_MODULES(CELT, celt >= 0.5.0, [
|
||||
AC_DEFINE([HAVE_CELT], 1, [Define if libcelt 0.5 is installed])
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
|
|
@ -798,15 +798,9 @@ gst_celt_enc_encode (GstCeltEnc * enc, gboolean flush)
|
|||
celt_encode (enc->state, data, frame_size,
|
||||
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
||||
#else
|
||||
#ifdef HAVE_CELT_0_5
|
||||
outsize =
|
||||
celt_encode (enc->state, data, NULL,
|
||||
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
||||
#else
|
||||
outsize =
|
||||
celt_encode (enc->state, data,
|
||||
GST_BUFFER_DATA (outbuf), bytes_per_packet);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
g_free (data);
|
||||
|
|
Loading…
Reference in a new issue