Skip to content

Commit

Permalink
Add patch to fix typo in wagtailvideos
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jan 19, 2021
1 parent c7db536 commit 026d0b4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions patches/Fix-typo-in-ogg-media-format-description.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From a34ec1288a11bd5e27ccc9f693da47c1692f973d Mon Sep 17 00:00:00 2001
From: Donald Buczek <buczek@molgen.mpg.de>
Date: Tue, 19 Jan 2021 14:44:32 +0100
Subject: [PATCH] Fix typo in ogg media format description

https://github.com/neon-jungle/wagtailvideos/pull/50
---
lib/python3.7/site-packages/wagtailvideos/models.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/python3.7/site-packages/wagtailvideos/models.py b/lib/python3.7/site-packages/wagtailvideos/models.py
index 75c8e0e..c0ab41b 100644
--- a/lib/python3.7/site-packages/wagtailvideos/models.py
+++ b/lib/python3.7/site-packages/wagtailvideos/models.py
@@ -47,7 +47,7 @@ class VideoQuality(ChoiceEnum):
class MediaFormats(ChoiceEnum):
webm = 'VP8 and Vorbis in WebM'
mp4 = 'H.264 and MP3 in Mp4'
- ogg = 'Theora and Voris in Ogg'
+ ogg = 'Theora and Vorbis in Ogg'

def get_quality_param(self, quality):
if self is MediaFormats.webm:
--
2.26.2

0 comments on commit 026d0b4

Please sign in to comment.