Skip to content

Commit

Permalink
tests: Use a predefined function for lavf-rm test
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDiego committed Feb 16, 2019
1 parent dad5fd5 commit 5846b49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/lavf-regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ do_lavf()
{
file=${outfile}lavf.$1
do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le $2 -i $pcm_src $ENC_OPTS -b:a 64k -t 1 -qscale:v 10 $3
do_avconv_crc $file $DEC_OPTS -i $target_path/$file $4
test $5 = "disable_crc" ||
do_avconv_crc $file $DEC_OPTS -i $target_path/$file $4
}

do_streamed_images()
Expand Down Expand Up @@ -53,9 +54,8 @@ fi

if [ -n "$do_rm" ] ; then
file=${outfile}lavf.rm
do_avconv $file $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 -c:a ac3_fixed -b:a 64k
# broken
#do_avconv_crc $file -i $target_path/$file
# The RealMedia muxer is broken.
do_lavf rm "" "-c:a ac3_fixed" "" disable_crc
fi

if [ -n "$do_mpg" ] ; then
Expand Down

0 comments on commit 5846b49

Please sign in to comment.