Michael Niedermayer
f54e06feb3
vf_deshake: try to fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
02670762d2
libavfilter/libmpcodecs: add vf_pp from current mplayer svn
...
This will allow us to do regression tests on libpostproc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
42655b24c2
avfiltergraph: avoid harmful auto audio conversions.
...
With the current code, an automatically inserted aconvert necessary
for format change would usually convert to mono for no good reason.
The new code will not avoid all conversions, but at least will keep
them among the layouts common to both filters.
13 years ago
Nicolas George
4217dfe87b
af_pan: remove dual double/int storage of gain.
...
libswresample takes care of that now.
13 years ago
Alex Converse
b0f29db5c2
Mark mutable static data const where appropriate.
13 years ago
Clément Bœsch
241f8465d0
lavfi/abuffer: init the data planes with NULL pointers.
...
Samples buffer ref is allocated and loaded with the uninitialized data
pointers:
av_asrc_buffer_add_buffer()
-> av_asrc_buffer_add_samples()
-> avfilter_get_audio_buffer_ref_from_arrays(data, ...)
...which leads to a crash with at least lavfi/ashowinfo in case of !NULL
(see the for loop while samplesref->data[plane]).
13 years ago
Nicolas George
a923b6b8f4
af_pan: move query_format before config_props.
...
That is the logical order in which the functions are called,
and there is no longer any need of forward declarations.
13 years ago
Nicolas George
eb9ba527e7
af_pan: remove the indirect function call.
...
libswresample is used in all cases.
13 years ago
Nicolas George
a297856b8c
af_pan: reindent after last commit.
13 years ago
Nicolas George
a44b510d56
af_pan: use libswr for rematrixing.
13 years ago
Stefano Sabatini
4538d66010
lavfi/aspect: set default value to 0:1, as stated in the docs
...
Fix regression introduced in commit 70ffda3217
.
13 years ago
Stefano Sabatini
80715c3b23
lavfi/aspect: remove confusing comments
13 years ago
Stefano Sabatini
360218713f
lavfi/aspect: show log info even in case no argument is provided to setdar/setsar
13 years ago
Stefano Sabatini
7bdefc0f12
lavfi/overlay: add logic for avoiding overlaying frames with PTS > main frame PTS
...
Also add debug logging messages for helping tracking down similar
issues.
Fix trac ticket #467 .
13 years ago
Nicolas George
bd5080b1b0
af_pan: comment a tricky piece of code.
13 years ago
Clément Bœsch
cba4e2cbbc
pan: fix uninitialized channel_id variable.
...
Fix broken parsing with pan=2:FL=FR:FR=FL and similar.
13 years ago
Clément Bœsch
d3b06399ff
lavfi/silencedetect: use av_ts2timestr() macro.
13 years ago
Stefano Sabatini
f89f9bdadd
lavfi/ashowinfo: only print checksum for the existing planes
...
Make the output a bit nicer.
13 years ago
Stefano Sabatini
1e6408a18e
lavfi/showinfo: only print checksum for the existing planes
...
Make the output a bit nicer.
13 years ago
Stefano Sabatini
175ab5f9a9
lavfi/*showinfo: use av_ts2* macros in showinfo and ashowinfo
13 years ago
Diego Biurrun
7331b6e718
Drop some completely unnecessary av_unused attributes.
13 years ago
Janne Grunau
456d3e4fb5
yadif: specify array size outside DECLARE_ALIGNED
13 years ago
Diego Biurrun
0bba26466f
cosmetics: Delete empty lines at end of file.
13 years ago
Clément Bœsch
c84acc31b2
Revert "vf_fspp: use LOCAL_MANGLE instead of MANGLE."
...
This reverts commit 1aa8f5fcfb
. It broke
the other x86_32 fate instances.
13 years ago
Anton Khirnov
38d5533228
pixdesc: mark pseudopaletted formats with a special flag.
...
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
13 years ago
Clément Bœsch
1aa8f5fcfb
vf_fspp: use LOCAL_MANGLE instead of MANGLE.
...
The symbols are locals, thus the EXTERN_PREFIX should be omitted. This
might fix the llvm-gcc fate instance.
13 years ago
Stefano Sabatini
0349d61eef
lavfi/aspect: rename field aspect->aspect to aspect->ratio
...
The new name is more sensible.
13 years ago
Stefano Sabatini
b7d45d0b0f
lavfi: add setfield filter
13 years ago
Stefano Sabatini
70ffda3217
lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
...
Factorize code and provide ratio parsing consistency.
13 years ago
Andrey Utkin
e496c45d9b
drawtext: add 'fix_bounds' option on coords fixing
...
Before, drawtext filter deliberately altered given text coordinates if
text didn't fully fit on the picture. This breaks the use case of
scrolling large text, e.g. movie closing credits.
Add 'fix_bounds', to make it usable in such cases (by setting its value to 0).
Default behavior is not changed, and non-fitting text coords are fixed.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Andrey Utkin
2b43dfce36
drawtext: fix text_{w, h} expression vars
...
Before, {text_,}{w,h} vars hadn't got initialized
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Andrey Utkin
e7f0bc8c0f
drawtext: add missing braces around an if() block.
...
Prevents uninitialized read.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Clément Bœsch
174880f580
lavfi/thumbnail: rename @url to @see .
...
@url isn't a valid Doxygen directive.
13 years ago
Clément Bœsch
d50a4c4a5b
lavfi/amerge: copy ref props after filtering samples.
...
This fixes various issues with ffmpeg -ss and -t.
13 years ago
Clément Bœsch
85c66793d7
lavfi/pan: copy ref props after filtering samples.
...
At least PTS needs to be copied to avoid breaking options such as -t in
ffmpeg.
13 years ago
Clément Bœsch
c79eddaff1
lavfi/aconvert: use libswresample.
...
This commit also drops the planar parameter; you now need to use the 'p'
suffix in order to request a planar sample format.
13 years ago
Clément Bœsch
e96be8409f
lavfi/aresample: use libswresample.
13 years ago
Clément Bœsch
9f0b0db0d3
lavfi/aformat: use do..while(0) form for macro.
...
This avoids some empty statements.
13 years ago
Clément Bœsch
f65600d519
drawtext: use new public timecode API.
13 years ago
Michael Niedermayer
c4bdb2bf93
libavfilter/version.h: fix project name
...
The code in the file is written by vitor in be19d752
(2008)
thus cannot have originated in libav which did not exist at that
time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
23b639c44f
Fix "ouput" typo and add a check.
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Nicolas George
4a68949cd8
lavfi: Makefile: cosmetics: align FFLIBS.
13 years ago
Diego Biurrun
07a873a277
build: Automatically include architecture-specific library Makefile snippets.
13 years ago
Diego Biurrun
33ad8c3cab
cosmetics: Remove some unnecessary block braces.
13 years ago
Nicolas George
af21823ae0
lavfi: require libswr for af_pan.
13 years ago
Nicolas George
0c3577bfd9
lavfi: add avfilter_graph_dump.
13 years ago
Clément Bœsch
9bd44b42a8
pan: drop unecessary includes.
13 years ago
Clément Bœsch
66b1b7e5fa
pan: move query_formats() to avoid forward declarations.
13 years ago
Clément Bœsch
94dc4a5046
pan: reindent after remap commit.
13 years ago