ffplay: in input_config_props(), honour the SAR specified in the codec context
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 16 Aug 2011 15:26:31 +0000 (17:26 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 17 Aug 2011 08:29:34 +0000 (10:29 +0200)
commitf8eaa006b61413afa3d8434eef0a2fe7d76f0097
treec4248849ceb96f0f6e479cb3911dec1cc064ea67
parent41bf67d8d4dd02b93df45d7862dbec4536738b5e
ffplay: in input_config_props(), honour the SAR specified in the codec context

Use the value specified in the codec context for setting the
filterchain sample aspect ratio, when it is not specified in the
stream context.

Consistent with the ffmpeg behavior.

Fix trac issue #398.
ffplay.c