[postprocessor/embedthumbnail] include stdout on atomicparsley error

This commit is contained in:
kikuyan 2021-07-17 14:36:14 +09:00
parent a803582717
commit 33f79e9db2

View File

@ -112,7 +112,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
stdout, stderr = p.communicate() stdout, stderr = p.communicate()
if p.returncode != 0: if p.returncode != 0:
msg = stderr.decode('utf-8', 'replace').strip() msg = (stdout + stderr).decode('utf-8', 'replace').strip()
raise EmbedThumbnailPPError(msg) raise EmbedThumbnailPPError(msg)
if not self._already_have_thumbnail: if not self._already_have_thumbnail: