Anton Khirnov
1dc4205018
lavfi: check all avfilter_ref_buffer() calls for errors.
13 years ago
Anton Khirnov
d4f89906e3
lavfi: add error handling to end_frame().
13 years ago
Anton Khirnov
e9b992d035
lavfi: add error handling to draw_slice().
13 years ago
Anton Khirnov
ebc8d97481
lavfi: add error handling to start_frame().
13 years ago
Ronald S. Bultje
3db407038e
lavfi: use const for AVFilterPad declarations in all filters.
13 years ago
Anton Khirnov
07bad27810
lavfi: unref AVFilterLink.cur_buf in ff_end_frame().
...
This reduces code duplication and prevents stale pointers from remaining
on the link.
13 years ago
Anton Khirnov
cd99146253
lavfi: add error handling to filter_samples().
13 years ago
Anton Khirnov
083d0f6be8
asplit: don't leak the input buffer.
13 years ago
Anton Khirnov
a5e8c41c28
lavfi: remove 'opaque' parameter from AVFilter.init()
...
It is not used in any filters currently and is inherently evil. If
passing binary data to filters is required in the future, it should be
done with some AVOptions-based system.
13 years ago
Stefano Sabatini
93bbe53c44
lavfi/asplit: fix memleak
...
The input samples buffer must be unreferenced after it is propagated to
the output links.
13 years ago
Stefano Sabatini
e20530add7
lavfi/split: give a more accurate description to split
...
The filter now supports a configurable number of outputs.
13 years ago
Anton Khirnov
9baeff9506
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
...
This is more consistent with naming in the rest of Libav.
13 years ago
Anton Khirnov
803391f719
lavfi: remove request/poll and drawing functions from public API on next bump
...
They are only useful inside filters and we don't allow user filters for
now.
13 years ago
Anton Khirnov
fa417fcd27
lavfi: make avfilter_insert_pad and pals private on next bump.
...
They are only useful inside filters and we don't allow user filters for
now.
13 years ago
Anton Khirnov
c04c533f62
lavfi: remove avfilter_null_* from public API on next bump.
...
Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.
13 years ago
Justin Ruggles
afeb3590fc
lavfi: add an audio split filter
...
Based on current version of the asplit filter in FFmpeg written by
Stefano Sabatini and others.
13 years ago
Justin Ruggles
cc30080b3f
lavfi: rename vf_split.c to split.c
...
This is in preparation for adding an audio split filter.
13 years ago
Stefano Sabatini
0e82d317eb
lavfi: rename vf_split.c -> f_split.c
...
The file now contains both an audio and a video split filter.
13 years ago
Stefano Sabatini
150227e8ed
lavfi/asplit: move asplit code to vf_split.c, and make it support N outputs
...
The move allows to share the init code already used by split.
13 years ago
Anton Khirnov
fd18ee0ff6
vf_split: support user-specifiable number of outputs.
13 years ago
Reimar Döffinger
5af7daabc4
Mark AVFilterPad[] compound literals as const.
...
GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Bobby Bingham
615baa13e4
lavfi: add split filter from soc.
...
Some fixes by Stefano.
For detailed authorship see SOC repo
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
6f5a145be1
vf_split: give more meaningful names to the output pads
...
Rename "default" -> "output1", "default2" -> output2.
14 years ago
Stefano Sabatini
de1100a00a
vf_split: define draw_slice() before end_frame()
...
Improve logical coherence, fix nit.
14 years ago
Stefano Sabatini
88fc2e411e
vf_split: add description
14 years ago
Stefano Sabatini
7d5297b343
vf_split: fix various nits
14 years ago
Bobby Bingham
a38a00eddf
libavfilter: vf_split from soc.
...
Commited by michael, for detailed authorship see soc repo
14 years ago