OSDN Git Service

RV20: try keeping aspect during resolution changes.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 9 Apr 2012 12:21:01 +0000 (14:21 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 9 Apr 2012 15:21:34 +0000 (17:21 +0200)
commit438f3ef8214ddc3bc3f2c25328c34065df48d4e6
tree282027f43329c3938b572abaccf7373c1a719ec4
parent1d130328ed5d536b5d93bc5cbf710fffbdbcf136
RV20: try keeping aspect during resolution changes.

Resolution changes are usually only used to scale with
network bandwidth, the (full) resolution specified in the
RM header really is authoritative.
While I am not sure this is the best solution, it is a
conservative approach that still should fix the most
common cases.
In particular, it fixes aspect with the sample from trac
issue #785 (in MPlayer, ffplay seems to just ignore
sample aspect changes in mid-playback).

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/rv10.c