Skip to content
Snippets Groups Projects
Commit fc251a5d authored by Philippe Gorley's avatar Philippe Gorley Committed by Andreas Traczyk
Browse files

accel: disable nvdec for now

Nvdec shows a lot of artifacts. Disable until fixed.

Change-Id: I8df7e6072005c1bc0c19f820cec437c877c6e63a
parent be489ba3
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,8 @@ std::unique_ptr<HardwareAccel>
HardwareAccel::setupDecoder(AVCodecID id, int width, int height)
{
static const HardwareAPI apiList[] = {
{ "nvdec", AV_PIX_FMT_CUDA, AV_PIX_FMT_NV12, { AV_CODEC_ID_H264, AV_CODEC_ID_H265, AV_CODEC_ID_VP8, AV_CODEC_ID_MJPEG } },
// TODO Find out why nvdec decoding doesn't quite work
//{ "nvdec", AV_PIX_FMT_CUDA, AV_PIX_FMT_NV12, { AV_CODEC_ID_H264, AV_CODEC_ID_H265, AV_CODEC_ID_VP8, AV_CODEC_ID_MJPEG } },
{ "vaapi", AV_PIX_FMT_VAAPI, AV_PIX_FMT_NV12, { AV_CODEC_ID_H264, AV_CODEC_ID_MPEG4, AV_CODEC_ID_VP8, AV_CODEC_ID_MJPEG } },
{ "vdpau", AV_PIX_FMT_VDPAU, AV_PIX_FMT_NV12, { AV_CODEC_ID_H264, AV_CODEC_ID_MPEG4 } },
{ "videotoolbox", AV_PIX_FMT_VIDEOTOOLBOX, AV_PIX_FMT_NV12, { AV_CODEC_ID_H264, AV_CODEC_ID_MPEG4 } },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment