diff options
author | Val Doroshchuk <valentyn.doroshchuk@qt.io> | 2017-11-16 15:02:23 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2017-12-08 13:25:08 +0000 |
commit | 10304528c20fb9a385c617a38b6be35d1b18598a (patch) | |
tree | 1bfd06e4f4e2a31bfbfb9920503286423b3c8291 /src/multimediawidgets/qpaintervideosurface.cpp | |
parent | c0931a0709748f2483aeea17555d6953b6f28417 (diff) |
DirectShow: Use pixel aspect ratio
Originally pixel aspect ratio was clearing (set to 1,1)
within renegotiating the media type.
Which caused samples with not standard pixel aspect ratio (1,1)
to be rendered with black squares on the top and the bottom.
(Original size was kept but PAR cleared)
Added a fix to keep PAR while adjusting the media type to optimal one
and set original PAR to QVideoSurfaceFormat.
Task-number: QTBUG-64438
Change-Id: I6d1a5c441b89bbd5cea86667cc570bb7eb19068b
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/multimediawidgets/qpaintervideosurface.cpp')
0 files changed, 0 insertions, 0 deletions