Preserve video format notifications before capture starts
Confirm the requested format before clearing stale audio and video frame notifications. Validation: SDK Release built with the current worktree; staged whitespace check passed.
This commit is contained in:
@@ -354,9 +354,6 @@ struct gvfg_channel_session_t
|
||||
if (!session)
|
||||
return reject(GVFG_ESTATE, "configure stream rejected: channel is not open");
|
||||
|
||||
const gvfg_status_t st = session->configure_stream();
|
||||
if (st != GVFG_OK)
|
||||
return st;
|
||||
const gvfg_status_t signalStatus = querySignal();
|
||||
if (signalStatus != GVFG_OK)
|
||||
return signalStatus;
|
||||
@@ -366,7 +363,7 @@ struct gvfg_channel_session_t
|
||||
return reject(GVFG_ETIMEOUT,
|
||||
"gvfg_start_channel rejected: no input signal");
|
||||
}
|
||||
return GVFG_OK;
|
||||
return session->configure_stream();
|
||||
}
|
||||
|
||||
gvfg_status_t readFrame(gvfg_frame_t &out, uint32_t timeoutMs,
|
||||
|
||||
Reference in New Issue
Block a user