libobs: Add missing file API to sources
This commit is contained in:
@@ -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"
|
||||
@@ -906,6 +907,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);
|
||||
|
||||
|
Reference in New Issue
Block a user