UI: Add obs_frontend_get_current_record_output_path()
Returns the current path of the record output.
This commit is contained in:
parent
293b7951ed
commit
22fa8f8bb0
4 changed files with 18 additions and 0 deletions
|
|
@ -618,6 +618,13 @@ struct OBSStudioAPI : obs_frontend_callbacks {
|
|||
Q_ARG(OBSSource, OBSSource(source)));
|
||||
}
|
||||
|
||||
char *obs_frontend_get_current_record_output_path(void) override
|
||||
{
|
||||
const char *recordOutputPath = main->GetCurrentOutputPath();
|
||||
|
||||
return bstrdup(recordOutputPath);
|
||||
}
|
||||
|
||||
void on_load(obs_data_t *settings) override
|
||||
{
|
||||
for (size_t i = saveCallbacks.size(); i > 0; i--) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue