OSDN Git Service

matroskadec: Fix sample_aspect_ratio for stereo matroska content
authorAaron Colwell <acolwell@google.com>
Wed, 2 Dec 2015 23:13:18 +0000 (18:13 -0500)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 7 Dec 2015 16:27:42 +0000 (11:27 -0500)
commitfebfb49a70e82f5ac46dc7ea34dabd4d56b19b31
tree16e8c4026bea65f08ae6012d5aa83a1ec6c01204
parentc34df422628e6b7b657faee241fe7bb2629e0f57
matroskadec: Fix sample_aspect_ratio for stereo matroska content

matroskaenc applies divisors to the display width/height when generating
stereo content. This patch adds the corresponding multipliers to matroskadec
so that the original sample aspect ratio can be recovered.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavformat/matroskadec.c