mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 21:14:58 -04:00
UI: Add replay buffer saved event to the frontend api (#3592)
* obs-frontend-api: add the event of saving replay buffer Add OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED as given by RFC 33 * UI: Emit the replay buffer saved event to the api Send the OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED to api (as in rfc33) * docs/sphinx: Add replay buffer saved event Documentation provided for OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED (RFC33)
This commit is contained in:
1 parent
a94c0e055b
commit
d3ec3e99d5
3 files changed
+7
No files matched your search
@@ -6141,6 +6141,8 @@ void OBSBasic::ReplayBufferSave()
|
||||
obs_output_get_proc_handler(outputHandler->replayBuffer);
|
||||
proc_handler_call(ph, "save", &cd);
|
||||
calldata_free(&cd);
|
||||
if (api)
|
||||
api->on_event(OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED);
|
||||
}
|
||||
|
||||
void OBSBasic::ReplayBufferStop(int code)
|
||||
|
||||
Reference in new issue
Block a user