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