Display: print display type

This commit is contained in:
李通洲
2023-09-20 16:00:27 +08:00
parent 64615e635f
commit 576fcd7d3d
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -85,6 +85,9 @@ void ffPrintDisplay(FFDisplayOptions* options)
result->scaledHeight > 0 && result->scaledHeight != result->height)
printf(" (as %ix%i)", result->scaledWidth, result->scaledHeight);
if(result->type != FF_DISPLAY_TYPE_UNKNOWN)
fputs(result->type == FF_DISPLAY_TYPE_BUILTIN ? " [Built-in]" : " [External]", stdout);
if(moduleIndex > 0 && result->primary)
printf(" *");