Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
proper fallback to ffmpeg if oggdec isn't available on the system
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Feb 5, 2019
1 parent 9d576ce commit 37a4a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bouldercaves/audio.py
Expand Up @@ -52,8 +52,8 @@ def prepare_oggdec_exe():
try:
if not prepare_oggdec_exe():
subprocess.call("oggdec", stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
streaming.AudiofileToWavStream.ffprobe_executable = "" # force use of oggdec instead of ffmpeg
streaming.AudiofileToWavStream.ffmpeg_executable = "" # force use of oggdec instead of ffmpeg
streaming.AudiofileToWavStream.ffprobe_executable = "" # force use of oggdec instead of ffmpeg
streaming.AudiofileToWavStream.ffmpeg_executable = "" # force use of oggdec instead of ffmpeg
except IOError:
# no oggdec, stick with ffmpeg
pass
Expand Down

0 comments on commit 37a4a1c

Please sign in to comment.