We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c934ca4 commit 2d2a06bCopy full SHA for 2d2a06b
Ffmpeg.lua
@@ -35,7 +35,7 @@ return class.create(function(ffmpeg)
35
end
36
37
function ffmpeg:configure(options)
38
- local ffDir = File:new(options.ffmpeg)
+ local ffDir = File:new(options.ffmpeg or system.findExecutablePath('ffmpeg') or 'ffmpeg')
39
if ffDir:isDirectory() then
40
self.ffmpegPath = File:new(ffDir, getExecutableName('ffmpeg')):getPath()
41
else
fcutSchema.lua
@@ -53,7 +53,6 @@ return {
53
ffmpeg = {
54
title = 'The ffmpeg path',
55
type = 'string',
56
- default = (require('jls.lang.system').isWindows() and 'ffmpeg\\ffmpeg.exe' or '/usr/bin/ffmpeg'),
57
},
58
ffprobe = {
59
title = 'The ffprobe path, the default value is computed from the ffmpeg path',
0 commit comments