Fix popular typos (#355)

This commit is contained in:
Christian Muehlhaeuser
2020-11-12 23:57:24 +01:00
committed by GitHub
parent cfb031a15c
commit 8f921fbfde
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ func (s *S3Storage) SegmentWritten(localFilePath string) {
// VariantPlaylistWritten is called when a variant hls playlist is written
func (s *S3Storage) VariantPlaylistWritten(localFilePath string) {
// We are uploading the variant playlist after uploading the segment
// to make sure we're not refering to files in a playlist that don't
// to make sure we're not referring to files in a playlist that don't
// yet exist. See SegmentWritten.
if _, ok := _queuedPlaylistUpdates[localFilePath]; ok {
_, err := s.Save(localFilePath, 0)