From 376e46770c5ff81c0a5ce11a5dac31c0b8ccd1b7 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 31 Jul 2021 09:34:56 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - converter/avcodecs.py - converter/ffmpeg.py Fixes: - Should read `thumbnail` rather than `thumbnal`. - Should read `necessary` rather than `neccessary`. --- converter/avcodecs.py | 2 +- converter/ffmpeg.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/converter/avcodecs.py b/converter/avcodecs.py index 1c853f9..8110551 100644 --- a/converter/avcodecs.py +++ b/converter/avcodecs.py @@ -546,7 +546,7 @@ class MpegCodec(VideoCodec): # is not correctly preserved, so we have to set it # again in vf; take care to put it *before* crop/pad, so # it uses the same adjusted dimensions as the codec itself - # (pad/crop will adjust it further if neccessary) + # (pad/crop will adjust it further if necessary) def _codec_specific_parse_options(self, safe): w = safe['width'] h = safe['height'] diff --git a/converter/ffmpeg.py b/converter/ffmpeg.py index 6b14133..7287c98 100644 --- a/converter/ffmpeg.py +++ b/converter/ffmpeg.py @@ -499,7 +499,7 @@ def on_sigalrm(*_): def thumbnail(self, fname, time, outfile, size=None, quality=DEFAULT_JPEG_QUALITY): """ - Create a thumbnal of media file, and store it to outfile + Create a thumbnail of media file, and store it to outfile @param time: time point (in seconds) (float or int) @param size: Size, if specified, is WxH of the desired thumbnail. If not specified, the video resolution is used.