Merge pull request #2233 from VodBox/missing-files-dialog

libobs + UI: Add Missing Files API & Dialog
This commit is contained in:
Jim
2021-01-31 08:02:16 -08:00
committed by GitHub
26 changed files with 1422 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ typedef struct obs_weak_output obs_weak_output_t;
typedef struct obs_weak_encoder obs_weak_encoder_t;
typedef struct obs_weak_service obs_weak_service_t;
#include "obs-missing-files.h"
#include "obs-source.h"
#include "obs-encoder.h"
#include "obs-output.h"
@@ -909,6 +910,13 @@ EXPORT obs_data_t *obs_get_source_defaults(const char *id);
/** Returns the property list, if any. Free with obs_properties_destroy */
EXPORT obs_properties_t *obs_get_source_properties(const char *id);
EXPORT obs_missing_files_t *
obs_source_get_missing_files(const obs_source_t *source);
EXPORT void obs_source_replace_missing_file(obs_missing_file_cb cb,
obs_source_t *source,
const char *new_path, void *data);
/** Returns whether the source has custom properties or not */
EXPORT bool obs_is_source_configurable(const char *id);