History

vaapi_encode: Improve log message for unsupported profiles

Mark Thompson committed 8 years ago

Commit b6743571 parent b2ea7571 file · +3 −2Browse files

Showing the changes to libavcodec/vaapi_encode.c (1 of 1 file). Show all

Unified · Split

libavcodec/vaapi_encode.c+3−2
@@ -1135,8 +1135,9 @@ static av_cold int vaapi_encode_profile_entrypoint(AVCodecContext *avctx) · 1134 unmodified lines
11351135 break;
11361136 }
11371137 if (j >= n) {
1138− av_log(avctx, AV_LOG_VERBOSE, "Matching profile %d is "
1139− "not supported by driver.\n", profile->va_profile);
1138+ av_log(avctx, AV_LOG_VERBOSE, "Compatible profile %s (%d) "
1139+ "is not supported by driver.\n", profile_string,
1140+ profile->va_profile);
11401141 continue;
11411142 }
11421143

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