mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-06 00:44:57 +05:30
Removed unused configuration properties
This commit is contained in:
parent
899797cd48
commit
9b4d739f19
1 changed files with 2 additions and 4 deletions
|
|
@ -13,9 +13,7 @@ import { fetchFile } from '@ffmpeg/util';
|
|||
const initialValues: InitialValuesType = {
|
||||
quality: 'mid',
|
||||
fps: '10',
|
||||
scale: '320:-1:flags=bicubic',
|
||||
starting: '0',
|
||||
duration: ''
|
||||
scale: '320:-1:flags=bicubic'
|
||||
};
|
||||
|
||||
export default function VideoToGif({
|
||||
|
|
@ -28,7 +26,7 @@ export default function VideoToGif({
|
|||
|
||||
const compute = (values: InitialValuesType, input: File | null) => {
|
||||
if (!input) return;
|
||||
const { fps, scale, starting, duration } = values;
|
||||
const { fps, scale } = values;
|
||||
let ffmpeg: FFmpeg | null = null;
|
||||
let ffmpegLoaded = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue