We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a2e223 commit eba917aCopy full SHA for eba917a
1 file changed
src/ffmpegio/caps.py
@@ -858,7 +858,7 @@ def _get_filter_pad_info(str):
858
elif str.startswith(" none"):
859
return None
860
861
- matches = re.finditer(r" #\d+: (\S+)(?= \() \((\S+)\)\s*?\n", str)
+ matches = re.finditer(r" #\d+: (\S+)(?= \() \((\S+)\)\s*?(?:\n|$)", str)
862
if not matches:
863
raise Exception("Failed to parse filter port info: %s" % str)
864
return [{"name": m[1], "type": m[2]} for m in matches]
0 commit comments