PyAV-Org / PyAV

Pythonic bindings for FFmpeg's libraries.
https://pyav.basswood-io.com/
BSD 3-Clause "New" or "Revised" License
2.39k stars 354 forks source link

Add Graph.vpush() and Graph.vpull() #1442

Closed WyattBlue closed 3 weeks ago

jlaine commented 2 weeks ago

No tests, no docstrings, no changelog entry?

What does this do and why do we need it?

WyattBlue commented 2 weeks ago

Mostly to solve (expression has type "VideoFrame | AudioFrame", variable has type "VideoFrame") type errors when using the normal push and pull without having to use cast.