Even if it doesn't match extensions in filter mode.
Unified · Split
| @@ -416,6 +416,9 @@ static bool test_path(struct pl_parser *p, char *path, int autocreate) · 415 unmodified lines | |||
| 416 | if (autocreate & AUTO_ANY) | 416 | if (autocreate & AUTO_ANY) |
| 417 | return true; | 417 | return true; |
| 418 | 418 | ||
| 419 | if (!strcmp(path, p->real_stream->path)) | ||
| 420 | return true; | ||
| 421 | |||
| 419 | bstr ext = bstr_get_ext(bstr0(path)); | 422 | bstr ext = bstr_get_ext(bstr0(path)); |
| 420 | if (autocreate & AUTO_VIDEO && str_in_list(ext, p->mp_opts->video_exts)) | 423 | if (autocreate & AUTO_VIDEO && str_in_list(ext, p->mp_opts->video_exts)) |
| 421 | return true; | 424 | return true; |