ffprobe: only use custom logging callback if -show_log is set
authorMarton Balint <cus@passwd.hu>
Wed, 5 Apr 2017 18:17:48 +0000 (20:17 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 12 Apr 2017 18:21:11 +0000 (20:21 +0200)
commit1f9419753667beb6298d8d8b683211680abb4fe6
tree962e1e982e2d2c66cf8d8259c33ff0f8b50c34fc
parentc92abd0c0e4db19530912ae170258798fdb14ddc
ffprobe: only use custom logging callback if -show_log is set

The custom callback can cause significant CPU usage on Windows for some large
files with many index entries for some reason.

v2: Move check after parsing options.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffprobe.c