summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavfi: Add the af_channelmap audio channel mapping filter.Alex Converse2012-06-22
| | | | Inspired by MPlayer's af_channels filter and SoX's remix effect.
* lavfi: add join audio filter.Anton Khirnov2012-06-22
| | | | It joins multiple input streams into one multi-channel output.
* lavfi: allow audio filters to request a given number of samples.Anton Khirnov2012-06-22
| | | | This makes synchronization simpler for filters with multiple inputs.
* lavfi: support automatically inserting the fifo filter when needed.Anton Khirnov2012-06-22
| | | | This breaks libavfilter ABI.
* lavfi/audio: eliminate ff_default_filter_samples().Anton Khirnov2012-06-22
| | | | | | | | | | | | It currently does the following: 1) get a zeroed audio buffer 2) copy some properties (but not the data) of the input buffer to it 3) pass this buffer to the output filter This looks useless and is indeed not used by any filters, therefore delete it. Make ff_null_filter_samples() (just pass the buffer to the next filter) the new default.
* libspeexenc: add supported sample rates and channel layouts.Anton Khirnov2012-06-22
|
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-22
| | | | | | | This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavu: add av_usleep() functionMans Rullgard2012-06-22
| | | | | | | | | | | | | | | This function implements a delay using the first available of the following functions: - nanosleep() - usleep() - Sleep() (Windows) The conditional #includes in time.c are simplified by including unistd.h and windows.h whenever they are available rather than having these lines triggered by specific functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* utvideo: mark interlaced frames as suchHendrik Leppkes2012-06-22
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* utvideo: Fix interlaced prediction for RGB utvideo.Carl Eugen Hoyos2012-06-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: do not use full path for local headersDiego Biurrun2012-06-22
|
* lavu/file: include unistd.h only when availableMans Rullgard2012-06-21
| | | | | | | | The unistd.h header is only needed for the close() declaration. If this header is not available, the close() declaration may be provided by another header, e.g. io.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: check for unistd.hMans Rullgard2012-06-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* log: include unistd.h only when neededMans Rullgard2012-06-21
| | | | | | | | | The only symbol this file uses from unistd.h is isatty(). By including the header only when this function is used, the file can be built on systems without unistd.h (which presumably also lack isatty). Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: include libavutil/time.h instead of redeclaring av_gettime()Mans Rullgard2012-06-21
| | | | | | This avoids some warnings about redundant declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fix hardcoded tables compililation caused by missing math constantsJanne Grunau2012-06-21
| | | | | | Add -D_XOPEN_SOURCE=600 to host cflags to make the constants in math.h available. Include math.h where necessary and remove redundant M_PI defines.
* lavf: Make codec_tag arrays constantRonald S. Bultje2012-06-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* twinvq: give massive struct a name.Ronald S. Bultje2012-06-21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf, lavu: version bumps and APIchanges for av_gettime() moveMans Rullgard2012-06-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavfi/audio: don't set cur_buf in ff_filter_samples().Anton Khirnov2012-06-21
| | | | | | It's redundant, since the input buffer is passed as a parameter to the filter_samples() callback, and can lead to stale pointers remaining on the link.
* lavfi/fifo: add audio version of the fifo filter.Anton Khirnov2012-06-21
|
* fifo: fix parenthesis placement.Anton Khirnov2012-06-21
|
* lavfi: rename vf_fifo.c -> fifo.cAnton Khirnov2012-06-21
| | | | It will be used for audio too.
* lavc: remove stats_in from AVCodecContext options table.Anton Khirnov2012-06-21
| | | | | | | | | | | | Its documentation states that it is allocated/freed by the caller, but it is declared as an AV_OPT_TYPE_STRING AVOption. Since 367732832faaf1bac4ece37cf7fef8c911e16312 the AVOptions system frees strings automatically. This can be considered an API break, since it won't work when the caller doesn't use av_malloc() to allocate the memory or wants to use the string after closing the codec. Since there is not much value in this field being an AVOption, the best solution is to remove it from the options table.
* MS Screen 1 decoderKostya Shishkov2012-06-20
|
* aacdec: Fix popping channel layouts.Alex Converse2012-06-20
| | | | | 'channel_layout' not 'channels' from the stored configuration should go to AVCodecContext's 'channel_layout'.
* av_gettime: support Win32 without gettimeofday()Mans Rullgard2012-06-20
| | | | | | Based on patch by Ronald S. Bultje. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use av_gettime() in various placesMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move av_gettime() to libavutilMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: use emms_c() from libavutil instead of duplicating itMans Rullgard2012-06-20
|
* mov: fix operator precedence bugRonald S. Bultje2012-06-20
|
* mathematics.h: remove a couple of math definesJanne Grunau2012-06-20
| | | | | | | | While these defines are not defined by the C standard they are standardized as X/Open System Interfaces Extension. We use the appropiate _XOPEN_SOURCE define to make them available. They seem to be available on all FATE configs since the constants are used in files where mathematics.h is not included.
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: remove unnecessary inclusions of unistd.hMans Rullgard2012-06-20
| | | | | | These files do not use anything provided by unistd.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bfin: libswscale: add const where appropriate to fix warningsMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bfin: libswscale: remove unnecessary #includesMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* udp: Properly check for invalid socketsMartin Storsjö2012-06-19
| | | | | | If stdin has been closed, 0 is a valid socket descriptor. Signed-off-by: Martin Storsjö <martin@martin.st>
* tcp: Check the return value from getsockoptMartin Storsjö2012-06-19
| | | | | | | Make sure we actually have an error code in ret, in case getsockopt failed. Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Use av_strerror for getting error messagesMartin Storsjö2012-06-19
| | | | | | | Also use ff_neterrno() instead of errno directly (which doesn't work on windows), for getting the error code. Signed-off-by: Martin Storsjö <martin@martin.st>
* udp: Properly print error from getnameinfoMartin Storsjö2012-06-19
| | | | | | | | getnameinfo doesn't set errno on failure, it returns an error code, which should be handled by gai_strerror instead of the normal strerror. Signed-off-by: Martin Storsjö <martin@martin.st>
* mmst: Use AVUNERROR() to convert error codes to the right range for strerrorMartin Storsjö2012-06-19
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Pass pointers of the right type to get/setsockopt/ioctlsocket on ↵Martin Storsjö2012-06-19
| | | | | | | | windows This avoids warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Reduce the number of idle posts sent by sleeping 50msSamuel Pitoiset2012-06-19
| | | | | | | | | | | | Rtmpt is effectively half duplex - the server can't return any data unless we send a request (to which the server responds). If we don't have any data to send currently, and the server didn't return any data either, wait a little before doing the next request. This avoids busy looping with idle posts with empty replies, while waiting for more data from the server. Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: remove incomplete, disabled seeking codeDiego Biurrun2012-06-19
|
* mem: add support for _aligned_malloc() as found on WindowsRonald S. Bultje2012-06-19
| | | | | | | | The check uses check_func_header, since this function is conditionally available depending on the targeted MSVCRT version. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Extend the documentation for avcodec_init_packetSimon A. Eugster2012-06-19
| | | | | | Add a note that pkt->data and pkt->size must be initialized. Signed-off-by: Martin Storsjö <martin@martin.st>
* flvdec: remove incomplete, disabled seeking codeRonald S. Bultje2012-06-19
|
* http: replace atoll() with strtoll()Ronald S. Bultje2012-06-19
|
* mpegts: remove unused/incomplete/broken seeking codeRonald S. Bultje2012-06-19
|
* af_amix: allow float planar sample format as inputJustin Ruggles2012-06-18
|