avplay: apply the stream sample_aspect_ratio to decoded video frames
authorVladimir Pantelic <vladoman@gmail.com>
Thu, 7 Feb 2013 17:42:39 +0000 (18:42 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 9 Feb 2013 17:57:21 +0000 (18:57 +0100)
commitdb0a943266be29ff0596872ebb418dfed75d00de
treefd50d5e692830d26a7d7355bc4045e4823eb7d1b
parent84b721db366c0734fdfd23c8daaa7da7da21f761
avplay: apply the stream sample_aspect_ratio to decoded video frames

If there is a sample_aspect_ratio in the stream, then apply it to every
decoded frame in the same way as avconv does. This also makes sure that
the avfilter chain has access to the aspect ratio.

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
avplay.c