Michael Niedermayer
0ecaa447f6
vf_overlay: use unref_bufferP()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dc49105c7f
sink_buffer: prevent prematurely freeing of cur_buf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1890853976
vf_thumbnail: prevent premature freeing of ref
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5aab307f30
vf_colormatrix: avoid using out_buf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
cb6a20fa56
lavfi: add FF_*LINK_IDX convenience macros.
13 years ago
Nicolas George
97f86680eb
lavfi: make copy_buffer_ref common.
13 years ago
Michael Niedermayer
e03cd1049e
Fix misspellings of FFmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ef1c0b5295
avfiltergraph: add some debug info about selected pixel formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
712d82130e
lavfi/avfiltergraph: apply misc fixes to fix avfilter_graph_request_oldest() @return doxy
13 years ago
Nicolas George
d483867525
avfiltergraph: document a catch in request_oldest().
This one is tricky. Consider a graph with two sink links, A and B.
request_oldest() requests on A, and A returns EOF. This EOF causes
a filter to flush pending frames to B; they are unrequested.
Then request_oldest() moves on to B, and B returns EOF.
13 years ago
Nicolas George
f98d814bb6
avfiltergraph: add a debug message on EOF.
13 years ago
Nicolas George
d06bfda07e
lavfi: rescale link->current_pts.
The doxy says, and the heap implementations assumes,
it is in AV_TIME_BASE units.
13 years ago
Stefano Sabatini
fda968aa8f
lavfi: decrease logging level of message showing initial parameters
Reduce log clutter, consistent with 1a49a169eb .
13 years ago
Steven Robertson
c88d98fe4a
lavfi/movie: reindent after the previous patch
Signed-off-by: Steven Robertson <steven@strobe.cc>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Steven Robertson
ac726a4f0c
lavfi/movie: flush decoder frames on EOF
movie currently forwards EOF (or begins looping) immediately upon
reaching the last packet in the input stream, which can leave frames in
the decoder. This change first tries to read any remaining packets from
the decoder before forwarding EOF.
Signed-off-by: Steven Robertson <steven@strobe.cc>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
a5382b50f2
lavfi/buffersink: restore possibility to pass opaque data
Use the init_opaque callback for the purpose.
Fix regression introduced in a5e8c41c28 . In particular, fix lavfi
device in case a conversion to the supported (packed) formats is needed.
13 years ago
Stefano Sabatini
21d5609826
lavfi: add init_opaque callback
This will be used by filters which require an opaque field to be passed
in input. Should be required only for filters which imply a programmatic
use.
This is possibly a temporary solution, to be removed when we'll have a
clearer and better agreememnt of how/if to pass binary data for
initializing a filter.
See thread:
Subject: [FFmpeg-devel][PATCH] lavfi: add init2 callback
Date: Fri, 6 Jul 2012 01:22:17 +0200
13 years ago
Anton Khirnov
cd99146253
lavfi: add error handling to filter_samples().
13 years ago
Anton Khirnov
083d0f6be8
asplit: don't leak the input buffer.
13 years ago
Anton Khirnov
1ffb645662
af_resample: fix request_frame() behavior.
Make sure that an output frame has really been produced before returning
0.
13 years ago
Anton Khirnov
6f834293d3
af_asyncts: fix request_frame() behavior.
Make sure that an output frame has really been produced before returning
0.
13 years ago
Justin Ruggles
8ca08066fc
lavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample format
Also make this the default value.
13 years ago
Nicolas George
299387ebf4
vf_settb: rename the file as f_settb.
13 years ago
Nicolas George
65e65e3ce2
settb: cosmetic: reindent vf_settb structure.
13 years ago
Nicolas George
ba856c0be5
lavfi: implement asettb filter.
13 years ago
Michael Niedermayer
e145afb4b0
vf_tinterlace: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
abb0a9982f
lavfi: do not pass opaque field to init functions
Fix signature mismatch warnings.
13 years ago
Michael Niedermayer
9fb08427d7
vf_pp: dont pass NULL into pp, it would fail
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
b7558ac293
af_amix: avoid spurious EAGAIN.
Input on/off state can change in request_samples(), which can result in
a state where only the first input is active. get_available_samples()
will then return 0, and request_frame() will fail with EAGAIN even
though there is data on the single active input.
Take this into account and check the number of active inputs again after
calling request_samples().
13 years ago
Anton Khirnov
54bf88e65f
af_amix: return AVERROR(EAGAIN) when request_frame didn't produce output.
0 should only be returned when there was at least one output frame.
13 years ago
Anton Khirnov
428b369804
af_amix: only consider negative return codes as errors.
13 years ago
Stefano Sabatini
3e3e414fe4
lavfi/buffersink: fix doxy, remove "video" reference
The file contains the code for the audio buffersink as well.
13 years ago
Mans Rullgard
7c29377b70
lavfi: reclassify showfiltfmts as a TESTPROG
This tool uses lavfi internal symbols not accessible in shared
libraries. TESTPROGS are linked statically to allow them use of
library internals not normally exported.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Carl Eugen Hoyos
71e5a14028
Suggest aresample filter if it was not compiled but requested.
13 years ago
Diego Biurrun
1a068bfefd
cosmetics: Consistently use C-style comments with multiple inclusion guards
13 years ago
Diego Biurrun
09f211987c
misc typo and wording fixes
13 years ago
Mans Rullgard
fb93e61e2b
x86: lavfi: fix gradfun/yadif build with mmx/sse disabled
These functions are defined conditionally so any uses need to have
preprocessor guards.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
c9de83fefd
yadif/x86: add prototypes for functions, make code valid C again.
Broken by: libav (a87b17f328 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
bb6effe059
lavfi: remove vsrc_buffer.h API
The vsrc_buffer.h is not installed since commit 0b3b95813576, so there is
no point into keeping it around.
The buffersrc.h API, which is more powerful, should be used instead.
13 years ago
Michael Niedermayer
b6851d34c0
x86/gradfun: fix compilation failure on open solaris
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
a87b17f328
vf_yadif: move x86 init code to x86/yadif.c
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2f0accf103
vf_gradfun: move x86 init code to x86/gradfun.c
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
1f5c1333a7
sink_buffer: implement fixed frame size.
13 years ago
Nicolas George
0689d5e17a
lavfi: implement samples framing on links.
Links can be set up to group samples into buffers of
specified minimum and maximum size.
13 years ago
Michael Niedermayer
be4ffb28b3
vf_ass: fix table name to refer to correct lib.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c83ed18d45
formats.h: fix project reference in comment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
b0fdd3489a
lavfi: deprecate av_buffersrc_buffer() function
Favor av_buffersrc_add_ref() instead, which is more powerful.
13 years ago
Nicolas George
fcf8706ed9
sink_buffer: warn when there are too many buffers.
13 years ago
Nicolas George
05d6cc116e
buffersrc: warn when there are too many buffers.
13 years ago