diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-12-05 08:32:53 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-12-22 09:27:30 +0800 |
commit | 8ecd7cdb469ede77ca91f80f8095adf76e2eac9f (patch) | |
tree | 1c521c963331b9037d3820a2cf19ceb5edf51f7b /libavcodec | |
parent | 0e1f5f887188fcda9262ae662769eb3f186b9ef0 (diff) | |
download | ffmpeg-8ecd7cdb469ede77ca91f80f8095adf76e2eac9f.tar.gz |
avcodec/rawenc: suppport frame thread for rawvideo
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/rawenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c index 7e15084d71..561d992a46 100644 --- a/libavcodec/rawenc.c +++ b/libavcodec/rawenc.c @@ -85,7 +85,7 @@ const AVCodec ff_rawvideo_encoder = { .long_name = NULL_IF_CONFIG_SMALL("raw video"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_RAWVIDEO, - .capabilities = AV_CODEC_CAP_DR1, + .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS, .init = raw_encode_init, .encode2 = raw_encode, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, |