#1991·ODM

Incorrect zero check when parsing latitude/longitude/altitude

Author: smathermatherCreated Feb 4, 2026Updated Feb 4, 2026

Via this post,

File: opendm/video/srtparser.py The following condition compares a string to an integer and therefore always evaluates to True: lambda v: float(v) if v != 0 else None Suggested fix:

fv = float(v)
return fv if fv != 0 else None