Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 21, 2024
1 parent e8f7015 commit ac7ab6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sticker_convert/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,9 @@ def _frames_import_pyav(self) -> None:
if context.name == "vp8":
context = cast(VideoCodecContext, CodecContext.create("libvpx", "r"))
elif context.name == "vp9":
context = cast(VideoCodecContext, CodecContext.create("libvpx-vp9", "r"))
context = cast(
VideoCodecContext, CodecContext.create("libvpx-vp9", "r")
)

for packet in container.demux(container.streams.video):
for frame in context.decode(packet):
Expand Down

0 comments on commit ac7ab6f

Please sign in to comment.