OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b91bf48
)
lavc/ljpegenc: Enable frame-threading.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sat, 31 May 2014 11:28:16 +0000
(13:28 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sat, 31 May 2014 11:41:10 +0000
(13:41 +0200)
libavcodec/ljpegenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ljpegenc.c
b/libavcodec/ljpegenc.c
index
6fd86ff
..
9b9f5dc
100644
(file)
--- a/
libavcodec/ljpegenc.c
+++ b/
libavcodec/ljpegenc.c
@@
-319,6
+319,7
@@
AVCodec ff_ljpeg_encoder = {
.init = ljpeg_encode_init,
.encode2 = ljpeg_encode_frame,
.close = ljpeg_encode_close,
+ .capabilities = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
.pix_fmts = (const enum AVPixelFormat[]){
AV_PIX_FMT_BGR24 , AV_PIX_FMT_BGRA , AV_PIX_FMT_BGR0,
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,