Skip to content

Commit

Permalink
play_bytes: Add docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaseg committed Jan 22, 2024
1 parent 4e76f01 commit b6ab5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1982,6 +1982,7 @@ def write(chunk):
q.put(EOF)

def play_bytes(self, data):
""" Play the given bytes object as a single file. """
frame = sys._getframe()
stream_name = f'__python_mpv_play_generator_{hash(frame)}'

Expand Down

0 comments on commit b6ab5a4

Please sign in to comment.