History

cmdutils: Add auto to threading capabilities report

And use 'none' when such capabilities are not set.

Vittorio Giovara committed 11 years ago

Commit e240a281 parent d15368e1 file · +4 −2Browse files

Showing the changes to cmdutils.c (1 of 1 file). Show all

Unified · Split

cmdutils.c+4−2
@@ -980,12 +980,14 @@ static void print_codec(const AVCodec *c) · 979 unmodified lines
980980 if (c->type == AVMEDIA_TYPE_VIDEO) {
981981 printf(" Threading capabilities: ");
982982 switch (c->capabilities & (AV_CODEC_CAP_FRAME_THREADS |
983− AV_CODEC_CAP_SLICE_THREADS)) {
983+ AV_CODEC_CAP_SLICE_THREADS |
984+ AV_CODEC_CAP_AUTO_THREADS)) {
984985 case AV_CODEC_CAP_FRAME_THREADS |
985986 AV_CODEC_CAP_SLICE_THREADS: printf("frame and slice"); break;
986987 case AV_CODEC_CAP_FRAME_THREADS: printf("frame"); break;
987988 case AV_CODEC_CAP_SLICE_THREADS: printf("slice"); break;
988− default: printf("no"); break;
989+ case AV_CODEC_CAP_AUTO_THREADS : printf("auto"); break;
990+ default: printf("none"); break;
989991 }
990992 printf("\n");
991993 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t