Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.15.8
-
None
Description
Follow up from fix https://bugreports.qt.io/browse/QTBUG-89803
While video playback works to play video files on M1 with the provided fix from QTBUG-89803, HLS playback is still broken. The video container size is not taken into account once the stream switches the resolution.
Steps to reproduce:
- Add attached minimal example to a QML file with macOS M1 build target
- Wait until the stream switches to 1920p (you see the resolution within the video), this takes around 10 seconds
- Resize the window
Intended behavior:
The video resizes within the container, the stream switches resolution if there is a smaller suitable
Actual behavior:
After the first resize of window, the video is rendered in full resolution, clipping the window:
Screenshots:
Minimal example:
import QtQuick 2.15 import QtQuick.Window 2.15 import QtMultimedia 5.15 Window { visible: true width: 800 height: 600 title: qsTr("Hello World") Video { source: "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8" anchors.fill: parent autoPlay: true } }
Attachments
Issue Links
- relates to
-
QTBUG-89803 QML Video doesn't play on macOS 11.0 with Apple M1 chip
- Closed