| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
func2_arg is the same as func_arg, except it has one additional
parameter. Change all func_arg callbacks to take that parameter (and
ignore it).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Currently it takes a mask and value, such that options for which
(flags & mask) == value.
Change it to take required flags and forbidden flags instead. This is
shorter and simpler to understand.
|
|
|
|
|
|
| |
This option does not do anything.
Also remove OPT_GRAB, since -isync is the last option using it.
|
|
|
|
|
| |
show_foo() functions are declared as void show_foo(void), but called as
int show_foo(const char*, const char*).
|
|
|
|
|
|
|
| |
Make it print a list of AVCodecDescriptors.
Add new -decoders and -encoders options that print lists of decoders and
encoders respectively.
|
| |
|
|
|
|
|
|
|
| |
Also use it in the declaration of the various exit_program
implementations in avtools.
inspired by a clang-scan report.
|
|
|
|
|
|
|
| |
This allows passing the right options to encoders when there's more
than one encoder for a certain codec id.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
It will be used by avplay.
|
|
|
|
|
|
| |
Also add the public interface libavfilter/buffersink.h.
Based on a commit by Stefano Sabatini.
|
|
|
|
|
|
|
| |
This way we don't require a clearly defined corresponding input stream.
The result for the xwd test changes because rgb24 is now chosen instead
of bgra.
|
|
|
|
|
|
| |
The preset files have been renamed some time ago.
CC: libav-stable@libav.org
|
|
|
|
| |
Useful for testing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This symbol name clashes with a symbol in gnutls, if linking
statically to that library.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
| |
|
|
|
|
|
| |
This way it can be applied to cmdutils too -- e.g. showing the banner
and printing startup messages.
|
|
|
|
|
| |
Also document it and replace undocumented and inconsistent
'-sample_fmt list' syntax with -sample_fmts.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This allows options like -target, which are just shortcuts for other
options, to work without dummy function for all options they invoke.
|
|
|
|
| |
This is the first step to removing the globals plague from avtools.
|
|
|
|
| |
This will be useful in the following commit.
|
| |
|
|
|
|
| |
Allows cmdutils to call each tool's own cleanup function.
|
| |
|
|
|
|
|
|
| |
Avoid brittle and obfuscating reference to a global.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
| |
|
| |
|
|
|
|
| |
Split them when codec id is known.
|
|
|
|
|
|
| |
It stores options in a dictionary to be passed to new open calls.
It will replace opt_default once all the pieces are in place.
|
|
|
|
|
|
|
|
|
| |
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
|
|
|
| |
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.
|
|
|
|
|
|
| |
inttypes.h is not necessary, just stdint.h is enough.
Unconditionally #include avfilter.h in cmdutils.h. It is an installed
header with no non-standard external dependencies, so it is safe.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The function was only used in opt_sample_fmt() for listing the sample
formats. Move list_fmts() functionality directly into
opt_sample_fmt().
Also fix the warning:
ffmpeg.c: In function ‘opt_audio_sample_fmt’:
ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type
cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
The patch is the first step to support -dcodec copy
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
| |
from ffmpeg.c and ffserver.c.
Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
|
|
|
|
| |
and ffmpeg.c.
Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
|