aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-31 13:29:07 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-31 13:41:11 +0200
commite91e626182538cdb31fd57960acbed4cd0361d28 (patch)
tree76bcd18ab9ce4fc6c97eb19c88e20769a394f34b /libavcodec
parent64afc3bb935061660a0321671bf90206e8c5809b (diff)
downloadffmpeg-e91e626182538cdb31fd57960acbed4cd0361d28.tar.gz
lavc/jpeglsenc: Enable frame-threading.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/jpeglsenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c
index 030178f9ac..2f02332a34 100644
--- a/libavcodec/jpeglsenc.c
+++ b/libavcodec/jpeglsenc.c
@@ -431,6 +431,7 @@ AVCodec ff_jpegls_encoder = {
.id = AV_CODEC_ID_JPEGLS,
.init = encode_init_ls,
.close = encode_close,
+ .capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
.encode2 = encode_picture_ls,
.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_BGR24, AV_PIX_FMT_RGB24,