Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* | Anton Khirnov | 2013-05-15 | 1 | -5/+5 |
| | |||||
* | cmdutils: Fix build with lavfi disabled | Anton Khirnov | 2013-04-16 | 1 | -0/+4 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | cmdutils: allow -h filter=<name> to print information about a filter. | Anton Khirnov | 2013-04-11 | 1 | -0/+40 |
| | |||||
* | avtools: move media_type_string() from avprobe to cmdutils. | Anton Khirnov | 2013-04-11 | 1 | -0/+12 |
| | | | | It will be useful outside of avprobe. | ||||
* | lavfi: change the filter registering system to match the other libraries | Anton Khirnov | 2013-04-11 | 1 | -3/+3 |
| | | | | Removes an arbitrary hardcoded limit on the number of filters. | ||||
* | avconv: print an error on applying options of the wrong type. | Anton Khirnov | 2013-03-08 | 1 | -0/+10 |
| | | | | I.e. input options to output files or vice versa. | ||||
* | avplay: switch to new refcounted frames API | Anton Khirnov | 2013-03-08 | 1 | -126/+0 |
| | | | | Remove now unused cmdutils get_buffer() implementation. | ||||
* | Use the avstring.h locale-independent character type functions | Reimar Döffinger | 2013-03-07 | 1 | -1/+1 |
| | | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | cmdutils: Allow calling filter_codec_opts without a set encoder | Martin Storsjö | 2013-02-28 | 1 | -3/+1 |
| | | | | | | | 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> | ||||
* | cmdutils: only use libavresample when it is enabled | Justin Ruggles | 2013-02-25 | 1 | -0/+4 |
| | | | | avprobe and avserver use cmdutils and do not strictly require libavresample. | ||||
* | avconv: pass libavresample options to AVFilterGraph | Justin Ruggles | 2013-02-23 | 1 | -2/+10 |
| | |||||
* | get_buffer(): do not initialize the data. | Anton Khirnov | 2013-02-15 | 1 | -5/+0 |
| | | | | | There may be more decoders that rely on this. Those should be found and fixed. | ||||
* | qtrle: fix the topmost line for 1bit | Kostya Shishkov | 2013-02-06 | 1 | -1/+0 |
| | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> CC:libav-stable@libav.org | ||||
* | fraps: fix off-by one bug for version 1. | Anton Khirnov | 2013-02-06 | 1 | -1/+1 |
| | | | | CC:libav-stable@libav.org | ||||
* | aasc: fix output for msrle compression. | Anton Khirnov | 2013-02-06 | 1 | -1/+1 |
| | | | | | | The bottom line was invalid before. CC:libav-stable@libav.org | ||||
* | cmdutils: remove ansi from the list of broken codecs. | Anton Khirnov | 2013-02-06 | 1 | -1/+1 |
| | | | | | It's not relying on get_buffer() initializing the frame since 99e36ddd3ee57c38e6ca9e240ba518848487f849. | ||||
* | cdgraphics: do not rely on get_buffer() initializing the frame. | Anton Khirnov | 2013-02-06 | 1 | -1/+1 |
| | | | | | Setting it to zero (instead of 128, as the default get_buffer() does) also produces more correctly-looking output. | ||||
* | cmdutils: update copyright year to 2013 | Johan Andersson | 2013-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | cmdutils: pass number of groups to split_commandline(). | Anton Khirnov | 2012-12-19 | 1 | -13/+11 |
| | | | | | This makes the code simpler and avoids mixing designated and non-designated initializers in a potentially unsafe way in avconv. | ||||
* | cmdutils: don't log an error in opt_default(). | Anton Khirnov | 2012-12-18 | 1 | -1/+0 |
| | | | | It results in spurious errors when using the new preparser. | ||||
* | cmdutils: add a commandline pre-parser. | Anton Khirnov | 2012-12-18 | 1 | -0/+241 |
| | | | | | | | | | | | | | 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. | ||||
* | cmdutils: split parse_option(). | Anton Khirnov | 2012-12-18 | 1 | -30/+40 |
| | | | | | | 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. | ||||
* | lavc: set frame properties in ff_get_buffer(). | Anton Khirnov | 2012-12-04 | 1 | -5/+0 |
| | | | | | There is no point in duplicating this code in every get_buffer() implementation. | ||||
* | cmdutils: Use a configure check for enabling CommandLineToArgvW | Martin Storsjö | 2012-11-29 | 1 | -2/+2 |
| | | | | | | | | | 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> | ||||
* | pixdesc: add av_pix_fmt_get_chroma_sub_sample | Luca Barbato | 2012-11-13 | 1 | -1/+3 |
| | | | | Deprecate avcodec_get_chroma_sub_sample. | ||||
* | cmdutils: Conditionally compile libswscale-related bits | Diego Biurrun | 2012-10-29 | 1 | -1/+6 |
| | | | | This fixes compilation with libswscale disabled. | ||||
* | Include sys/time.h before sys/resource.h | Mans Rullgard | 2012-10-23 | 1 | -0/+1 |
| | | | | | | | 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> | ||||
* | tools: do not use av_pix_fmt_descriptors directly. | Anton Khirnov | 2012-10-12 | 1 | -5/+11 |
| | |||||
* | cmdutils_read_file: increment *size after writing the trailing \0 | Janne Grunau | 2012-10-09 | 1 | -1/+1 |
| | | | | Fixes CID732166. | ||||
* | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | 2012-10-08 | 1 | -4/+4 |
| | |||||
* | Use atexit() instead of defining a custom exit_program() interface. | Diego Elio Pettenò | 2012-10-01 | 1 | -7/+7 |
| | |||||
* | cmdutils: avoid setting data pointers to invalid values in alloc_buffer() | Anton Khirnov | 2012-09-15 | 1 | -1/+1 |
| | | | | Fixes bug 352. | ||||
* | avtools: remove the distinction between func_arg and func2_arg. | Anton Khirnov | 2012-08-30 | 1 | -18/+17 |
| | | | | | | 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). | ||||
* | cmdutils: make -codecs print lossy/lossless flags. | Anton Khirnov | 2012-08-30 | 1 | -7/+11 |
| | |||||
* | cmdutils: fix a memleak when specifying an option twice. | Anton Khirnov | 2012-08-24 | 1 | -0/+1 |
| | |||||
* | avconv: split printing "main options" into global and per-file. | Anton Khirnov | 2012-08-19 | 1 | -1/+2 |
| | |||||
* | avtools: add -h demuxer/muxer | Anton Khirnov | 2012-08-19 | 1 | -0/+55 |
| | |||||
* | cmdutils: extend -h to allow printing codec details. | Anton Khirnov | 2012-08-19 | 1 | -1/+119 |
| | |||||
* | cmdutils: change semantics of show_help_options() and document it. | Anton Khirnov | 2012-08-19 | 1 | -13/+16 |
| | | | | | | | | 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. | ||||
* | avtools: move some newlines to show_help_options(). | Anton Khirnov | 2012-08-19 | 1 | -1/+2 |
| | | | | Don't require every caller to supply them. | ||||
* | avtools: fix show_foo() signatures. | Anton Khirnov | 2012-08-19 | 1 | -8/+19 |
| | | | | | show_foo() functions are declared as void show_foo(void), but called as int show_foo(const char*, const char*). | ||||
* | cmdutils: refactor -codecs option. | Anton Khirnov | 2012-08-18 | 1 | -66/+108 |
| | | | | | | | Make it print a list of AVCodecDescriptors. Add new -decoders and -encoders options that print lists of decoders and encoders respectively. | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | Print full compiler identification, not only version number | Mans Rullgard | 2012-07-19 | 1 | -2/+2 |
| | | | | | | This provides a more precise identification of the compiler used. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | cmutils: include shellapi.h on Win32 (for CommandLineToArgvW). | Ronald S. Bultje | 2012-07-07 | 1 | -0/+1 |
| | | | | | | | | | | This is required for CommandLineToArgvW. Normally, shellapi.h is included implicitly by windows.h, but if we define WIN32_LEAN_AND_MEAN (or some of the other earlier headers have included windows.h with that option), windows.h doesn't include this one. Thus explicitly include the headers we really need, for clarity and compatibility. | ||||
* | cmdutils: Pass the actual chosen encoder to filter_codec_opts | Martin Storsjö | 2012-06-30 | 1 | -4/+5 |
| | | | | | | | 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> | ||||
* | avtools: move buffer management code from avconv to cmdutils. | Anton Khirnov | 2012-06-05 | 1 | -0/+130 |
| | | | | It will be used by avplay. | ||||
* | cmdutils: Add fallback case to switch in check_stream_specifier(). | Diego Biurrun | 2012-05-10 | 1 | -0/+2 |
| | | | | | This fixes the warning: cmdutils.c:897: warning: ‘type’ may be used uninitialized in this function | ||||
* | lavfi: add video buffer sink, and use it in avtools | Anton Khirnov | 2012-05-09 | 1 | -68/+0 |
| | | | | | | Also add the public interface libavfilter/buffersink.h. Based on a commit by Stefano Sabatini. | ||||
* | avconv: use libavresample | Justin Ruggles | 2012-04-24 | 1 | -1/+4 |
| |