Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78ed664

Browse files
author
Xavier TOLZA
committed
added one missing ignore
1 parent 967d838 commit 78ed664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffprobe/ffprobe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(self, path_to_video):
6868
stream_metadata_met = False
6969

7070
for line in iter(p.stderr.readline, b''):
71-
line = line.decode('UTF-8')
71+
line = line.decode('UTF-8', 'ignore')
7272

7373
if 'Metadata:' in line and not stream_metadata_met:
7474
is_metadata = True

0 commit comments

Comments
 (0)