lavc/utvideoenc: Enable frame-threading.

pull/74/head
Carl Eugen Hoyos 11 years ago
parent 6e67852881
commit c528d833a9
  1. 1
      libavcodec/utvideoenc.c

@ -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…
Cancel
Save