Fix show_text level default parameter
This commit is contained in:
parent
20ec2a74b8
commit
91422de05a
1 changed files with 1 additions and 1 deletions
2
mpv.py
2
mpv.py
|
|
@ -1390,7 +1390,7 @@ class MPV(object):
|
||||||
"""Mapped mpv print-text command, see man mpv(1)."""
|
"""Mapped mpv print-text command, see man mpv(1)."""
|
||||||
self.command('print-text', text)
|
self.command('print-text', text)
|
||||||
|
|
||||||
def show_text(self, string, duration='-1', level=None):
|
def show_text(self, string, duration='-1', level=0):
|
||||||
"""Mapped mpv show_text command, see man mpv(1)."""
|
"""Mapped mpv show_text command, see man mpv(1)."""
|
||||||
self.command('show_text', string, duration, level)
|
self.command('show_text', string, duration, level)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue