mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-11 01:59:58 -04:00
UI: Add obs_frontend_get_current_record_output_path()
Returns the current path of the record output.
This commit is contained in:
@@ -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--) {
|
||||
|
||||
Reference in New Issue
Block a user