mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 12:00:06 +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
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
pix_fmts[1] = AV_PIX_FMT_P016;
|
pix_fmts[1] = AV_PIX_FMT_P010;
|
||||||
}
|
}
|
||||||
caps = &ctx->caps10;
|
caps = &ctx->caps10;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user