summaryrefslogtreecommitdiff
path: root/coin
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2023-03-22 18:45:43 +0100
committerDoris Verria <doris.verria@qt.io>2023-03-23 11:26:10 +0000
commitc21b3adcf3d09dae2989e872cb56136f0ab8983f (patch)
tree85edb7c7ea82628e5bf7bd8836a643cfd2999f54 /coin
parent87c7e031d2b741f2b999aba70fc1a0af73554ad8 (diff)
downloadqtmultimedia-c21b3adcf3d09dae2989e872cb56136f0ab8983f.tar.gz
AVFMediaPlayer: Try to play asset even if 'playable' property is false
Sometimes an AVAsset can report to be not playable even if the asset can still be played. That is why we shouldn't stop trying to play based on this check only. To determine if an asset is truly playable or not, we should only need to rely on the 'status' property of the AVPlayerItem using the asset, as that one will never be AVPlayerStatusReadyToPlay if the asset is not playable and will instead fail throwing the appropriate errors. Fixes: QTBUG-98102 Pick-to: 6.2 6.5 Change-Id: I26d319fe120335cdfbc09cd6aa68ce7e8f282699 Reviewed-by: Lars Knoll <lars@knoll.priv.no> Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'coin')
0 files changed, 0 insertions, 0 deletions