ffprobe: report unavailable SAR correctly in stream info
authorTimo Teräs <timo.teras@iki.fi>
Thu, 12 Apr 2018 08:07:36 +0000 (11:07 +0300)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Tue, 17 Apr 2018 19:11:31 +0000 (20:11 +0100)
commitc663dce031b3973e37c83ae1818f1484e1cf482c
tree3cdaba831873337553358eaa8aaf8fc088e74913
parent2fc12f4971a788acbd42861af90858cc0981417a
ffprobe: report unavailable SAR correctly in stream info

av_guess_sample_aspect_ratio() will return undefined or missing
value as {0,1}. This fixes show_stream() to check numerator to
display 'N/A' when appropriate. show_frame() does this already
correctly.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
fftools/ffprobe.c