lavc/utvideoenc: Enable frame-threading.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:27:01 +0000 (13:27 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 May 2014 11:41:10 +0000 (13:41 +0200)
libavcodec/utvideoenc.c

index e602d6a..0a96fed 100644 (file)
@@ -642,6 +642,7 @@ AVCodec ff_utvideo_encoder = {
     .init           = utvideo_encode_init,
     .encode2        = utvideo_encode_frame,
     .close          = utvideo_encode_close,
+    .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
     .pix_fmts       = (const enum AVPixelFormat[]) {
                           AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA, AV_PIX_FMT_YUV422P,
                           AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE