tests/fate-run: Always use -bitexact for ffprobe

Makes no difference currently.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-04-30 02:53:32 +02:00
parent 155f68f7d1
commit 0a7939d706
1 changed files with 8 additions and 8 deletions

View File

@ -86,15 +86,15 @@ runecho(){
} }
probefmt(){ probefmt(){
run ffprobe${PROGSUF}${EXECSUF} -show_entries format=format_name -print_format default=nw=1:nk=1 "$@" run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format=format_name -print_format default=nw=1:nk=1 "$@"
} }
probeaudiostream(){ probeaudiostream(){
run ffprobe${PROGSUF}${EXECSUF} -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@" run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@"
} }
probetags(){ probetags(){
run ffprobe${PROGSUF}${EXECSUF} -show_entries format_tags "$@" run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format_tags "$@"
} }
runlocal(){ runlocal(){
@ -103,11 +103,11 @@ runlocal(){
} }
probeframes(){ probeframes(){
run ffprobe${PROGSUF}${EXECSUF} -show_frames "$@" run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_frames "$@"
} }
probechapters(){ probechapters(){
run ffprobe${PROGSUF}${EXECSUF} -show_chapters "$@" run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_chapters "$@"
} }
probegaplessinfo(){ probegaplessinfo(){
@ -222,7 +222,7 @@ enc_dec(){
do_md5sum $decfile do_md5sum $decfile
tests/tiny_psnr${HOSTEXECSUF} $srcfile $decfile $cmp_unit $cmp_shift tests/tiny_psnr${HOSTEXECSUF} $srcfile $decfile $cmp_unit $cmp_shift
test -z $ffprobe_opts || \ test -z $ffprobe_opts || \
run ffprobe${PROGSUF}${EXECSUF} $ffprobe_opts $tencfile || return run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
} }
transcode(){ transcode(){
@ -245,7 +245,7 @@ transcode(){
ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \ ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \
-f framecrc - || return -f framecrc - || return
test -z $ffprobe_opts || \ test -z $ffprobe_opts || \
run ffprobe${PROGSUF}${EXECSUF} $ffprobe_opts $tencfile || return run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
} }
stream_remux(){ stream_remux(){
@ -264,7 +264,7 @@ stream_remux(){
ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \ ffmpeg $DEC_OPTS -i $tencfile $ENC_OPTS $FLAGS $final_decode \
-f framecrc - || return -f framecrc - || return
test -z $ffprobe_opts || \ test -z $ffprobe_opts || \
run ffprobe${PROGSUF}${EXECSUF} $ffprobe_opts $tencfile || return run ffprobe${PROGSUF}${EXECSUF} -bitexact $ffprobe_opts $tencfile || return
} }
# FIXME: There is a certain duplication between the avconv-related helper # FIXME: There is a certain duplication between the avconv-related helper