Use software decoder by default
This commit is contained in:
@@ -136,7 +136,7 @@ namespace ANSCENTER {
|
||||
if (!_hwDecodeActive && !_hwPlayer) {
|
||||
try {
|
||||
auto hwp = std::make_unique<CFilePlayer>();
|
||||
hwp->setHWDecoding(HW_DECODING_AUTO); // CUDA → D3D11VA → DXVA2 → software
|
||||
hwp->setHWDecoding(HW_DECODING_DISABLE); // Software decode by default — saves VRAM
|
||||
if (hwp->open(_url)) {
|
||||
_hwPlayer = std::move(hwp);
|
||||
_hwDecodeActive = true;
|
||||
|
||||
Reference in New Issue
Block a user