diff --git a/av/filter/context.pyi b/av/filter/context.pyi index d37febdb9..2350019f3 100644 --- a/av/filter/context.pyi +++ b/av/filter/context.pyi @@ -10,7 +10,7 @@ class FilterContext: ) -> None: ... @property def graph(self) -> Graph: ... - def push(self, frame: Frame) -> None: ... + def push(self, frame: Frame | None) -> None: ... def pull(self) -> Frame: ... def process_command( self, cmd: str, arg: str | None = None, res_len: int = 1024, flags: int = 0 diff --git a/av/video/frame.pyi b/av/video/frame.pyi index c6868aabc..a7575e3bd 100644 --- a/av/video/frame.pyi +++ b/av/video/frame.pyi @@ -30,7 +30,6 @@ class PictureType(IntEnum): class VideoFrame(Frame): format: VideoFormat - pts: int planes: tuple[VideoPlane, ...] pict_type: int colorspace: int