Remove createInputFrom, changed meaning of PathedSource, add CustomPathedSource

This commit is contained in:
Vanilagy
2026-04-21 13:22:10 +02:00
parent d12c48562c
commit 2b3e5f45c6
16 changed files with 349 additions and 428 deletions
+2 -2
View File
@@ -594,8 +594,8 @@ export class HlsInputFormat extends InputFormat {
return false;
}
if (!(input._source instanceof PathedSource)) {
throw new TypeError('HLS inputs require `InputOptions.source` to be a PathedSource.');
if (!(input._rootSource instanceof PathedSource)) {
throw new TypeError('HLS inputs require `InputOptions.source` to be a PathedSource or a ref to one.');
}
return true;