1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #26987 from mshabunin:fix-videoio-test-params-5

videoio: print test params instead of indexes (5.x) #26987

Port of #26948 to 5.x
This commit is contained in:
Maksim Shabunin
2025-03-01 14:59:06 +03:00
committed by GitHub
parent 1483504702
commit b8a8b9e1dd
7 changed files with 205 additions and 20 deletions
+3 -2
View File
@@ -160,8 +160,9 @@ inline static std::string videoio_mfx_name_printer(const testing::TestParamInfo<
{
std::ostringstream out;
const Size sz = get<0>(info.param);
const std::string ext = get<2>(info.param);
out << sz.width << "x" << sz.height << "x" << get<1>(info.param) << "x" << ext.substr(1, ext.size() - 1);
out << sz.height << "p" << "_"
<< get<1>(info.param) << "FPS" << "_"
<< extToStringSafe(get<2>(info.param));
return out.str();
}