mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
lavc/utvideoenc: Enable frame-threading.
This commit is contained in:
parent
6e67852881
commit
c528d833a9
@ -642,6 +642,7 @@ AVCodec ff_utvideo_encoder = {
|
|||||||
.init = utvideo_encode_init,
|
.init = utvideo_encode_init,
|
||||||
.encode2 = utvideo_encode_frame,
|
.encode2 = utvideo_encode_frame,
|
||||||
.close = utvideo_encode_close,
|
.close = utvideo_encode_close,
|
||||||
|
.capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
|
||||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||||
AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA, AV_PIX_FMT_YUV422P,
|
AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA, AV_PIX_FMT_YUV422P,
|
||||||
AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE
|
AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE
|
||||||
|
Loading…
Reference in New Issue
Block a user