summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* lavfi/ashowinfo: check plane value before deferencing.Clément Bœsch2012-09-30
|
* Add missing version macros to librariesjamal2012-09-28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/sink_buffer: implement libav compatibility API.Nicolas George2012-09-27
| | | | | | | | | Implement av_buffersink_read() and av_buffersink_read_samples() for ffmpeg's version of buffersink. With this change, avconv linked against ffmpeg's libraries passes the same number of tests whether it uses ffbuffersink or buffersink_old.
* lavfi: enable buffersinks unconditionally.Nicolas George2012-09-27
| | | | | They are part of the public API. Their libav compatibility counterpart are already enabled unconditionally.
* Merge commit '7751e4693dd10ec98c20fbd9887233b575034272'Michael Niedermayer2012-09-25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7751e4693dd10ec98c20fbd9887233b575034272': ogg: check that the expected number of headers had been parsed libx264: change default to closed gop to match x264cli Use avcodec_free_frame() to free AVFrames. lavf: use a malloced AVFrame in try_decode_frame(). lavc: add avcodec_free_frame(). lavc: ensure extended_data is set properly on decoding lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults() lavc: use av_mallocz to allocate AVFrames. lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults Conflicts: doc/APIchanges doc/examples/decoding_encoding.c libavcodec/utils.c libavcodec/version.h libavfilter/src_movie.c libavformat/oggdec.c libavformat/oggdec.h libavformat/oggparsetheora.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use avcodec_free_frame() to free AVFrames.Anton Khirnov2012-09-24
| |
* | lavfi: add asendcmd and sendcmd filtersStefano Sabatini2012-09-23
| |
* | lavfi/hue: simplify/fix setting logic in set_options()Stefano Sabatini2012-09-23
| | | | | | | | | | | | | | | | | | Parse expression only when a new value is explicitly specified. In particular, avoid double free in case an old expression value is cached, it is set in the context, it is freed as the old value, and finally the pointer stored in the context is freed again when the filter is released.
* | lavfi/buffersink: fix check on pixel_fmts in the opaque parameterAndrew Wason2012-09-22
| | | | | | | | | | | | Fix programmatic selection of accepted pixel formats. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | hqdn3d: Fix out of array read in LOWPASSLoren Merritt2012-09-22
| | | | | | | | | | | | | | Fixes ticket1752 Commit message by commiter Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/hue: set to NULL freed pointersStefano Sabatini2012-09-21
| | | | | | | | Possibly safer.
* | lavfi/hue: fix crash when resetting the saturation expressionStefano Sabatini2012-09-21
| | | | | | | | | | Previously when saturation was reinited, the old value was freed when setting options, and freed again in PARSE_EXPRESSION().
* | vsrc_testsrc: Fix case without a specified durationMichael Niedermayer2012-09-21
| | | | | | | | | | | | Fixes regression since 98f753ec5198d4f74ba9f68cc85badf8a6257547 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/select: make lavc dependency optional.Clément Bœsch2012-09-20
| |
* | lavfi/testsrc: increase precision of the duration parameterStefano Sabatini2012-09-20
| | | | | | | | | | Compute duration in microseconds, rather than in timebase units. Decrease approximation errors.
* | libavfilter/filtfmts: fix argv/argc checksMichael Niedermayer2012-09-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bavfilter/filtfmts: fix type for channel layoutsMichael Niedermayer2012-09-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/select: make sure avctx is set before closing it.Clément Bœsch2012-09-18
| | | | | | | | | | | | This avoid a crash when the filter fails before config_input(), typically with a syntax error in the next filter: select=gt(scene\,.4),select=fail
* | Merge commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521'Michael Niedermayer2012-09-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '23aae62c2cb4504a09ceb8cd0cabc1c8b260f521': alsdec: Check k used for rice decoder. avfiltergraph: silence an uninitialized variable warning xsubenc: reindent lavc: replace AVCodecContext.encode with subtitle-specific callback lavc: add const to private codec class initialization. avconv: don't pass a bogus parameter to avfilter_graph_create_filter(). id3v2: strdup the genre name explicitly. lavf/id3v2: do not export empty fields. buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame() lavfi: replace empty input/output lists with null pointers Conflicts: ffmpeg_filter.c libavcodec/alsdec.c libavcodec/dvdsubenc.c libavcodec/utils.c libavcodec/v210dec.h libavfilter/af_channelsplit.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_ass.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avfiltergraph: silence an uninitialized variable warningAnton Khirnov2012-09-17
| | | | | | | | | | | | | | | | | | | | The warning is: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized] libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here Initialize it to an invalid value and add an assert that it's properly set later.
| * buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()Anton Khirnov2012-09-17
| |
| * lavfi: replace empty input/output lists with null pointersMans Rullgard2012-09-17
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | lavfi/ass: mark ass_libavfilter_log_level_map as static const.Clément Bœsch2012-09-16
| |
* | af_pan: Fix sscanf formats to work with buggy sscanf implementationsHendrik Leppkes2012-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some implementations of sscanf do not handle a space before a trailing %n properly. As an example, MSVC's does this for the second insatnce in this patch, for an input of "0x3:c0=c1:c1=c0": 1) Match the final "c0" or "c1". 2) Realize it's at the end of the string. 3) Check for %n. 4) There is no %n, but a space instead. 5) Leave 'len' unitilialized. So, move it out of the sscanf format strings, and call skip_spaces instead. This bug does not affect skip_spaces since %n is the first and only formatting string. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavfi/hue: add dynamic expression evaluation supportJérémy Tran2012-09-15
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavfi/avcodec: apply cosmetics style fixesStefano Sabatini2012-09-14
| |
* | lavfi: check that buffer and link properties match.Nicolas George2012-09-13
| |
* | lavfi: set sample_rate in the default allocator.Nicolas George2012-09-13
| |
* | lavfi/aresample: set buffer properties after copy.Nicolas George2012-09-13
| | | | | | | | | | | | | | The aresample filter changes the format, layout and/or sample rate, it can not copy them blindly from its input. Related to trac ticket #1671.
* | lavfi/amerge: clarify the error message in case of input overlapStefano Sabatini2012-09-11
| |
* | lavfi/amerge: avoid a forward declaration.Clément Bœsch2012-09-11
| |
* | lavfi/amerge: fix input pad name behaviour.Clément Bœsch2012-09-11
| | | | | | | | | | | | This fixes two problems: - the invalid pad.name stack pointer after init() ends - the duplicated name for all inputs
* | lavfi/setpts: set SAMPLE_RATE to NAN when input is no audioStefano Sabatini2012-09-10
| | | | | | | | Should be more robust/consistent.
* | lavfi/setpts: add FRAME_RATE constantStefano Sabatini2012-09-10
| | | | | | | | Useful for dealing with constant frame-rate video.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: x86: dsputil: Only compile motion_est code when encoders are enabled mem: fix typo in check for __ICC fate: mp3: drop redundant CMP setting rtp: Depacketization of JPEG (RFC 2435) Rename ff_put_string to avpriv_put_string mjpeg: Rename some symbols to avpriv_* instead of ff_* yadif: cosmetics Conflicts: Changelog libavcodec/mjpegenc.c libavcodec/x86/Makefile libavfilter/vf_yadif.c libavformat/version.h libavutil/mem.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * yadif: cosmeticsLuca Barbato2012-09-09
| |
* | lavfi: drop deprecated and pointless avfilter_default_end_frame() functionStefano Sabatini2012-09-09
| | | | | | | | | | | | | | | | Fix warning when compiling boxblur. While this is technically a major API break, practically there will be no one using that function since the filtering API is mostly private, so that function alone is not usable.
* | vf_idet: Remove emmsDerek Buitenhuis2012-09-07
| | | | | | | | | | | | | | There is no MMX code anyway. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_colormatrix: Drop unused strings.h headerDerek Buitenhuis2012-09-07
| | | | | | | | | | | | | | It already uses av_strcasecmp. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-09-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov_chan: Pass a separate AVIOContext for reading af_asyncts: check return value from lavr when flushing. mss2: simplify loop in decode_rle() mss12: avoid unnecessary division in arith*_get_bit() mss2: do not try to read too many palette entries mpegvideo: set AVFrame fields to NULL after freeing the base memory configure: Set the right cc_e flags for msvc Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * af_asyncts: check return value from lavr when flushing.Anton Khirnov2012-09-07
| | | | | | | | | | Fixes an infinite loop on flush when avresample_get_delay() still reports some samples but avresample_convert() doesn't return any data.
* | lavfi: add qp_table_sizeMichael Niedermayer2012-09-07
| | | | | | | | | | | | This avoid recalculating it and in case w/h changed avoids crashes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: 10l fix () placementMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi: factor copy_video_props() outMichael Niedermayer2012-09-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavfilter: pass QP table through the filter chainMichael Niedermayer2012-09-07
| | | | | | | | | | | | Any volunteers to port the pp and spp filters from libmpcodec? Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/mp: drop rotate wrapperStefano Sabatini2012-09-06
| | | | | | | | The native filter transpose is perfectly equivalent.
* | lavfi/tinterlace: declare source buffers in copy_picture_field() as constStefano Sabatini2012-09-06
| | | | | | | | Increase performance (slightly).
* | lavfi/tinterlace: set inlink->cur to NULL, since it is stored internallyStefano Sabatini2012-09-06
| | | | | | | | | | If not set to NULL, the reference is freed by ff_end_frame(), and later accessed in end_frame() by the filter code, causing a crash.
* | vf_hue: fix AVOption defaultsMichael Niedermayer2012-09-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vf_scale: fix incompatible pointer type warningMichael Niedermayer2012-09-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>