play_bytes: Add docstring.
This commit is contained in:
parent
4e76f01ecc
commit
b6ab5a4ab0
1 changed files with 1 additions and 0 deletions
1
mpv.py
1
mpv.py
|
|
@ -1982,6 +1982,7 @@ class MPV(object):
|
|||
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)}'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue