Commit 0ad43d0f authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit 'e240a28b'

* commit 'e240a28b':
  cmdutils: Add auto to threading capabilities report
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 5063a18f e240a28b
......@@ -1326,12 +1326,14 @@ static void print_codec(const AVCodec *c)
c->type == AVMEDIA_TYPE_AUDIO) {
printf(" Threading capabilities: ");
switch (c->capabilities & (AV_CODEC_CAP_FRAME_THREADS |
AV_CODEC_CAP_SLICE_THREADS)) {
AV_CODEC_CAP_SLICE_THREADS |
AV_CODEC_CAP_AUTO_THREADS)) {
case AV_CODEC_CAP_FRAME_THREADS |
AV_CODEC_CAP_SLICE_THREADS: printf("frame and slice"); break;
case AV_CODEC_CAP_FRAME_THREADS: printf("frame"); break;
case AV_CODEC_CAP_SLICE_THREADS: printf("slice"); break;
default: printf("no"); break;
case AV_CODEC_CAP_AUTO_THREADS : printf("auto"); break;
default: printf("none"); break;
}
printf("\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment