8000 Fix `heigth` -> `height` typo (#596) · kkroening/ffmpeg-python@fc41f4a · GitHub
[go: up one dir, main page]

Skip to content

Commit fc41f4a

Browse files
ljhcagekkroening
andauthored
Fix heigth -> height typo (#596)
Co-authored-by: Karl Kroening <karlk@kralnet.us>
1 parent 6189cd6 commit fc41f4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/html/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h1>ffmpeg-python: Python bindings for FFmpeg<a class="headerlink" href="#ffmpeg
168168
<dt id="ffmpeg.compile">
169169
<code class="sig-prename descclassname">ffmpeg.</code><code class="sig-name descname">compile</code><span class="sig-paren">(</span><em class="sig-param">stream_spec</em>, <em class="sig-param">cmd='ffmpeg'</em>, <em class="sig-param">overwrite_output=False</em><span class="sig-paren">)</span><a class="headerlink" href="#ffmpeg.compile" title="Permalink to this definition"></a></dt>
170170
<dd><p>Build command-line for invoking ffmpeg.</p>
171-
<p>The <a class="reference internal" href="#ffmpeg.run" title="ffmpeg.run"><code class="xref py py-meth docutils literal notranslate"><span class="pre">run()</span></code></a> function uses this to build the commnad line
171+
<p>The <a class="reference internal" href="#ffmpeg.run" title="ffmpeg.run"><code class="xref py py-meth docutils literal notranslate"><span class="pre">run()</span></code></a> function uses this to build the command line
172172
arguments and should work in most cases, but calling this function
173173
directly is useful for debugging or if you need to invoke ffmpeg
174174
manually for whatever reason.</p>
@@ -340,7 +340,7 @@ <h1>ffmpeg-python: Python bindings for FFmpeg<a class="headerlink" href="#ffmpeg
340340
<li><p><strong>y</strong> – The vertical position, in the input video, of the top edge of the
341341
output video.</p></li>
342342
<li><p><strong>width</strong> – The width of the output video. Must be greater than 0.</p></li>
343-
<li><p><strong>heigth</strong> – The height of the output video. Must be greater than 0.</p></li>
343+
<li><p><strong>height</strong> – The height of the output video. Must be greater than 0.</p></li>
344344
</ul>
345345
</dd>
346346
</dl>
@@ -357,7 +357,7 @@ <h1>ffmpeg-python: Python bindings for FFmpeg<a class="headerlink" href="#ffmpeg
357357
<li><p><strong>x</strong> – The expression which specifies the top left corner x coordinate of the box. It defaults to 0.</p></li>
358358
<li><p><strong>y</strong> – The expression which specifies the top left corner y coordinate of the box. It defaults to 0.</p></li>
359359
<li><p><strong>width</strong> – Specify the width of the box; if 0 interpreted as the input width. It defaults to 0.</p></li>
360-
<li><p><strong>heigth</strong> – Specify the height of the box; if 0 interpreted as the input height. It defaults to 0.</p></li>
360+
<li><p><strong>height</strong> – Specify the height of the box; if 0 interpreted as the input height. It defaults to 0.</p></li>
361361
<li><p><strong>color</strong> – Specify the color of the box to write. For the general syntax of this option, check the “Color” section
362362
in the ffmpeg-utils manual. If the special value invert is used, the box edge color is the same as the
363363
video with inverted luma.</p></li>

ffmpeg/_filters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def crop(stream, x, y, width, height, **kwargs):
193193
y: The vertical position, in the input video, of the top edge of the
194194
output video.
195195
width: The width of the output video. Must be greater than 0.
196-
heigth: The height of the output video. Must be greater than 0.
196+
height: The height of the output video. Must be greater than 0.
197197
198198
Official documentation: `crop <https://ffmpeg.org/ffmpeg-filters.html#crop>`__
199199
"""
@@ -213,7 +213,7 @@ def drawbox(stream, x, y, width, height, color, thickness=None, **kwargs):
213213
It defaults to 0.
214214
width: Specify the width of the box; if 0 interpreted as the input width. It
215215
defaults to 0.
216-
heigth: Specify the height of the box; if 0 interpreted as the input height. It
216+
height: Specify the height of the box; if 0 interpreted as the input height. It
217217
defaults to 0.
218218
color: Specify the color of the box to write. For the general syntax of this
219219
option, check the "Color" section in the ffmpeg-utils manual. If the

0 commit comments

Comments
 (0)
0