mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-08-10 21:20:08 +08:00
Fix codestyle
This commit is contained in:
parent
2bde94cf33
commit
5e5b88818f
@ -329,8 +329,14 @@ def run(
|
|||||||
|
|
||||||
@output_operator()
|
@output_operator()
|
||||||
async def run_asyncio(
|
async def run_asyncio(
|
||||||
stream_spec, cmd='ffmpeg', pipe_stdin=False, pipe_stdout=False, pipe_stderr=False,
|
stream_spec,
|
||||||
quiet=False, overwrite_output=False):
|
cmd='ffmpeg',
|
||||||
|
pipe_stdin=False,
|
||||||
|
pipe_stdout=False,
|
||||||
|
pipe_stderr=False,
|
||||||
|
quiet=False,
|
||||||
|
overwrite_output=False,
|
||||||
|
):
|
||||||
"""Asynchronously invoke ffmpeg in asyncio sync/await style and return coroutine.
|
"""Asynchronously invoke ffmpeg in asyncio sync/await style and return coroutine.
|
||||||
Have the same possibilities as `run_async` call.
|
Have the same possibilities as `run_async` call.
|
||||||
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import asyncio
|
|
||||||
|
|
||||||
from builtins import bytes
|
from builtins import bytes
|
||||||
from builtins import range
|
from builtins import range
|
||||||
from builtins import str
|
from builtins import str
|
||||||
@ -12,6 +10,7 @@ import random
|
|||||||
import re
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
import asyncio
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user