Skip to content

Commit

Permalink
Merge pull request #100 from mfreiwald/fix-video-decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterJ93 authored Jan 20, 2025
2 parents 5885fad + ab69413 commit 45c0c57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ extension ATProtoBluesky {
imageData: caption.file
)

captionReferences.append(AppBskyLexicon.Embed.VideoDefinition.Caption(language: caption.language, fileBlob: blobReference.blob))
captionReferences.append(AppBskyLexicon.Embed.VideoDefinition.Caption(language: caption.language.identifier, fileBlob: blobReference.blob))
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ extension AppBskyLexicon.Embed {
public let type: String = "app.bsky.embed.video#caption"

/// The language the captions are written in.
public let language: Locale
public let language: String

/// The caption file itself.
///
Expand Down

0 comments on commit 45c0c57

Please sign in to comment.