Skip to content

Commit

Permalink
FIx typing for OutputContainer.add_stream
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Mar 5, 2024
1 parent ad5e81b commit 22cc52f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions av/container/output.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class OutputContainer(Container):
def __enter__(self) -> OutputContainer: ...
def add_stream(
self,
codec_name: str,
rate: Fraction | int | float,
template: Stream,
options: dict[str, str],
codec_name: str | None = None,
rate: Fraction | int | float | None = None,
template: Stream | None = None,
options: dict[str, str] | None = None,
) -> Stream: ...
def start_encoding(self) -> None: ...
def close(self) -> None: ...
Expand Down

0 comments on commit 22cc52f

Please sign in to comment.