mpeg1video: add CODEC_CAP_SLICE_THREADS.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Jun 2011 21:13:17 +0000 (14:13 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 13 Jul 2011 19:41:45 +0000 (12:41 -0700)
libavcodec/mpeg12.c

index 4cbfa8d..0590832 100644 (file)
@@ -2539,7 +2539,7 @@ AVCodec ff_mpeg1video_decoder = {
     NULL,
     mpeg_decode_end,
     mpeg_decode_frame,
-    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
+    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
     .flush= flush,
     .max_lowres= 3,
     .long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"),