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:13:25 +0000 (20:13 +0100)
commitde253343c151e0ba752f91088ab1aa87f50e1590
treeb672b7fa214a14dd404f92cf538a8eaf916e3de4
parent9c787a21ce91349a97dd87b108839b1d13035cbd
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>
(cherry picked from commit c663dce031b3973e37c83ae1818f1484e1cf482c)
fftools/ffprobe.c