Skip to content

Commit fa9918d

Browse files
authored
Print a warning if failed to open YAML file
1 parent 82f6e89 commit fa9918d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/framework/mlt_properties.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,6 +1901,8 @@ mlt_properties mlt_properties_parse_yaml(const char *filename)
19011901
mlt_deque_close(context->index_stack);
19021902
free(context->block_name);
19031903
free(context);
1904+
} else {
1905+
+ mlt_log_warning(NULL, "Failed to open file %s for yaml parsing!\n", filename);
19041906
}
19051907
}
19061908

0 commit comments

Comments
 (0)