mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 06:30:55 +00:00
Prefer hevc_nvv4l2 over hevc_nvmpi
This commit is contained in:
@@ -900,7 +900,7 @@ bool FFmpegVideoDecoder::initialize(PDECODER_PARAMETERS params)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QList<const char *> knownHevcCodecs = { "hevc_rkmpp", "hevc_nvmpi", "hevc_nvv4l2", "hevc_v4l2m2m" };
|
QList<const char *> knownHevcCodecs = { "hevc_rkmpp", "hevc_nvv4l2", "hevc_nvmpi", "hevc_v4l2m2m" };
|
||||||
for (const char* codec : knownHevcCodecs) {
|
for (const char* codec : knownHevcCodecs) {
|
||||||
if (tryInitializeRendererForDecoderByName(codec, params)) {
|
if (tryInitializeRendererForDecoderByName(codec, params)) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user