avformat/movenc: don't disable edit lists when writing CMAF output
[FFMpeg-mirror.git] / tools / bisect-create
blobee6ec3feb82f46c2835afb963cab5184809d8f70
1 #!/bin/sh
3 set -e
5 if test "bisect-create" = "`basename $0`" ; then
6 echo tools/ffbisect created
7 git show master:tools/bisect-create > tools/ffbisect
8 chmod u+x tools/ffbisect
9 exit 1
12 if ! git show master:tools/bisect-create | diff - tools/ffbisect > /dev/null ; then
13 echo updating tools/ffbisect script to HEAD.
14 git show master:tools/bisect-create > tools/ffbisect
15 chmod u+x tools/ffbisect
16 tools/ffbisect $*
17 exit 0
20 case "$1" in
21 need)
22 case $2 in
23 ffmpeg|ffplay|ffprobe)
24 echo $2.c >> tools/bisect.need
26 esac
28 start|reset)
29 echo . > tools/bisect.need
30 git bisect $*
32 skip)
33 git bisect $*
35 good|bad)
36 git bisect $*
38 until ls `cat tools/bisect.need` > /dev/null 2> /dev/null; do
39 git bisect skip || break
40 done
42 run)
43 shift # remove "run" from arguments
44 git bisect run sh -c "ls \`cat tools/bisect.need\` > /dev/null 2> /dev/null || exit 125; \"\$@\"" sh "$@"
46 esac