Merge branch 'fix/gemini301-mixed-fps' into v2/develop

This commit is contained in:
ob-yalian
2026-09-15 15:55:01 +08:00
7 changed files with 105 additions and 33 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ void listSensorProfiles(const std::shared_ptr<ob::Device>& device) {
auto origin_profile = profile_list->getProfile(j);
if ((sensor->getType() == OB_SENSOR_DEPTH || sensor->getType() == OB_SENSOR_IR_LEFT ||
sensor->getType() == OB_SENSOR_IR_RIGHT) &&
isGemini305SeriesPID(pid)) {
// Gemini 305 series
isGemini301SeriesPID(pid)) {
// Gemini 301 series
auto profile = origin_profile->as<ob::VideoStreamProfile>();
std::cout << magic_enum::enum_name(sensor->getType()) << " profile: " << profile->getWidth()
<< "x" << profile->getHeight() << " " << profile->getFps() << "fps "