Fix lint length error

This commit is contained in:
HaveAGitGat 2023-09-25 08:10:35 +01:00
parent 8793962a69
commit 2a76f29f81

View file

@ -137,7 +137,12 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
}
// If Container .ts|.avi|.mpg|.mpeg set genpts to fix unknown timestamp
if (file.container.toLowerCase() === 'ts' || file.container.toLowerCase() === 'avi' || file.container.toLowerCase() === 'mpg' || file.container.toLowerCase() === 'mpeg') {
if (
file.container.toLowerCase() === 'ts'
|| file.container.toLowerCase() === 'avi'
|| file.container.toLowerCase() === 'mpg'
|| file.container.toLowerCase() === 'mpeg'
) {
genpts = '-fflags +genpts';
}