mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Add explicit disposability to Inputs (#126)
This commit is contained in:
@@ -6,7 +6,7 @@ const __dirname = new URL('.', import.meta.url).pathname;
|
||||
|
||||
test('Should be able to get packets from a .MP4 file', async () => {
|
||||
const filePath = path.join(__dirname, '..', 'public/video.mp4');
|
||||
const input = new Input({
|
||||
using input = new Input({
|
||||
source: new FilePathSource(filePath),
|
||||
formats: ALL_FORMATS,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user