1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/cuviddec: fix wrong 10bit 420 format in cuvid_handle_video_sequence

This commit is contained in:
Timo Rothenpieler
2025-07-26 14:42:33 +02:00
parent a56da996ce
commit dc0ac81bbe

View File

@ -205,7 +205,7 @@ static int CUDAAPI cuvid_handle_video_sequence(void *opaque, CUVIDEOFORMAT* form
#endif
#endif
} else {
pix_fmts[1] = AV_PIX_FMT_P016;
pix_fmts[1] = AV_PIX_FMT_P010;
}
caps = &ctx->caps10;
break;