Skip to content

Commit

Permalink
Respond to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed Oct 22, 2024
1 parent 54b40dc commit 51882d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions binaries/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
streamer_binaries.__name__: platform_binaries,
},
install_requires=[
# This is only used for Linux, and only supports Linux, but can be
# installed on all platforms and won't crash if imported or run.
'distro',
# This is only used for Linux, and only supports Linux.
'distro;platform_system=="Linux"',
],
)
2 changes: 1 addition & 1 deletion binaries/streamer_binaries/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
if _os == 'linux':
if distro.id() == 'ubuntu':
if distro.version() in _ubuntu_versions_with_hw_encoders:
suffix = '-ubuntu-{}'.format(distro.version())
suffix = '-ubuntu-' + distro.version()
ffmpeg += suffix
ffprobe += suffix

0 comments on commit 51882d0

Please sign in to comment.