| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
|
|
|
|
|
| |
Quite useful for debugging.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes commandline parsing on Cygwin (on 64 bit, and on very recent
32 bit), where the configure check does find the CommandLineToArgvW
function (since it exists in the link libraries and in the headers),
but whose GetCommandLineW() only returns the application's path.
(This is due to a cygwin internal optimization, see
http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.)
Arguments are only given through main's argc/argv, and they're already
UTF-8.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
|
|
| |
Some C runtime implementations deadlock when calling threading functions
on the atexit() handler.
Use a simpler wrapper similar to av_log to call the cleanup function
before exit.
Bug-Id: 523
|
|
|
|
| |
Mostly based on libavcodec's
|
| |
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
| |
|
|
|
|
| |
It will be useful outside of avprobe.
|
|
|
|
| |
Removes an arbitrary hardcoded limit on the number of filters.
|
|
|
|
| |
I.e. input options to output files or vice versa.
|
|
|
|
| |
Remove now unused cmdutils get_buffer() implementation.
|
|
|
|
|
|
| |
Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
| |
In this case, no encoder specific options are filtered, only
options specific to that codec type in general.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
avprobe and avserver use cmdutils and do not strictly require libavresample.
|
| |
|
|
|
|
|
| |
There may be more decoders that rely on this. Those should be found and
fixed.
|
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org
|
|
|
|
| |
CC:libav-stable@libav.org
|
|
|
|
|
|
| |
The bottom line was invalid before.
CC:libav-stable@libav.org
|
|
|
|
|
| |
It's not relying on get_buffer() initializing the frame since
99e36ddd3ee57c38e6ca9e240ba518848487f849.
|
|
|
|
|
| |
Setting it to zero (instead of 128, as the default get_buffer() does)
also produces more correctly-looking output.
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
| |
This makes the code simpler and avoids mixing designated and
non-designated initializers in a potentially unsafe way in avconv.
|
|
|
|
| |
It results in spurious errors when using the new preparser.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It splits the commandline into a more convenient internal representation
for further parsing.
This will allow e.g.
- processing global options first independently of their location on the
commandline, eliminating ugly hacks for processing e.g. cpuflags
first
- better options validation and error reporting. It is now possible for
the parser to know that it's applying an input option to an output
file or vice versa and act accordingly.
|
|
|
|
|
|
| |
Separate the code that searches for the option to use and the code that
actually writes it. The writing code will be reused by the new options
parser.
|
|
|
|
|
| |
There is no point in duplicating this code in every get_buffer()
implementation.
|
|
|
|
|
|
|
|
|
| |
This simplifies the condition to avoid hardcoding the systems
where the function exists. This also simplifies support for
newer Windows API subsets where this function doesn't exist,
such as Windows Phone 8 and the "metro" API subset of Windows 8.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
Deprecate avcodec_get_chroma_sub_sample.
|
|
|
|
| |
This fixes compilation with libswscale disabled.
|
|
|
|
|
|
|
| |
Some systems require sys/time.h being explicitly included before
sys/resource.h. The configure check already does this.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
| |
|
|
|
|
| |
Fixes CID732166.
|
| |
|
| |
|
|
|
|
| |
Fixes bug 352.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Don't require every caller to supply them.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
This provides a more precise identification of the compiler used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|