Nicolas George
752344dada
amerge/astreamsync/pan: fix license boilerplate.
The boilerplate states that the files are under LGPL,
but refer the user to the GPL at one place.
These files were (re)implemented specifically for FFmpeg.
12 years ago
Stefano Sabatini
fda968aa8f
lavfi: decrease logging level of message showing initial parameters
Reduce log clutter, consistent with 1a49a169eb
.
13 years ago
Stefano Sabatini
972cad77fa
lavfi: remove unnecessary inclusion of libavcodec/avcodec.h in avfilter.h
libavfilter API was designed in order to be clarly distinguished from the
libavcodec API, including avcodec.h in avfilter.h is not going to help to
stick to this principle.
The inclusion of libavutil/audioconvert.h in many files was required
because avcodec.h includes audioconvert.h.
libavfilter/avcodec.h is where the lavc/lavfi interface should be
entirely placed.
13 years ago
Paul B Mahol
c9e183b490
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Clément Bœsch
48f30595f5
pan: use ff_parse_channel_layout() instead of av_get_channel_layout().
This allow specifying hexadecimal channel layout, and also handle the
error printing internally.
13 years ago
Clément Bœsch
5dbd66395a
lavfi/pan: add supported sample rates to avoid a crash.
13 years ago
Stefano Sabatini
4d4098da00
lavfi: drop planar/packed negotiation support
The planar/packed switch and the packing_formats list is no longer
required, since the planar/packed information is now stored in the sample
format enum.
This is technically a major API break, possibly it should be not too
painful as we marked the audio filtering API as unstable.
13 years ago
Clément Bœsch
4522df52aa
lavfi: remove audio.h include from avfilter.h.
avfilter.h is a public header and the unexported audio.h header contains
only internal prototypes.
13 years ago
Nicolas George
4217dfe87b
af_pan: remove dual double/int storage of gain.
libswresample takes care of that now.
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
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
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
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
Clément Bœsch
6728dd37ac
pan: add channel mapping capability.
13 years ago
Clément Bœsch
66fdbcbbc9
pan: raise correct error when there is no param specified.
13 years ago
Clément Bœsch
9d35fa43ee
lavfi: add missing periods in descriptions.
13 years ago
Clément Bœsch
1fbf7165d5
lavfi: reimplement MPlayer's af_pan filter for libavfilter.
Original code by Clément Bœsch.
Parameters parsing and misc enhancements by Nicolas George.
13 years ago