Vittorio Giovara
839010aca9
filtfmts-test: Mark filter as const
libavfilter/tests/filtfmts.c:57:18: warning:
assigning to 'AVFilter *' (aka 'struct AVFilter *') from
'const AVFilter *' (aka 'const struct AVFilter *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
8 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
10 years ago
Himangi Saraogi
88d1fb4e3f
filtfmts: Avoid null pointer dereference
11 years ago
Diego Biurrun
072916d903
filtfmts: Replace deprecated uses of AVFilterPad
Also add missing mem.h header for av_freep().
11 years ago
Vittorio Giovara
d23fc8846d
filtfmts: remove unused lavf include
11 years ago
Diego Biurrun
e73996954d
filtfmts-test: Fix use of deprecated API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
12 years ago
Vittorio Giovara
6756d98cec
lavfi: filtfmts: use newer avfilter APIs
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
b01f6041f4
lavfi: rename AVFilterFormats.format_count to nb_formats
This is more consistent with naming in the rest of Libav.
13 years ago
Anton Khirnov
48a5adab62
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
Drop the unused opaque parameter from its signature.
13 years ago
Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
13 years ago
Anton Khirnov
59ee9f78b0
lavfi: do not use av_pix_fmt_descriptors directly.
13 years ago
Mans Rullgard
7c29377b70
lavfi: reclassify showfiltfmts as a TESTPROG
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>
13 years ago
Anton Khirnov
43c7a01e98
lavfi: remove avfilter_default_* 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
Diego Biurrun
ffae713a5b
Fix a bunch of common typos.
14 years ago
Diego Biurrun
4e81b5f517
tools: K&R reformatting cosmetics
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Stefano Sabatini
24de0edbd5
Rename avfilter_destroy() as avfilter_free().
The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
a8542e433e
Set the correct type for the output links.
Originally committed as revision 24810 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
84c0386960
Change avfilter_open() signature, from:
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);
This way it is possible to propagate an error code telling the reason
of the failure.
Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
56e0d112d3
showfiltfmts: destroy filter context before exit
Originally committed as revision 24722 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c61f84bf97
showfiltfmts: set media type of links to that of corresponding pad
Originally committed as revision 24721 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
27971664d3
lavfi-showfiltfmts: print one format per line
Originally committed as revision 24647 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e34d5db595
Add libavfilter 1-input - 1-output regression test, corresponding to the
target regtest-lavfi_pix_fmts.
The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.
Originally committed as revision 23297 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago