mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update VideoThumbnail pipeline
This commit is contained in:
parent
e9c8646137
commit
e14e18e6b4
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class VideoThumbnail implements ShouldQueue
|
||||||
$name = last($path);
|
$name = last($path);
|
||||||
try {
|
try {
|
||||||
$t = explode('.', $name);
|
$t = explode('.', $name);
|
||||||
$t = $t[0].'_thumb.png';
|
$t = $t[0].'_thumb.jpeg';
|
||||||
$i = count($path) - 1;
|
$i = count($path) - 1;
|
||||||
$path[$i] = $t;
|
$path[$i] = $t;
|
||||||
$save = implode('/', $path);
|
$save = implode('/', $path);
|
||||||
|
|
Loading…
Reference in a new issue