Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Apr 8, 2024
1 parent ebaaf0a commit 5ac8cfa
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lvsfunc/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,13 @@ def get_packet_sizes(
raise DependencyNotFoundError(func, "ffprobe", "Could not find {package}! Make sure it's in your PATH!")

# Largely taken from bitrate-viewer.
proc = sp.Popen([
"ffprobe", "-hide_banner", "-show_frames", "-show_streams", "-threads", str(core.num_threads),
"-loglevel", "quiet", "-print_format", "json", "-select_streams", "v:0",
sfilepath
], stdout=sp.PIPE
proc = sp.Popen(
[
"ffprobe", "-hide_banner", "-show_frames", "-show_streams", "-threads", str(core.num_threads),
"-loglevel", "quiet", "-print_format", "json", "-select_streams", "v:0",
sfilepath
],
stdout=sp.PIPE
)

with NamedTemporaryFile("a+", delete=False) as tempfile:
Expand Down

0 comments on commit 5ac8cfa

Please sign in to comment.