Open goulou opened 5 months ago
bool(conf.get('FFmpeg', 'HW_TRANSCODING') always return True, as bool("False") == True. One should use the built-in function "getboolean" from configparser :
bool(conf.get('FFmpeg', 'HW_TRANSCODING')
bool("False") == True
if conf.getboolean('FFmpeg', 'HW_TRANSCODING'):
Will try to make a PR.
line 116 and 33 of ffmpeg_commands.py
ffmpeg_commands.py
bool(conf.get('FFmpeg', 'HW_TRANSCODING')
always return True, asbool("False") == True
. One should use the built-in function "getboolean" from configparser :if conf.getboolean('FFmpeg', 'HW_TRANSCODING'):
Will try to make a PR.