Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia committed Feb 6, 2025
1 parent 765f5b5 commit d3ef9cd
Show file tree
Hide file tree
Showing 19 changed files with 551 additions and 520 deletions.
4 changes: 2 additions & 2 deletions src/ffmpeg/dag/global_runnable/global_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from abc import ABC, abstractmethod
from typing import TYPE_CHECKING, Any

from ...types import Boolean, Float, Func, Int
from ...types import Boolean, Float, Func, Int, Value

if TYPE_CHECKING:
from ..nodes import GlobalNode, GlobalStream, OutputStream
Expand Down Expand Up @@ -63,7 +63,7 @@ def global_args(
adrift_threshold: Func = None,
qphist: Func = None,
vsync: Func = None,
extra_options: dict[str, Any] = None,
extra_options: dict[str, Value] = None,
) -> GlobalStream:
"""
Set global options.
Expand Down
5 changes: 2 additions & 3 deletions src/ffmpeg/dag/io/_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@


from pathlib import Path
from typing import Any

from ...streams.av import AVStream
from ...types import Boolean, Double, Float, Int, String, Time
from ...types import Boolean, Double, Float, Int, String, Time, Value
from ..nodes import InputNode


Expand Down Expand Up @@ -64,7 +63,7 @@ def input(
dcodec: String = None,
dn: Boolean = None,
top: Int = None,
extra_options: dict[str, Any] = None,
extra_options: dict[str, Value] = None,
) -> AVStream:
"""
Input file URL (ffmpeg ``-i`` option)
Expand Down
5 changes: 2 additions & 3 deletions src/ffmpeg/dag/io/_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@


from pathlib import Path
from typing import Any

from ...types import Boolean, Float, Func, Int, Int64, String, Time
from ...types import Boolean, Float, Func, Int, Int64, String, Time, Value
from ..nodes import FilterableStream, OutputNode, OutputStream


Expand Down Expand Up @@ -105,7 +104,7 @@ def output(
dcodec: String = None,
dn: Boolean = None,
top: Int = None,
extra_options: dict[str, Any] = None,
extra_options: dict[str, Value] = None,
) -> OutputStream:
"""
Output file URL
Expand Down
4 changes: 2 additions & 2 deletions src/ffmpeg/dag/io/output_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pathlib import Path
from typing import TYPE_CHECKING, Any

from ...types import Boolean, Float, Func, Int, Int64, String, Time
from ...types import Boolean, Float, Func, Int, Int64, String, Time, Value

if TYPE_CHECKING:
from ..nodes import FilterableStream, OutputNode, OutputStream
Expand Down Expand Up @@ -114,7 +114,7 @@ def output(
dcodec: String = None,
dn: Boolean = None,
top: Int = None,
extra_options: dict[str, Any] = None,
extra_options: dict[str, Value] = None,
) -> OutputStream:
"""
Output file URL
Expand Down
Loading

0 comments on commit d3ef9cd

Please sign in to comment.