aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffmdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-10-22 15:56:28 -0300
committerJames Almer <jamrial@gmail.com>2016-11-02 17:08:38 -0300
commit5cb57131d3bb2422858467828a5763646f004bbe (patch)
treed5db3ec2b8b2eaee315e05886ceeb5b4313543d3 /libavformat/ffmdec.c
parentbab6b606752e5ba93f9d2d1b71f264dc8e3031b3 (diff)
downloadffmpeg-5cb57131d3bb2422858467828a5763646f004bbe.tar.gz
avformat/matroskaenc: use display aspect ratio for DisplayWidth and DisplayHeight when possible
This avoids potential rounding errors and guarantees the source aspect ratio is preserved. Keep writing pixel values when Stereo 3D Mode is enabled and for WebM, as the format doesn't support anything else. This fixes ticket #5743, implementing the suggestion from ticket #5903. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/ffmdec.c')
0 files changed, 0 insertions, 0 deletions