mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Print the friendly name of the unsupported AVPixelFormat in SDLRenderer
This commit is contained in:
parent
e01c42153c
commit
bed3a6ecd8
@ -330,8 +330,8 @@ ReadbackRetry:
|
||||
break;
|
||||
default:
|
||||
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Performing color conversion on CPU due to lack of SDL support for format: %u",
|
||||
frame->format);
|
||||
"Performing color conversion on CPU due to lack of SDL support for format: %s",
|
||||
av_get_pix_fmt_name((AVPixelFormat)frame->format));
|
||||
sdlFormat = SDL_PIXELFORMAT_XRGB8888;
|
||||
m_NeedsYuvToRgbConversion = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user