Skip to content

Commit

Permalink
Improve stub in av.data
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Mar 4, 2024
1 parent 18bc34b commit 091ba62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions av/data/stream.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ from av.packet import Packet
from av.stream import Stream

class DataStream(Stream):
type = "data"

def encode(self, frame: Frame | None = None) -> list[Packet]: ...
def decode(self, packet: Packet | None = None, count: int = 0) -> list[Frame]: ...

0 comments on commit 091ba62

Please sign in to comment.