mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-14 21:32:27 +00:00
Revert "Add logic to try LibreELEC's out-of-tree stateless V4L2 decoders"
v4l2request is a hwaccel not a decoder
This reverts commit ed3a5448b1
.
This commit is contained in:
parent
ed3a5448b1
commit
2a7fae2c82
1 changed files with 0 additions and 19 deletions
|
@ -713,25 +713,6 @@ bool FFmpegVideoDecoder::initialize(PDECODER_PARAMETERS params)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
|
||||||
// v4l2request is an out-of-tree hardware accelerated decoder that outputs DRI PRIME buffers
|
|
||||||
// https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/multimedia/ffmpeg/patches/v4l2-request
|
|
||||||
AVCodec* v4l2requestDecoder;
|
|
||||||
|
|
||||||
if (params->videoFormat & VIDEO_FORMAT_MASK_H264) {
|
|
||||||
v4l2requestDecoder = avcodec_find_decoder_by_name("h264_v4l2request");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
v4l2requestDecoder = avcodec_find_decoder_by_name("hevc_v4l2request");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (v4l2requestDecoder != nullptr &&
|
|
||||||
tryInitializeRenderer(v4l2requestDecoder, params, nullptr,
|
|
||||||
[]() -> IFFmpegRenderer* { return new DrmRenderer(); })) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_LINUX
|
#ifdef Q_OS_LINUX
|
||||||
|
|
Loading…
Reference in a new issue