You've already forked FFmpeg
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:
@ -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