Return the name of this profile (1920x1080p29.97)
| 194 | |
| 195 | // Return the name of this profile (1920x1080p29.97) |
| 196 | std::string Profile::ShortName() { |
| 197 | std::string progressive_str = info.interlaced_frame ? "i" : "p"; |
| 198 | std::string fps_string = formattedFPS(true); |
| 199 | std::string result = std::to_string(info.width) + "x" + std::to_string(info.height) + progressive_str + fps_string; |
| 200 | |
| 201 | if (info.spherical) |
| 202 | result += " 360°"; |
| 203 | return result; |
| 204 | } |
| 205 | |
| 206 | // Return a longer format name (1920x1080p @ 29.97 fps (16:9)) |
| 207 | std::string Profile::LongName() { |