mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 19:33:51 +02:00
Remove createInputFrom, changed meaning of PathedSource, add CustomPathedSource
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user