mirror of https://git.ffmpeg.org/ffmpeg.git
tests/fate-run: Use DEC_OPTS for additional input, too
Should fix failures in the cover-art-flac-remux test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
5e1dac380b
commit
6d72126e9b
|
@ -232,12 +232,13 @@ transcode(){
|
|||
enc_opt=$4
|
||||
final_decode=$5
|
||||
ffprobe_opts=$7
|
||||
additional_inputs=$8
|
||||
additional_input=$8
|
||||
test -z "$additional_input" || additional_input="$DEC_OPTS $additional_input"
|
||||
encfile="${outdir}/${test}.${enc_fmt}"
|
||||
test "$6" = -keep || cleanfiles="$cleanfiles $encfile"
|
||||
tsrcfile=$(target_path $srcfile)
|
||||
tencfile=$(target_path $encfile)
|
||||
ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_inputs \
|
||||
ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $additional_input \
|
||||
$ENC_OPTS $enc_opt $FLAGS -f $enc_fmt -y $tencfile || return
|
||||
do_md5sum $encfile
|
||||
echo $(wc -c $encfile)
|
||||
|
|
Loading…
Reference in New Issue