decode stdout

This commit is contained in:
j 2016-09-03 10:03:58 +02:00
parent 83de14ffea
commit 0a36713487
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ def supported_formats():
p = subprocess.Popen([command('ffmpeg'), '-codecs'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = p.communicate()
stdout = stdout.decode()
return {
# 'ogg': 'libtheora' in stdout and 'libvorbis' in stdout,
'webm': 'libvpx' in stdout and 'libvorbis' in stdout,