Browse Source

fate-run: make avconv() properly deal with multiple inputs.

tags/n1.0
Anton Khirnov 13 years ago
parent
commit
8d18bc550e
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      tests/fate-run.sh

+ 7
- 1
tests/fate-run.sh View File

@@ -75,7 +75,13 @@ probefmt(){
} }


avconv(){ avconv(){
run avconv -nostats -threads $threads -thread_type $thread_type -cpuflags $cpuflags "$@"
dec_opts="-threads $threads -thread_type $thread_type"
avconv_args="-nostats -cpuflags $cpuflags"
for arg in $@; do
[ ${arg} = -i ] && avconv_args="${avconv_args} ${dec_opts}"
avconv_args="${avconv_args} ${arg}"
done
run avconv ${avconv_args}
} }


framecrc(){ framecrc(){


Loading…
Cancel
Save