diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-03-09 10:56:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-03-10 07:40:11 +0100 |
commit | 96a06dbaf278e8152487e08772946f63bd2a3843 (patch) | |
tree | dbb48ec08f094393891980ca9b5ad4900a8da411 /tests/fate-run.sh | |
parent | dc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56 (diff) | |
download | ffmpeg-96a06dbaf278e8152487e08772946f63bd2a3843.tar.gz |
FATE: add support for testing hwaccels
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index f8de18290e..790a4d1283 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -23,6 +23,7 @@ cmp_target=${13:-0} size_tolerance=${14:-0} cmp_unit=${15:-2} gen=${16:-no} +hwaccel=${17:-none} outdir="tests/data/fate" outfile="${outdir}/${test}" @@ -76,7 +77,7 @@ probefmt(){ } avconv(){ - dec_opts="-threads $threads -thread_type $thread_type" + dec_opts="-hwaccel $hwaccel -threads $threads -thread_type $thread_type" avconv_args="-nostats -cpuflags $cpuflags" for arg in $@; do [ x${arg} = x-i ] && avconv_args="${avconv_args} ${dec_opts}" |