aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-05-20 15:20:47 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-05-21 10:32:25 +0200
commit6374ee72df91b075870610808b73a51fdb1dad20 (patch)
tree519aad4f6926677fcf1707980ffb7916436ddc71 /tests
parent3853e1d94e249bc9826157f74ffe7f33460ac198 (diff)
downloadffmpeg-6374ee72df91b075870610808b73a51fdb1dad20.tar.gz
ffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1
The special-case behavior may complicate parsing when the -show_format_entry option is used programmatically in a script. The option default=nk=1 achieves the same purpose, if the objective is to skip printing the single field key.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fate-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 126f2ce46d..cd94d4ab64 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -70,7 +70,7 @@ run(){
}
probefmt(){
- run ffprobe -show_format_entry format_name -print_format default=nw=1 -v 0 "$@"
+ run ffprobe -show_format_entry format_name -print_format default=nw=1:nk=1 -v 0 "$@"
}
avconv(){