| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
|
|
|
|
| |
Also, drop the now unused cmdutils_read_file(). There is no reason to
have two functions doing essentially the same thing.
|
|
|
|
|
|
|
|
| |
This returns something like "v12_dev0-1332-g333a27c". This is much more
useful than the individual library versions, of which there are too
many, and which are very hard to map back to releases or git commits.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
|
|
|
|
| |
And deprecate av_dlog macro.
|
|
|
|
|
| |
It drops everything that cannot be used for re-encoding and/or
streamcopy.
|
|
|
|
| |
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
|
|
|
|
| |
CC: libav-stable@libav.org
Bug-Id: CID 703706
|
|
|
|
|
|
|
| |
The OptionDef arrays are terminated with a { NULL } element not NULL.
CC: libav-stable@libav.org
Bug-Id: CID 703769
|
|
|
|
| |
Also avoid an unused variable warning for compilers w/o av_unused support.
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
| |
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
| |
|
|
|
|
| |
Quite useful to select by pid in MPEG-TS.
|
|
|
|
| |
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.
|
| |
|