Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2
-
None
-
acc8628c3b4725170a1d6444f4c24118be49779d (qt/qtmultimedia/dev) 0909959835b8f372fe298de66e2be5ecf64287c2 (qt/qtmultimedia/6.2)
Description
QML read gadget value on MediaRecorder.MediaFormat always return -1
The minimum example:
import QtQuick import QtMultimedia Item { MediaEncoder { id: encoder Component.onCompleted: { console.log(encoder.mediaFormat.audioCodec) encoder.mediaFormat.audioCodec = 7 console.log(encoder.mediaFormat.audioCodec) } } }
The output is
-1
-1
The debugger shows that the setter and getter on QMediaFormat set and get correct value: 7
Attachments
For Gerrit Dashboard: QTBUG-94565 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
355128,2 | Fix qSwap(QMediaFormat, QMediaFormat) | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
355181,2 | Fix qSwap(QMediaFormat, QMediaFormat) | 6.2 | qt/qtmultimedia | Status: MERGED | +2 | 0 |