Skip to content

Commit

Permalink
Fix file extension used for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Aug 22, 2023
1 parent 50b18c8 commit 5288d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ffmpeg.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Pipeline::fromIterable(new DirectoryIterator('.'))
->concurrent(3)
->filter(fn ($item) => $item->getExtension() === 'php')
->filter(fn ($item) => $item->getExtension() === 'mkv')
->map(fn ($item) => createVideoClip($ffmpeg, $item->getPathname(), getTempDestination()))
->forEach(fn ($result) => getStdout()->write('Successfully created clip from ' . $result[0] . ' => ' . $result[1] . PHP_EOL));

Expand Down

0 comments on commit 5288d3c

Please sign in to comment.