mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
fate: fix concat demuxer extended test portability
Sed \r is not portable, it does not work on freebsd, hopefully tr -d will. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
61344c04ca
commit
bcac6416b8
@ -262,7 +262,7 @@ concat(){
|
||||
awk "{gsub(/%SRCFILE%/, \"$sample\"); print}" $template > $concatfile
|
||||
|
||||
if [ "$mode" = "md5" ]; then
|
||||
run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -fflags keepside -safe 0 $extra_args $concatfile | sed 's/\r//g' > $packetfile
|
||||
run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -fflags keepside -safe 0 $extra_args $concatfile | tr -d '\r' > $packetfile
|
||||
do_md5sum $packetfile
|
||||
else
|
||||
run ffprobe${PROGSUF} -show_streams -show_packets -v 0 -of compact=p=0:nk=1 -fflags keepside -safe 0 $extra_args $concatfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user