Refine backend status handling

Compared with 5ee2ee1:

- update the bundled GigabyteLib interface and binary, reset backend events across stream transitions, and wait for requested video format changes before reporting refreshed signal state

- translate private GigabyteLib results into stable public GVFG errors, including GVFG_EBUSY, while keeping vendor API names, enum values, and raw codes in internal diagnostics

- keep customer-facing error strings and detailed faults backend-neutral, and show the original library failure only in the Debug internal Sample

- update the public and internal error-handling documentation to match the new ownership boundary

Validation: git diff --check passed. The SDK MSVC Release build and Qt Sample MSVC Release and Debug builds completed successfully. Hardware behavior was not tested.
This commit is contained in:
Mark.lin
2026-09-22 10:15:49 +08:00
parent 5ee2ee12e6
commit 0fc22a1646
13 changed files with 1573 additions and 883 deletions
+3 -15
View File
@@ -1263,22 +1263,10 @@ extern "C"
return "Not supported";
case GVFG_ETIMEOUT:
return "Timeout";
case GVFG_HRESULT_ERROR:
return "GVFG_HRESULT_ERROR";
case GVFG_HRESULT_DEV_ERROR:
return "GVFG_HRESULT_DEV_ERROR";
case GVFG_HRESULT_DEV_BUSY:
return "GVFG_HRESULT_DEV_BUSY";
case GVFG_HRESULT_VIDEO_CHN_ERROR:
return "GVFG_HRESULT_VIDEO_CHN_ERROR";
case GVFG_HRESULT_CONTEXT_ERROR:
return "GVFG_HRESULT_CONTEXT_ERROR";
case GVFG_HRESULT_VIDEO_CHN_INVALID:
return "GVFG_HRESULT_VIDEO_CHN_INVALID";
case GVFG_HRESULT_API_ERROR:
return "GVFG_HRESULT_API_ERROR";
case GVFG_EBUSY:
return "Device busy";
default:
return status > 0 ? "GVFG_HRESULT_UNKNOWN" : "Unknown";
return "Unknown";
}
}