mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-10 08:50:03 +01:00
avcodec/cuviddec: fix wrong 10bit 420 format in cuvid_handle_video_sequence
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user