Make ffprobe show sample_aspect_ratio and display_aspect_ratio only if
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 27 Apr 2010 23:22:27 +0000 (23:22 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 27 Apr 2010 23:22:27 +0000 (23:22 +0000)
commit8280e2bd456bb296cbafc296b6c7814918d57435
treef24b32d092ed51c54d696bcbd1c561b66732e9cd
parent6e25b78001a127a7c507ef6e55de9fe211d03716
Make ffprobe show sample_aspect_ratio and display_aspect_ratio only if
sample_aspect_ratio is known.

Avoid to show bogus values, which may confuse both the human and the
machine reader.

Based on a patch by Robert Krüger $(echo lsvfhfs@tjhobm7.ef | tr "b-za" "a-z").

Originally committed as revision 22983 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffprobe.c