diff options
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 5d3ba4d..09776d6 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -75,7 +75,13 @@ probefmt(){ } avconv(){ - run avconv -nostats -threads $threads -thread_type $thread_type -cpuflags $cpuflags "$@" + dec_opts="-threads $threads -thread_type $thread_type" + avconv_args="-nostats -cpuflags $cpuflags" + for arg in $@; do + [ ${arg} = -i ] && avconv_args="${avconv_args} ${dec_opts}" + avconv_args="${avconv_args} ${arg}" + done + run avconv ${avconv_args} } framecrc(){ |