diff options
author | Ronald S. Bultje <rbultje@google.com> | 2011-04-20 14:14:42 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-04-21 19:42:19 -0400 |
commit | 94f7451a3a5ad61cd49da0aa9f08cefe75482007 (patch) | |
tree | dde7d51bb68563d316ca285e19bd68fa326e925a /libavcodec/dv.c | |
parent | 3283f274fdbef16d13df06661cec601e1bc01aab (diff) | |
download | ffmpeg-94f7451a3a5ad61cd49da0aa9f08cefe75482007.tar.gz |
Introduce slice threads flag.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 0b87d28e8b..5c5e7fefb1 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -1297,6 +1297,7 @@ AVCodec ff_dvvideo_encoder = { sizeof(DVVideoContext), dvvideo_init_encoder, dvvideo_encode_frame, + .capabilities = CODEC_CAP_SLICE_THREADS, .pix_fmts = (const enum PixelFormat[]) {PIX_FMT_YUV411P, PIX_FMT_YUV422P, PIX_FMT_YUV420P, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), }; @@ -1312,7 +1313,7 @@ AVCodec ff_dvvideo_decoder = { NULL, dvvideo_close, dvvideo_decode_frame, - CODEC_CAP_DR1, + CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS, NULL, .max_lowres = 3, .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), |