Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

aspect ratio for qvideowidget



  • hi team,
    I'm using qt5.9 opensource for imx6 with embedded Linux. I'm playing/streaming one video using Qmediaplayer and QVideo widget.here is the sample code.
    https://doc.qt.io/qt-5/videooverview.html
    I'm able to play/stream the video but, if I use "setAspectRatioMode(Qt::IgnoreAspectRatio)" for video scaling,function is not reflecting in my Linux side.
    Please note: the same setup is working with ubuntu.


Log in to reply