History

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

Anton Khirnov committed 14 years ago

Commit 8d18bc51 parent 083d0f61 file · +7 −1Browse files

Unified · Split

tests/fate-run.sh+7−1
@@ -75,7 +75,13 @@ probefmt(){ · 74 unmodified lines
7575 }
7676
7777 avconv(){
78− run avconv -nostats -threads $threads -thread_type $thread_type -cpuflags $cpuflags "$@"
78+ dec_opts="-threads $threads -thread_type $thread_type"
79+ avconv_args="-nostats -cpuflags $cpuflags"
80+ for arg in $@; do
81+ [ ${arg} = -i ] && avconv_args="${avconv_args} ${dec_opts}"
82+ avconv_args="${avconv_args} ${arg}"
83+ done
84+ run avconv ${avconv_args}
7985 }
8086
8187 framecrc(){

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t