aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-14 21:12:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-23 01:38:47 +0200
commit094c5e6c55238416b273711ff176dea4cfd3ce5b (patch)
treeefc402b8218419331d92ce52a935052e60530206 /libavcodec/mjpegenc.c
parent9eae43ddcf7c435eb25914f7a2c1cfae05a6a32a (diff)
downloadffmpeg-094c5e6c55238416b273711ff176dea4cfd3ce5b.tar.gz
mjpegenc: mark as intra only
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegenc.c')
-rw-r--r--libavcodec/mjpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c
index 66a975e97c..0bec8f2012 100644
--- a/libavcodec/mjpegenc.c
+++ b/libavcodec/mjpegenc.c
@@ -504,7 +504,7 @@ AVCodec ff_mjpeg_encoder = {
.init = ff_MPV_encode_init,
.encode2 = ff_MPV_encode_picture,
.close = ff_MPV_encode_end,
- .capabilities = CODEC_CAP_SLICE_THREADS,
+ .capabilities = CODEC_CAP_SLICE_THREADS | CODEC_CAP_INTRA_ONLY,
.pix_fmts = (const enum PixelFormat[]){
PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE
},