31 if (sound ==
nullptr) {
43 if (strip ==
nullptr || strip->
data ==
nullptr) {
50 if (elem !=
nullptr) {
58 for (
int i = 0;
i < paths_count;
i++, elem++) {
89 if (*presence ==
nullptr) {
90 *presence = MEM_new<MediaPresence>(__func__);
97 if (strip ==
nullptr || scene ==
nullptr || scene->
ed ==
nullptr) {
105 bool missing =
false;
113 if (val !=
nullptr) {
124 if (val !=
nullptr) {
138 if (strip ==
nullptr || scene ==
nullptr || scene->
ed ==
nullptr) {
File and directory operations.
int BLI_exists(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
#define LISTBASE_FOREACH(type, var, list)
bool BLI_path_abs(char path[FILE_MAX], const char *basepath) ATTR_NONNULL(1
#define BLI_path_join(...)
char * STRNCPY(char(&dst)[N], const char *src)
#define ID_BLEND_PATH_FROM_GLOBAL(_id)
const Value * lookup_ptr(const Key &key) const
bool add_overwrite(const Key &key, const Value &value)
void add_new(const Key &key, const Value &value)
bool remove(const Key &key)
size_t(* MEM_allocN_len)(const void *vmemh)
bool media_presence_is_missing(Scene *scene, const Strip *strip)
void media_presence_free(Scene *scene)
static bool check_sound_media_missing(const bSound *sound)
static bool check_media_missing(const Scene *scene, const Strip *strip)
void media_presence_invalidate_sound(Scene *scene, const bSound *sound)
static blender::Mutex presence_lock
void media_presence_invalidate_strip(Scene *scene, const Strip *strip)
void media_presence_set_missing(Scene *scene, const Strip *strip, bool missing)
static MediaPresence * get_media_presence_cache(Scene *scene)
MediaPresence * media_presence