mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
configure.ac: some docs I had
Original commit message from CVS: * configure.ac: some docs I had * ext/amrnb/amrnbenc.c: (gst_amrnbenc_chain): trivial fixes
This commit is contained in:
parent
3c42e26c1e
commit
2cf904b9f9
3 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac:
|
||||
some docs I had
|
||||
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_chain):
|
||||
trivial fixes
|
||||
|
||||
2005-10-18 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/realmedia/rmdemux.c: (gst_rmdemux_validate_offset),
|
||||
|
|
|
@ -82,6 +82,8 @@ AC_ISC_POSIX
|
|||
|
||||
AC_HEADER_STDC([])
|
||||
AC_C_INLINE
|
||||
|
||||
dnl used by ext/a52dec
|
||||
AX_CREATE_STDINT_H
|
||||
|
||||
dnl Check for malloc.h
|
||||
|
@ -179,10 +181,6 @@ AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
|
|||
dnl Determine endianness
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
dnl Check for fast float to int casting as defined in C99
|
||||
AC_C99_FUNC_LRINT()
|
||||
AC_C99_FUNC_LRINTF()
|
||||
|
||||
dnl Check for essential libraries first:
|
||||
dnl ====================================
|
||||
|
||||
|
|
|
@ -192,6 +192,8 @@ gst_amrnbenc_chain (GstPad * pad, GstBuffer * buffer)
|
|||
|
||||
amrnbenc = GST_AMRNBENC (GST_PAD_PARENT (pad));
|
||||
|
||||
g_return_val_if_fail (amrnbenc->handle, GST_FLOW_WRONG_STATE);
|
||||
|
||||
if (amrnbenc->rate == 0 || amrnbenc->channels == 0)
|
||||
goto not_negotiated;
|
||||
|
||||
|
@ -217,7 +219,7 @@ gst_amrnbenc_chain (GstPad * pad, GstBuffer * buffer)
|
|||
|
||||
data = (guint8 *) gst_adapter_peek (amrnbenc->adapter, 320);
|
||||
|
||||
/* decode */
|
||||
/* encode */
|
||||
outsize = Encoder_Interface_Encode (amrnbenc->handle, MR122, (short *) data,
|
||||
(guint8 *) GST_BUFFER_DATA (out), 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue