瀏覽代碼

vlc-video: Ignore URLs when checking for missing files

tt2468 4 年之前
父節點
當前提交
dca1d3714b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      plugins/vlc-video/vlc-video-source.c

+ 2 - 1
plugins/vlc-video/vlc-video-source.c

@@ -1131,7 +1131,8 @@ static obs_missing_files_t *vlcs_missingfiles(void *data)
 		const char *path = obs_data_get_string(item, "value");
 
 		if (strcmp(path, "") != 0) {
-			if (!os_file_exists(path)) {
+			if (!os_file_exists(path) &&
+			    strstr(path, "://") == NULL) {
 				obs_missing_file_t *file =
 					obs_missing_file_create(
 						path, missing_file_callback,