mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: use -1 instead of -2 for video preview scaling
This commit is contained in:
parent
f07e99d1b3
commit
c85921e81e
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ function M:preload(job)
|
|||
"-i", tostring(job.file.url),
|
||||
"-vframes", 1,
|
||||
"-q:v", qv,
|
||||
"-vf", string.format("scale='min(%d,iw)':-2:flags=fast_bilinear", PREVIEW.max_width),
|
||||
"-vf", string.format("scale='min(%d,iw)':-1:flags=fast_bilinear", PREVIEW.max_width),
|
||||
"-f", "image2",
|
||||
"-y", tostring(cache),
|
||||
}):status()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue