mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
lavu/opt: add support for binary defaults
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
parent
bb60142f56
commit
4efc79649b
@ -1225,6 +1225,8 @@ void av_opt_set_defaults2(void *s, int mask, int flags)
|
||||
write_number(s, opt, dst, 1, 1, opt->default_val.i64);
|
||||
break;
|
||||
case AV_OPT_TYPE_BINARY:
|
||||
set_string_binary(s, opt, opt->default_val.str, dst);
|
||||
break;
|
||||
case AV_OPT_TYPE_DICT:
|
||||
/* Cannot set defaults for these types */
|
||||
break;
|
||||
|
0
tests/ref/fate/opt
Normal file
0
tests/ref/fate/opt
Normal file
Loading…
Reference in New Issue
Block a user