From 49d5c24aa150df3a6c25450f396889cc065501aa Mon Sep 17 00:00:00 2001 From: wm4 <nfxjfg@googlemail.com> Date: Fri, 17 Apr 2015 17:27:02 +0200 Subject: fate: gapless: test seeking to a specific position Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- tests/fate-run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index f1afebbafb..0165812208 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -226,7 +226,8 @@ gapless(){ decfile1="${outdir}/${test}.out-1" decfile2="${outdir}/${test}.out-2" - cleanfiles="$cleanfiles $decfile1 $decfile2" + decfile3="${outdir}/${test}.out-3" + cleanfiles="$cleanfiles $decfile1 $decfile2 $decfile3" # large enough to make ffmpeg.c seek to the start of the file start_offset=-1 @@ -240,6 +241,9 @@ gapless(){ ffmpeg -ss $start_offset -i "$sample" $extra_args -flags +bitexact -c:a copy -f framecrc -y $decfile2 do_md5sum $decfile2 ffmpeg -ss $start_offset -i "$sample" $extra_args -flags +bitexact -f wav md5: + # test packet data, with seeking to a specific position + ffmpeg -ss 5 -i "$sample" $extra_args -flags +bitexact -c:a copy -f framecrc -y $decfile3 + do_md5sum $decfile3 } mkdir -p "$outdir" -- cgit v1.2.3