summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/recorder/SettingsEncoder.qml
diff options
context:
space:
mode:
authorMikko Hallamaa <mikko.hallamaa@qt.io>2024-05-29 09:39:31 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-06-10 16:06:12 +0000
commit52956b9f82034ca9e634a428a9bd71361d4afc03 (patch)
tree135c3639177beb95a8f6cb2800c48869d400305c /examples/multimedia/video/recorder/SettingsEncoder.qml
parent7236848e18285957d59e25be851788b52b3625c4 (diff)
Fallback to SW decoding if opening codec context fails6.7
If hardware-accelerated decoders are not available, we fall back to available software decoders. However, if avcodec_open2() call fails for a hardware-accelerated decoder, we just returned an error. This patch adds fallback to SW if HW codec creation fails. Task-number: QTBUG-125613 Pick-to: 6.5 Change-Id: I7d5477c908bb0377c9530cbc0841509452604978 Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io> Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> (cherry picked from commit fe2f8faf5e3b6230bd66ca4ffcf0b3ab4fa4d277) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit d80e21bdc894c57e2165124ceca70429e02b9698)
Diffstat (limited to 'examples/multimedia/video/recorder/SettingsEncoder.qml')
0 files changed, 0 insertions, 0 deletions