summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* lavfi: better channel layout negotiationJustin Ruggles2012-07-27
| | | | | | | Allow substitution of channel pairs in the input for nearby channel pairs in the output in order to get a closer match. Also weigh LFE channel mismatch differently to favor matching the same layout without LFE over one less channel with LFE.
* vf_yadif: unset cur_buf on the input link.Anton Khirnov2012-07-26
| | | | | | | The buffer is stored internally, so this prevents it from being unreffed automatically. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_overlay: ensure the overlay frame does not get leaked.Anton Khirnov2012-07-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vf_overlay: prevent premature freeing of cur_bufMichael Niedermayer2012-07-26
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avfilter: Fix printf format string conversion specifierDiego Biurrun2012-07-25
| | | | libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat]
* lavfi: place x86 inline assembly under HAVE_INLINE_ASM.Ronald S. Bultje2012-07-22
| | | | | This allows compiling this code using compilers that do not understand gcc-style inline assembly.
* buffersrc: check ff_get_audio_buffer() for errors.Anton Khirnov2012-07-22
|
* lavfi: check all ff_get_video_buffer() calls for errors.Anton Khirnov2012-07-22
|
* lavfi: check all avfilter_ref_buffer() calls for errors.Anton Khirnov2012-07-22
|
* vf_select: avoid an unnecessary avfilter_ref_buffer().Anton Khirnov2012-07-22
|
* buffersrc: avoid creating unnecessary buffer referenceAnton Khirnov2012-07-22
|
* lavfi: use avfilter_unref_bufferp() where appropriate.Anton Khirnov2012-07-22
|
* vf_fps: add more error checks.Anton Khirnov2012-07-22
|
* vf_fps: fix a memleak on malloc failure.Anton Khirnov2012-07-22
|
* lavfi: check all ff_start_frame/draw_slice/end_frame calls for errorsAnton Khirnov2012-07-22
|
* lavfi: add error handling to end_frame().Anton Khirnov2012-07-22
|
* lavfi: add error handling to draw_slice().Anton Khirnov2012-07-22
|
* lavfi: add error handling to start_frame().Anton Khirnov2012-07-22
|
* yadif: use emms_c() instead of inline assembly for emms invocations.Ronald S. Bultje2012-07-21
|
* lavfi: use const for AVFilterPad declarations in all filters.Ronald S. Bultje2012-07-21
|
* lavfi: unref AVFilterLink.out_buf in ff_end_frame().Anton Khirnov2012-07-20
| | | | | This reduces code duplication and prevents stale pointers from remaining on the link.
* lavfi: unref AVFilterLink.cur_buf in ff_end_frame().Anton Khirnov2012-07-20
| | | | | This reduces code duplication and prevents stale pointers from remaining on the link.
* vsrc_testsrc: avoid an unnecessary avfilter_ref_buffer().Anton Khirnov2012-07-20
|
* vf_slicify: clear AVFilterLink.cur_buf in start_frame().Anton Khirnov2012-07-20
| | | | | The buffer is passed on to the next filter, so we shouldn't keep any pointers to it.
* vf_settb: simplify start_frame().Anton Khirnov2012-07-20
| | | | | Avoid pointless filter ref/unref. Just use the reference passed to start_frame().
* vf_fieldorder: don't give up its own reference to the output buffer.Anton Khirnov2012-07-20
|
* vf_pad: don't give up its own reference to the output buffer.Anton Khirnov2012-07-20
|
* vf_overlay: don't access a buffer reference that's been given away.Anton Khirnov2012-07-20
|
* vf_drawtext: don't give up its own reference to the input buffer.Anton Khirnov2012-07-20
| | | | | | Directly forwarding the input buffer to the next filter means that drawtext no longer owns any references to it and thus shouldn't refer to it in any way.
* vf_gradfun: don't store two pointers to one AVFilterBufferRef.Anton Khirnov2012-07-20
|
* vf_delogo: don't store two pointers to one AVFilterBufferRef.Anton Khirnov2012-07-20
|
* vf_aspect: clear AVFilterLink.cur_buf in start_frame().Anton Khirnov2012-07-20
| | | | | The buffer is passed on to the next filter, so we shouldn't keep any pointers to it.
* lavfi: add avfilter_unref_bufferp()Robert Nagy2012-07-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add error handling to filter_samples().Anton Khirnov2012-07-09
|
* asplit: don't leak the input buffer.Anton Khirnov2012-07-09
|
* af_resample: fix request_frame() behavior.Anton Khirnov2012-07-09
| | | | | Make sure that an output frame has really been produced before returning 0.
* af_asyncts: fix request_frame() behavior.Anton Khirnov2012-07-09
| | | | | Make sure that an output frame has really been produced before returning 0.
* lavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample formatJustin Ruggles2012-07-08
| | | | Also make this the default value.
* af_amix: avoid spurious EAGAIN.Anton Khirnov2012-07-06
| | | | | | | | | | Input on/off state can change in request_samples(), which can result in a state where only the first input is active. get_available_samples() will then return 0, and request_frame() will fail with EAGAIN even though there is data on the single active input. Take this into account and check the number of active inputs again after calling request_samples().
* af_amix: return AVERROR(EAGAIN) when request_frame didn't produce output.Anton Khirnov2012-07-06
| | | | 0 should only be returned when there was at least one output frame.
* af_amix: only consider negative return codes as errors.Anton Khirnov2012-07-06
|
* lavfi: reclassify showfiltfmts as a TESTPROGMans Rullgard2012-07-04
| | | | | | | | This tool uses lavfi internal symbols not accessible in shared libraries. TESTPROGS are linked statically to allow them use of library internals not normally exported. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Clarify Doxygen comment for FF_API_* #defines.Diego Biurrun2012-07-04
|
* cosmetics: Consistently use C-style comments with multiple inclusion guardsDiego Biurrun2012-07-03
|
* misc typo and wording fixesDiego Biurrun2012-07-03
|
* x86: lavfi: fix gradfun/yadif build with mmx/sse disabledMans Rullgard2012-07-03
| | | | | | | These functions are defined conditionally so any uses need to have preprocessor guards. Signed-off-by: Mans Rullgard <mans@mansr.com>
* vf_yadif: move x86 init code to x86/yadif.cMans Rullgard2012-07-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vf_gradfun: move x86 init code to x86/gradfun.cMans Rullgard2012-07-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avfiltergraph: shut up uninitialized variable warning.Anton Khirnov2012-06-26
| | | | | | The warning silenced was: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:500:13: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized]
* af_join: initialize a variable to shut up gcc warning.Anton Khirnov2012-06-26
| | | | | | The warning silenced was: libavfilter/af_join.c: In function ‘join_request_frame’: libavfilter/af_join.c:451:9: warning: ‘nb_samples’ may be used uninitialized in this function [-Wuninitialized]