Skip to content

Commit 682becf

Browse files
NotTsunamiTheAMM
authored andcommitted
server: Add equals operator in mpv options (#49)
Following mpv-player/mpv@d3cef97, all options passed to mpv require the format "mpv --o='path'" instead of "mpv --o 'path'". This change should be backwards compatible with older mpv versions as well.
1 parent e0225de commit 682becf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thumbnailer_server.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function create_thumbnail_mpv(file_path, timestamp, size, output_path, options)
5959
"--vf-add=format=bgra",
6060
"--of=rawvideo",
6161
"--ovc=rawvideo",
62-
"--o", output_path
62+
"--o=" .. output_path
6363
})
6464
return utils.subprocess({args=mpv_command})
6565
end

0 commit comments

Comments
 (0)