diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-10 22:25:30 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-16 01:13:38 +0100 |
commit | eec693328a09f0dc6cbe398c199d093405ba7cf9 (patch) | |
tree | f97b6edfd2fda25dc54d3d007a33fd7c9c461e8e /tests/ref | |
parent | 01974a58df40f183c46b1cf3e37edb020716c8be (diff) | |
download | ffmpeg-eec693328a09f0dc6cbe398c199d093405ba7cf9.tar.gz |
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>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/opt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/ref/fate/opt b/tests/ref/fate/opt index 6523390dde..7953ce8eca 100644 --- a/tests/ref/fate/opt +++ b/tests/ref/fate/opt @@ -17,6 +17,46 @@ num64=1 flt=0.333333 dbl=0.333333 +Testing av_opt_is_set_to_default() +name: num default:1 error: +name: toggle default:0 error: +name: rational default:0 error: +name: string default:0 error: +name: flags default:0 error: +name: cool default:1 error:Option not found +name: lame default:1 error:Option not found +name: mu default:1 error:Option not found +name: size default:0 error: +name: pix_fmt default:0 error: +name:sample_fmt default:0 error: +name:video_rate default:0 error: +name: duration default:0 error: +name: color default:0 error: +name: cl default:0 error: +name: bin default:0 error: +name: num64 default:0 error: +name: flt default:0 error: +name: dbl default:0 error: +name: num default:1 error: +name: toggle default:1 error: +name: rational default:1 error: +name: string default:1 error: +name: flags default:1 error: +name: cool default:1 error:Option not found +name: lame default:1 error:Option not found +name: mu default:1 error:Option not found +name: size default:1 error: +name: pix_fmt default:1 error: +name:sample_fmt default:1 error: +name:video_rate default:1 error: +name: duration default:1 error: +name: color default:1 error: +name: cl default:1 error: +name: bin default:1 error: +name: num64 default:1 error: +name: flt default:1 error: +name: dbl default:1 error: + Testing av_set_options_string() OK '' Error ':' |