Anton Khirnov
f423497b45
lavu: support AVChannelLayout AVOptions
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Limin Wang
48235c8263
avutil/opt: add AV_OPT_FLAG_DEPRECATED option
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
4 years ago
Marton Balint
a619787a9c
avutil/tests/opt: add av_opt_get/av_opt_set tests
...
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Marton Balint
672b925e8a
avutil/tests/opt: add tests for AV_OPT_TYPE_DICT
...
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Paul B Mahol
c109dfc1b1
avutil/opt: print runtime flag too
5 years ago
Jun Zhao
7b5cf0a410
lavu/opt: add bit stream filter option dump support.
...
enable dump bit stream filter and update opt fate test ref.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Nicolas George
47ea04ff10
lavu/opt: enhance printing durations.
...
Trim unneeded leading components and trailing zeros.
Move the formating code in a separate function.
Use the function also to format the default value, it was currently
printed as plain integer, inconsistent to the way it is parsed.
9 years ago
Clément Bœsch
6b5412cbfa
avutil/opt: print more meaningful default flags values
...
Example:
% ./ffmpeg -h encoder=gif
[...]
GIF encoder AVOptions:
-gifflags <flags> E..V.... set GIF flags (default offsetting+transdiff)
offsetting E..V.... enable picture offsetting
transdiff E..V.... enable transparency detection between frames
9 years ago
Clément Bœsch
9117748cff
avutil/opt: add AV_OPT_TYPE_BOOL
9 years ago
Michael Niedermayer
6d7e57e88b
avutil/opt: Do not print inf in selftest
...
This fixes fate failures on windows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
88ec5435bb
avutil/opt: also test av_opt_show2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
c1e93cdc9e
avutil/opt: Also test/compare the av_log output i the selftest
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lukasz Marek
0cb994dfe3
lavu/opt: add escaping to av_opt_serialize
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
bee5844ddd
lavu/opt: introduce av_opt_serialize()
...
Function allows to create string containing object's serialized options.
Such string may be passed back to av_set_options_string() in order to restore options.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
eec693328a
lavu/opt: introduce av_opt_is_set_to_default()
...
New function allows to check if option is set to its default value
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
db6be5416c
fate: add opt-test
10 years ago
Lukasz Marek
4efc79649b
lavu/opt: add support for binary defaults
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago