mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(video): improve debug message
Distinguish between "invalid" pixel format and "unknown" pixel format due to unsupported platform
This commit is contained in:
parent
81522deabd
commit
ff2fc18be1
|
@ -203,7 +203,7 @@ QString v4l2::getPixelFormatString(uint32_t pixel_format)
|
|||
{
|
||||
if (pixFmtToName.find(pixel_format) == pixFmtToName.end()) {
|
||||
qWarning() << "Pixel format not found";
|
||||
return QString("unknown");
|
||||
return QString("invalid");
|
||||
}
|
||||
return pixFmtToName.at(pixel_format);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user